1
0
Fork 0

nvim: ;cl copy filename with line number

This commit is contained in:
Jeremy Kaplan 2021-11-23 10:18:30 -08:00
commit a6a95bddac

View file

@ -302,6 +302,7 @@ autocmd BufNewFile,BufRead *.hurl set filetype=hurl
autocmd FileType ledger nmap <silent> <leader>' :call ledger#transaction_state_toggle(line('.'), ' !*')<CR>
nmap ;cc :let @+=expand("%")<CR>
nmap ;cl :let @+=join([expand("%"), line(".")], ":")<CR>
nmap ;cp :let @+=expand("%:p")<CR>
" For some reason, (neo)vim sees <C-/> as <C-_>, so bind that instead.