updated .vimrc

This commit is contained in:
gre-ilya 2025-10-01 11:09:56 +05:00
parent 793a08c189
commit 700e1eab00

14
.vimrc
View File

@ -7,7 +7,7 @@ set number
"INDENT config
filetype plugin indent on
"" show existing tab with 8 spaces width
set tabstop=8
set tabstop=4
"
"" when indenting with '>', use 4 spaces width
set shiftwidth=4
@ -23,7 +23,10 @@ nnoremap <C-S> :w<CR>
"LaTEX config
vnoremap <C-b> c{\bfseries <C-r>"}<Esc>
" vnoremap <C-b> c{\bfseries <C-r>"}<Esc>
" Put braces
vnoremap <C-b> ␃␃a)␃␃gvo␃␃i(␃␃gvlo␃␃l
"PLUGIN config
let g:NERDTreeNodeDelimiter = "\u00a0"
@ -109,6 +112,13 @@ nnoremap <M-n> :NERDTree<CR>
\begin<CR>
\end;<Esc>O<BS>
:iab piii <Esc>^iprocedure <Esc>eli(<Esc>lxhea,
\<Esc>ea,
\<Esc>ea: integer);<CR>
\var<CR><ESC>20xi
\begin<CR>
\end;<Esc>O<BS>
:iab pv <Esc>^iprocedure <Esc>eli(<Esc>lxhea);<CR>
\var<CR><ESC>20xi
\begin<CR>