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

@ -5,6 +5,11 @@ 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')) if empty(glob('~/.local/share/nvim/site/autoload/plug.vim'))
silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
@ -14,13 +19,13 @@ endif
call plug#begin() call plug#begin()
Plug 'psliwka/vim-smoothie' Plug 'psliwka/vim-smoothie'
Plug 'norcalli/nvim-colorizer.lua' Plug 'norcalli/nvim-colorizer.lua'
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'AndrewRadev/bufferize.vim'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
Plug 'neoclide/coc.nvim', {'branch': 'release' } Plug 'neoclide/coc.nvim', {'branch': 'release' }
call plug#end() call plug#end()