vimrc: show full path on <c-g>

This commit is contained in:
surtur 2022-07-22 19:09:49 +02:00
parent cbc8030754
commit 4ead399fb2
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -420,6 +420,8 @@ command! -nargs=* Make write | make! <args> | cwindow
command Note execute 'e ~/Sync/notes/' . strftime('%y-%m-%d-%H:%M:%S') . '.md' command Note execute 'e ~/Sync/notes/' . strftime('%y-%m-%d-%H:%M:%S') . '.md'
command LocalNote execute 'e ./' . strftime('%y-%m-%d-%H:%M:%S') . '.md' command LocalNote execute 'e ./' . strftime('%y-%m-%d-%H:%M:%S') . '.md'
" always show full path on <c-g>
nnoremap <c-g> 1<c-g>
" open a terminal in $PWD " open a terminal in $PWD
nnoremap <silent> <Leader>tt :terminal<CR> nnoremap <silent> <Leader>tt :terminal<CR>
" terminal normal mode " terminal normal mode