nvim: cleanup, return git plugins and better default theme

This commit is contained in:
Grigory Shipunov 2021-02-09 21:55:17 +01:00
parent 20672d2c7a
commit 22a63e84f7
No known key found for this signature in database
GPG key ID: 77BB6C3E4771EE7C

View file

@ -11,6 +11,14 @@ call plug#begin('~/.local/share/nvim/plugged')
Plug 'tpope/vim-sleuth' Plug 'tpope/vim-sleuth'
Plug 'ntpeters/vim-better-whitespace' Plug 'ntpeters/vim-better-whitespace'
" Interface
Plug 'tpope/vim-vinegar'
Plug 'jeffkreeftmeijer/vim-dim'
" Git
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
"Better syntax "Better syntax
Plug 'lervag/vimtex', {'for': 'tex'} Plug 'lervag/vimtex', {'for': 'tex'}
Plug 'vivien/vim-linux-coding-style' Plug 'vivien/vim-linux-coding-style'
@ -19,12 +27,14 @@ Plug 'vim-python/python-syntax'
Plug 'rust-lang/rust.vim', {'for': 'rust'} Plug 'rust-lang/rust.vim', {'for': 'rust'}
Plug 'dag/vim-fish', {'for': 'fish'} Plug 'dag/vim-fish', {'for': 'fish'}
Plug 'LnL7/vim-nix', {'for': 'nix'} Plug 'LnL7/vim-nix', {'for': 'nix'}
Plug 'chikamichi/mediawiki.vim' Plug 'chikamichi/mediawiki.vim', { 'for' : 'wiki' }
Plug 'cespare/vim-toml' Plug 'cespare/vim-toml'
Plug 'JuliaEditorSupport/julia-vim', { 'for' : 'julia' }
call plug#end() call plug#end()
"" TeX and co stuff colorscheme dim
" disable TeX commands concealing " disable TeX commands concealing
let g:tex_conceal = '' let g:tex_conceal = ''
@ -32,33 +42,30 @@ let g:tex_conceal = ''
let mapleader = "\<Space>" let mapleader = "\<Space>"
let maplocalleader = "\\" let maplocalleader = "\\"
" set line numbering
set number set number
" Set place for backups
set nobackup set nobackup
" Swap for slacks
set noswapfile set noswapfile
" autosmartident " autosmartident
set ai set ai
set si set si
" Expand tabs to spaces
set tabstop=4 set tabstop=4
set shiftwidth=4 set shiftwidth=4
set softtabstop=4 set softtabstop=4
set noexpandtab set noexpandtab
" show indentation
set list set list
" Enlarge your Undo! " arrows for visual line identation
imap <up> <C-O>gk
imap <down> <C-O>gj
nmap <up> gk
nmap <down> gj
vmap <up> gk
vmap <down> gj
set history=999 set history=999
set undolevels=999 set undolevels=999
" Copying and pasting
" Copy to clipboard " Copy to clipboard
vnoremap <leader>y "+y vnoremap <leader>y "+y
nnoremap <leader>Y "+yg_ nnoremap <leader>Y "+yg_
@ -70,7 +77,6 @@ nnoremap <leader>P "+P
vnoremap <leader>p "+p vnoremap <leader>p "+p
vnoremap <leader>P "+P vnoremap <leader>P "+P
" Update more often
set updatetime=107 set updatetime=107
" Activate linux coding style helper only in certain dirs " Activate linux coding style helper only in certain dirs
@ -97,5 +103,3 @@ nnoremap U :echo "NOPE!"<CR>
" do not conceal stuff " do not conceal stuff
set conceallevel=0 set conceallevel=0
set laststatus=1