From 8eb8654ce20c55731e46dd8b13786d7da8e20213 Mon Sep 17 00:00:00 2001 From: xerus <27jf@pm.me> Date: Mon, 6 Apr 2020 09:34:54 +0200 Subject: [PATCH] Vim: Add buffer bindings --- .config/nvim/init.vim | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d0600d1..8c4fa1e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 +nnoremap +nnoremap +nnoremap 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()