Hacker Newsnew | comments | show | ask | jobs | submit login

    "_
is the "blackhole" register.

Add these lines to your ~/.vimrc:

    nnoremap <leader>d "_d
    vnoremap <leader>d "_d
and enjoy "real" deletion.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: