.vimrc upd

This commit is contained in:
gre-ilya 2025-05-14 09:31:57 +05:00
parent 0cbcbd89d6
commit 7ee80da6ea

9
.vimrc
View File

@ -4,18 +4,19 @@
set number
"INDENT config
"filetype plugin indent on
filetype plugin indent on
"" show existing tab with 4 spaces width
"set tabstop=4
set tabstop=4
"
"" when indenting with '>', use 4 spaces width
"set shiftwidth=4
set shiftwidth=4
"
"" On pressing tab, insert 4 spaces
"set expandtab
set expandtab
"MACROS config
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>
nnoremap <C-S> :w<CR>
"LaTEX config
vnoremap <C-b> c{\bfseries <C-r>"}<Esc>