mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update nvim
This commit is contained in:
parent
fef35c3ef0
commit
f20307981c
5 changed files with 36 additions and 12 deletions
|
|
@ -1,10 +1,11 @@
|
|||
ino jk <esc>
|
||||
nno <C-s> :w<cr>
|
||||
nno <C-p> :GFiles<cr>
|
||||
nno <space> :noh<cr>
|
||||
nno <leader>t :Term<cr>
|
||||
nno <leader>e :NvimTreeToggle<cr>
|
||||
nno <leader>; :Files<cr>
|
||||
nno <leader>d :Neogit<cr>
|
||||
nno <leader>g :Neogit<cr>
|
||||
|
||||
" Buffer
|
||||
nno <leader>j :bn<cr>
|
||||
|
|
@ -20,8 +21,6 @@ nno sh :lua vim.lsp.buf.hover()<cr>
|
|||
nno sd :lua vim.lsp.buf.definition()<cr>
|
||||
nno sa :lua vim.lsp.buf.code_action()<cr>
|
||||
nno si :lua vim.lsp.buf.implementation()<cr>
|
||||
nno sf :lua vim.lsp.buf.formatting()
|
||||
nno sR :lua vim.lsp.buf.references()<CR>
|
||||
|
||||
" Split
|
||||
nno <C-h> :winc h<cr>
|
||||
|
|
@ -29,6 +28,11 @@ nno <C-j> :winc j<cr>
|
|||
nno <C-k> :winc k<cr>
|
||||
nno <C-l> :winc l<cr>
|
||||
|
||||
nno <A-h> :vert res +3<cr>
|
||||
nno <A-j> :res -3<cr>
|
||||
nno <A-k> :res +3<cr>
|
||||
nno <A-l> :vert res -3<cr>
|
||||
|
||||
nno spv :vs<cr>
|
||||
nno sph :sp<cr>
|
||||
nno spk :winc K<cr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue