mirror of
https://github.com/harish2704/dotFiles.git
synced 2026-09-10 15:21:09 +00:00
increase and decrease indent
toggle expandtab
This commit is contained in:
+10
-3
@@ -8,8 +8,8 @@
|
|||||||
map <F8> :TlistToggle<CR>
|
map <F8> :TlistToggle<CR>
|
||||||
nmap <F2> :wa<Bar>exe "mksession! " . v:this_session<CR>
|
nmap <F2> :wa<Bar>exe "mksession! " . v:this_session<CR>
|
||||||
set mouse=a
|
set mouse=a
|
||||||
cmap cwd lcd %:p:h
|
" cmap cwd lcd %:p:h
|
||||||
cmap cd. lcd %:p:h
|
" cmap cd. lcd %:p:h
|
||||||
set timeout timeoutlen=1000 ttimeoutlen=100
|
set timeout timeoutlen=1000 ttimeoutlen=100
|
||||||
: " }
|
: " }
|
||||||
|
|
||||||
@@ -49,6 +49,9 @@
|
|||||||
set expandtab " Tabs are spaces, not tabs
|
set expandtab " Tabs are spaces, not tabs
|
||||||
set tabstop=4 " An indentation every four columns
|
set tabstop=4 " An indentation every four columns
|
||||||
set softtabstop=4 " Let backspace delete indent
|
set softtabstop=4 " Let backspace delete indent
|
||||||
|
nmap <Leader>tt :let &expandtab=!&expandtab<CR>
|
||||||
|
nmap <Leader>tj :let &shiftwidth=&shiftwidth-2\|let &tabstop=&tabstop-2\|let &softtabstop=&softtabstop-2\|echo 'tabstop=' &tabstop<CR>
|
||||||
|
nmap <Leader>tk :let &shiftwidth=&shiftwidth+2\|let &tabstop=&tabstop+2\|let &softtabstop=&softtabstop+2\|echo 'tabstop=' &tabstop<CR>
|
||||||
" }
|
" }
|
||||||
|
|
||||||
" for java {
|
" for java {
|
||||||
@@ -148,10 +151,13 @@
|
|||||||
Bundle 'amirh/HTML-AutoCloseTag'
|
Bundle 'amirh/HTML-AutoCloseTag'
|
||||||
Bundle 'tpope/vim-surround'
|
Bundle 'tpope/vim-surround'
|
||||||
Bundle 'vim-scripts/AutoComplPop'
|
Bundle 'vim-scripts/AutoComplPop'
|
||||||
|
" Bundle 'Shougo/eocomplcache'
|
||||||
Bundle 'spf13/vim-autoclose'
|
Bundle 'spf13/vim-autoclose'
|
||||||
Bundle 'scrooloose/nerdtree'
|
Bundle 'scrooloose/nerdtree'
|
||||||
Bundle 'harish2704/harish2704-vim'
|
Bundle 'harish2704/harish2704-vim'
|
||||||
" Bundle 'Shougo/neocomplcache'
|
" Bundle 'Shougo/neocomplcache'
|
||||||
|
Bundle 'digitaltoad/vim-jade'
|
||||||
|
Bundle 'mustache/vim-mode'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -159,6 +165,7 @@
|
|||||||
Bundle 'honza/vim-snippets'
|
Bundle 'honza/vim-snippets'
|
||||||
" Bundle 'int3/vim-taglist-plus'
|
" Bundle 'int3/vim-taglist-plus'
|
||||||
Bundle 'vim-scripts/EasyGrep'
|
Bundle 'vim-scripts/EasyGrep'
|
||||||
|
Bundle 'briancollins/vim-jst'
|
||||||
Bundle 'vim-scripts/matchit.zip'
|
Bundle 'vim-scripts/matchit.zip'
|
||||||
Bundle 'vim-scripts/adt.vim'
|
Bundle 'vim-scripts/adt.vim'
|
||||||
" Bundle 'tpope/eclim'
|
" Bundle 'tpope/eclim'
|
||||||
@@ -237,7 +244,7 @@
|
|||||||
" }
|
" }
|
||||||
|
|
||||||
" gides {
|
" gides {
|
||||||
let g:indent_guides_start_level = 2
|
" let g:indent_guides_start_level = 2
|
||||||
let g:indent_guides_guide_size = 1
|
let g:indent_guides_guide_size = 1
|
||||||
let g:indent_guides_enable_on_vim_startup = 1
|
let g:indent_guides_enable_on_vim_startup = 1
|
||||||
" }
|
" }
|
||||||
|
|||||||
Reference in New Issue
Block a user