updated .vimrc
This commit is contained in:
parent
793a08c189
commit
700e1eab00
14
.vimrc
14
.vimrc
@ -7,7 +7,7 @@ set number
|
|||||||
"INDENT config
|
"INDENT config
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
"" show existing tab with 8 spaces width
|
"" show existing tab with 8 spaces width
|
||||||
set tabstop=8
|
set tabstop=4
|
||||||
"
|
"
|
||||||
"" when indenting with '>', use 4 spaces width
|
"" when indenting with '>', use 4 spaces width
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
@ -23,7 +23,10 @@ nnoremap <C-S> :w<CR>
|
|||||||
|
|
||||||
|
|
||||||
"LaTEX config
|
"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
|
"PLUGIN config
|
||||||
let g:NERDTreeNodeDelimiter = "\u00a0"
|
let g:NERDTreeNodeDelimiter = "\u00a0"
|
||||||
@ -109,6 +112,13 @@ nnoremap <M-n> :NERDTree<CR>
|
|||||||
\begin<CR>
|
\begin<CR>
|
||||||
\end;<Esc>O<BS>
|
\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>
|
:iab pv <Esc>^iprocedure <Esc>eli(<Esc>lxhea);<CR>
|
||||||
\var<CR><ESC>20xi
|
\var<CR><ESC>20xi
|
||||||
\begin<CR>
|
\begin<CR>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user