mirror of
https://github.com/notwa/rc
synced 2024-07-02 11:47:12 -07:00
remember more commands and use tabs for .gitconfig
This commit is contained in:
parent
f77f5c63cc
commit
78404d2614
|
@ -60,7 +60,7 @@ if has('gui_running')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if has('title') | set title | endif " terminal title
|
if has('title') | set title | endif " terminal title
|
||||||
set history=8192 " command lines to remember
|
set history=10000 " command lines to remember
|
||||||
set number " lines
|
set number " lines
|
||||||
set ruler " write out the cursor position
|
set ruler " write out the cursor position
|
||||||
set showcmd " show number of lines/etc. selected
|
set showcmd " show number of lines/etc. selected
|
||||||
|
@ -131,6 +131,8 @@ endf
|
||||||
" set TabFour as default
|
" set TabFour as default
|
||||||
set tabstop=8 shiftwidth=4 expandtab softtabstop=4
|
set tabstop=8 shiftwidth=4 expandtab softtabstop=4
|
||||||
|
|
||||||
|
" autocmd {{{1
|
||||||
|
|
||||||
if has('autocmd')
|
if has('autocmd')
|
||||||
augroup tabs
|
augroup tabs
|
||||||
au!
|
au!
|
||||||
|
@ -140,6 +142,7 @@ if has('autocmd')
|
||||||
au BufRead,BufNewFile *.bt,*.1sc call TabFour()
|
au BufRead,BufNewFile *.bt,*.1sc call TabFour()
|
||||||
au BufRead,BufNewFile *.ys call TabTwo()
|
au BufRead,BufNewFile *.ys call TabTwo()
|
||||||
au FileType javascript,processing call TabTwo()
|
au FileType javascript,processing call TabTwo()
|
||||||
|
au BufRead,BufNewFile .gitconfig call TabEight()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
augroup whatever
|
augroup whatever
|
||||||
|
|
Loading…
Reference in New Issue
Block a user