updated vimrc

This commit is contained in:
2025-07-23 22:13:16 -04:00
parent 0013f8e094
commit f40e0e7acf
+13 -3
View File
@@ -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