.vimrc cleanup

This commit is contained in:
Daan Vanoverloop 2019-10-16 12:05:20 +02:00
parent c488cf3d75
commit 20a11a6baf
1 changed files with 1 additions and 22 deletions

23
.vimrc
View File

@ -9,10 +9,8 @@ call plug#begin()
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'
Plug 'scrooloose/nerdtree' Plug 'scrooloose/nerdtree'
Plug 'jistr/vim-nerdtree-tabs' Plug 'jistr/vim-nerdtree-tabs'
Plug 'fweep/vim-tabber.git'
Plug 'rhysd/vim-clang-format' Plug 'rhysd/vim-clang-format'
Plug 'kana/vim-operator-user' Plug 'kana/vim-operator-user'
Plug 'https://github.com/antoyo/vim-licenses'
Plug 'rust-lang/rust.vim' Plug 'rust-lang/rust.vim'
Plug 'Shougo/deoplete.nvim' Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp' Plug 'roxma/nvim-yarp'
@ -56,10 +54,6 @@ endfunction
map <F12> <Esc>:call ToggleGUICruft()<cr> map <F12> <Esc>:call ToggleGUICruft()<cr>
set tabline=%!tabber#TabLine()
let g:tabber_filename_style = 'filename' " README.md\
let g:tabber_divider_style = 'compatible'
set number set number
set linebreak set linebreak
set nobackup set nobackup
@ -77,31 +71,16 @@ nnoremap K <nop>
runtime! ftplugin/man.vim runtime! ftplugin/man.vim
nnoremap K :Man <cword> nnoremap K :Man <cword>
noremap <C-S> :update<CR><CR>
vnoremap <C-S> <C-C>:update<CR><CR>
inoremap <C-S> <C-O>:update<CR><CR>
set mouse=a set mouse=a
set nu set nu
let g:clang_format#code_style="webkit" let g:clang_format#code_style="llvm"
set spell spelllang=en_us
set clipboard=unnamed set clipboard=unnamed
set backspace=indent,eol,start " allow backspacing over everything in insert mode set backspace=indent,eol,start " allow backspacing over everything in insert mode
" Allow saving of files as sudo when I forgot to start vim using sudo.
cmap w!! w !sudo tee > /dev/null % cmap w!! w !sudo tee > /dev/null %
"spell checking
" Spell check on
set spell spelllang=en_us
setlocal spell spelllang=en_us
" where it should get the dictionary files
let g:spellfile_URL = 'http://ftp.vim.org/vim/runtime/spell'
set laststatus=2 set laststatus=2
let g:nord_uniform_diff_background = 1 let g:nord_uniform_diff_background = 1
let g:nord_cursor_line_number_background = 1 let g:nord_cursor_line_number_background = 1