.vimrc
This commit is contained in:
parent
2754dcd8ea
commit
0cbcbd89d6
27
.vimrc
Normal file
27
.vimrc
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
"VIEW config
|
||||||
|
syntax off
|
||||||
|
filetype off
|
||||||
|
set number
|
||||||
|
|
||||||
|
"INDENT config
|
||||||
|
"filetype plugin indent on
|
||||||
|
"" show existing tab with 4 spaces width
|
||||||
|
"set tabstop=4
|
||||||
|
"
|
||||||
|
"" when indenting with '>', use 4 spaces width
|
||||||
|
"set shiftwidth=4
|
||||||
|
"
|
||||||
|
"" On pressing tab, insert 4 spaces
|
||||||
|
"set expandtab
|
||||||
|
|
||||||
|
"MACROS config
|
||||||
|
vnoremap <C-r> "hy:%s/<C-r>h//gc<left><left><left>
|
||||||
|
|
||||||
|
"LaTEX config
|
||||||
|
vnoremap <C-b> c{\bfseries <C-r>"}<Esc>
|
||||||
|
|
||||||
|
"PLUGIN config
|
||||||
|
let g:NERDTreeNodeDelimiter = "\u00a0"
|
||||||
|
execute "set <M-n>=\en"
|
||||||
|
nnoremap <M-n> :NERDTree<CR>
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user