updated vimrc
This commit is contained in:
@@ -5,6 +5,7 @@ set incsearch
|
|||||||
set hlsearch
|
set hlsearch
|
||||||
set number
|
set number
|
||||||
set relativenumber
|
set relativenumber
|
||||||
|
set virtualedit=all
|
||||||
|
|
||||||
" basic file explorer (p to preview hovered file, ctrl+w,z to close)
|
" basic file explorer (p to preview hovered file, ctrl+w,z to close)
|
||||||
let g:netrw_winsize = 15
|
let g:netrw_winsize = 15
|
||||||
@@ -16,16 +17,15 @@ map <silent> <C-E> :Lexplore<CR>
|
|||||||
|
|
||||||
" indentation
|
" indentation
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set expandtab
|
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
set autoindent
|
set autoindent
|
||||||
set smartindent
|
|
||||||
set list
|
set list
|
||||||
set listchars=multispace:\ \ ▸
|
set listchars=multispace:\ \ ▸
|
||||||
|
|
||||||
" folding
|
" folding
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set foldnestmax=10
|
set foldnestmax=20
|
||||||
nnoremap U :syntax sync fromstart<cr>:redraw!<cr> " fix syntax highlighting glitch
|
nnoremap U :syntax sync fromstart<cr>:redraw!<cr> " fix syntax highlighting glitch
|
||||||
|
|
||||||
" splitting
|
" splitting
|
||||||
@@ -35,3 +35,13 @@ nnoremap <C-J> <C-W><C-J>
|
|||||||
nnoremap <C-K> <C-W><C-K>
|
nnoremap <C-K> <C-W><C-K>
|
||||||
nnoremap <C-L> <C-W><C-L>
|
nnoremap <C-L> <C-W><C-L>
|
||||||
nnoremap <C-H> <C-W><C-H>
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user