Change ,cf to give you the filename relative to your home dir
This commit is contained in:
parent
029a0f06d0
commit
2bf0f5908f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user