From 9e9e8afd5a0d1b5b88f85f33c55a4bdc83dd42b8 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 3 Dec 2020 01:16:01 +0100 Subject: [PATCH] nvim: remove all the rarely used stuff --- config/nvim/init.vim | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 509fe9d..78a3f90 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -12,19 +12,7 @@ Plug 'jamessan/vim-gnupg' " Some config/whitespace automation Plug 'tpope/vim-sleuth' - -" Interface Plug 'ntpeters/vim-better-whitespace' -Plug 'Yggdroot/indentLine' -Plug 'junegunn/goyo.vim', {'on': 'Goyo'} -Plug 'mbbill/undotree', {'on': 'UndotreeToggle'} -Plug 'vim-airline/vim-airline' -Plug 'vim-airline/vim-airline-themes' - -" Navigation -Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } -Plug 'junegunn/fzf.vim' -Plug 'tpope/vim-vinegar' " Git Plug 'airblade/vim-gitgutter' @@ -47,6 +35,8 @@ Plug 'cespare/vim-toml' call plug#end() +set laststatus=1 + "" TeX and co stuff " disable TeX commands concealing let g:tex_conceal = '' @@ -58,23 +48,12 @@ let maplocalleader = "\\" " set line numbering set number -" use arrows for visual line navigation -imap gk -imap gj -nmap gk -nmap gj -vmap gk -vmap gj - " Set place for backups set nobackup " Swap for slacks set noswapfile -" Tagbar -nmap :TagbarToggle - " autosmartident set ai set si @@ -104,10 +83,6 @@ nnoremap P "+P vnoremap p "+p vnoremap P "+P -" fzf.vim -nnoremap :Files -nnoremap b :Buffers - " Update more often set updatetime=107 @@ -130,8 +105,6 @@ nnoremap :set spell! inoremap :set spell! set spellsuggest+=10 -" Toggle UndoTree -nnoremap u :UndotreeToggle " U is quite useless nnoremap U :echo "NOPE!" @@ -143,7 +116,3 @@ let g:deoplete#enable_at_startup = 1 " neomake call neomake#configure#automake('rw', 1000) - -" airline -set noshowmode -let g:airline_theme='monochrome'