vim:keys: Fix typo in comment

This commit is contained in:
2024-10-16 14:29:44 +02:00
parent c7c130f050
commit 908cc494a2

View File

@@ -163,7 +163,7 @@ if exists('g:loaded_fugitive')
" :help :Git_blame) " :help :Git_blame)
nmap <leader>gb :G blame<CR>C nmap <leader>gb :G blame<CR>C
else else
" Move to root of directory " Move to root of repository
" NOTE: only works if a file is already opened " NOTE: only works if a file is already opened
nnoremap <leader>gcd <Cmd>cd %:h <Bar> cd `git rev-parse --show-toplevel`<CR> nnoremap <leader>gcd <Cmd>cd %:h <Bar> cd `git rev-parse --show-toplevel`<CR>
endif endif