nvim: ;cl copy filename with line number
This commit is contained in:
parent
6f523f9d8a
commit
a6a95bddac
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue