Change ,cf to give you the filename relative to your home dir

This commit is contained in:
yan 2012-04-05 10:03:40 -07:00
parent 029a0f06d0
commit 2bf0f5908f

View File

@ -157,7 +157,7 @@ imap <silent> <C-J> <% %><Esc>2hi
" copy current filename into system clipboard - mnemonic: (c)urrent(f)ilename
" this is helpful to paste someone the path you're looking at
nnoremap <silent> ,cf :let @* = expand("%:p")<CR>
nnoremap <silent> ,cf :let @* = expand("%:~")<CR>
"Clear current search highlight by double tapping //
nmap <silent> // :nohlsearch<CR>