better vimrc

This commit is contained in:
2023-11-08 14:28:41 +00:00
parent 0e6991a129
commit 4d274ca876

View File

@@ -1,6 +1,8 @@
set autoindent expandtab tabstop=4 shiftwidth=4
set hidden
nnoremap <C-S> :w<cr>
nnoremap <C-l> :bn<cr>
nnoremap <C-h> :bp<cr>
inoremap <C-S> <esc>:w<cr>i
let mapleader=" "
nnoremap <leader>w :w<cr>:bw<cr>