vimrc: LocalNote -> NoteLocal cmd

This commit is contained in:
surtur 2022-10-30 03:15:53 +01:00
parent 83cd8a1a55
commit 928ad83ad5
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -530,7 +530,7 @@ command! W execute 'w' | edit!
command! WW execute 'silent w !sudo tee % >/dev/null' | edit! command! WW execute 'silent w !sudo tee % >/dev/null' | edit!
command! -nargs=* Make write | make! <args> | cwindow 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 NoteLocal execute 'e ./' . strftime('%y-%m-%d-%H:%M:%S') . '.md'
" always show full path on <c-g> " always show full path on <c-g>
nnoremap <c-g> 1<c-g> nnoremap <c-g> 1<c-g>