diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ " Tom Ryder (tejr)’s Literate Vimrc " ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ " -" Last updated: Thu, 17 Sep 2020 09:23:14 UTC +" Last updated: Fri, 18 Sep 2020 09:04:53 UTC " " │ And I was lifted up in heart, and thought " │ Of all my late-shown prowess in the lists, @@ -1346,7 +1346,7 @@ nnoremap <Leader>g \ :<C-U>echo expand('%:p')<CR> "" Leader,G changes directory to the current file’s location nnoremap <Leader>G - \ :<C-U>cd %:h<Bar>pwd<CR> + \ :<C-U>cd %:h <Bar> pwd<CR> "" Leader,P creates the path to the current file if it doesn’t exist nnoremap <Leader>P \ :<C-U>call mkdir(expand('%:h'), 'p')<CR> |