add checktime shortcuts to reload files that have been changed outside of vim/neovim
This commit is contained in:
@@ -42,6 +42,7 @@ vim.cmd [[
|
||||
nnoremap <C-x> <Nop>
|
||||
nnoremap ,a <C-a>
|
||||
nnoremap ,x <C-x>
|
||||
nnoremap ,rl :checktime<CR>
|
||||
|
||||
nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]'))<CR>
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ nnoremap ,cu :colder<CR>
|
||||
nnoremap ,h H
|
||||
nnoremap ,l L
|
||||
nnoremap ,t <c-w>v<c-w>l:terminal<CR>a
|
||||
nnoremap ,rl :checktime<CR>
|
||||
nnoremap <c-d> <c-d>zz
|
||||
nnoremap <c-h> <c-w>h
|
||||
nnoremap <c-j> <c-w>j
|
||||
|
||||
Reference in New Issue
Block a user