diff --git a/neovim/init.vim b/neovim/init.vim index ff6da8e..c4e26e1 100644 --- a/neovim/init.vim +++ b/neovim/init.vim @@ -315,6 +315,7 @@ autocmd FileType ledger nmap ' :call ledger#transaction_state_t nmap ;cc :let @+=expand("%") nmap ;cl :let @+=join([expand("%"), line(".")], ":") +nmap ;cg :let @+=join([expand("%"), line(".")], "#L") nmap ;cp :let @+=expand("%:p") " For some reason, (neo)vim sees as , so bind that instead.