diff options
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -5,6 +5,7 @@ set incsearch set hlsearch set number set relativenumber +set virtualedit=all " basic file explorer (p to preview hovered file, ctrl+w,z to close) let g:netrw_winsize = 15 @@ -16,16 +17,15 @@ map <silent> <C-E> :Lexplore<CR> " indentation set tabstop=2 -set expandtab set shiftwidth=2 +set expandtab set autoindent -set smartindent set list set listchars=multispace:\ \ ▸ " folding set foldmethod=indent -set foldnestmax=10 +set foldnestmax=20 nnoremap U :syntax sync fromstart<cr>:redraw!<cr> " fix syntax highlighting glitch " splitting @@ -35,3 +35,13 @@ 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> + +" plugins +call plug#begin() +Plug 'dense-analysis/ale' +Plug 'dylanaraps/wal.vim' +call plug#end() + +" set colorscheme +colorscheme wal + |
