Vim: Add buffer bindings

This commit is contained in:
xerus 2020-04-06 09:34:54 +02:00
parent ae9cbb6df3
commit 8eb8654ce2
1 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,12 @@ cmap w!! w !sudo tee > /dev/null %
set number relativenumber
set clipboard+=unnamedplus
autocmd FileType json syntax match Comment +\/\/.\+$+
autocmd FileType json syntax match Comment +\/\/.\+$+
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
@ -14,13 +19,13 @@ endif
call plug#begin()
Plug 'psliwka/vim-smoothie'
Plug 'norcalli/nvim-colorizer.lua'
Plug 'vim-airline/vim-airline'
Plug 'AndrewRadev/bufferize.vim'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'neoclide/coc.nvim', {'branch': 'release' }
call plug#end()