git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Globally unify tabstopping on the GNU style.
[nethome.git]
/
.vimrc
diff --git
a/.vimrc
b/.vimrc
index
48b9a83
..
fd6a6f8
100644
(file)
--- a/
.vimrc
+++ b/
.vimrc
@@
-16,16
+16,11
@@
autocmd! BufRead *.txt
"immediate switch to non-existing file: BufNewFile BufEnter
autocmd BufCreate,VimEnter * let g:BufEnter_ts= 8
"immediate switch to non-existing file: BufNewFile BufEnter
autocmd BufCreate,VimEnter * let g:BufEnter_ts= 8
-autocmd BufCreate,VimEnter */home/{short,kratochvil,root}/{src,WWW}/* let g:BufEnter_ts= 2
-autocmd BufCreate,VimEnter */home/{short,kratochvil,root}/src/*gnokii*/* let g:BufEnter_ts= 8
-autocmd BufCreate,VimEnter *.{i{,.as},s} let g:BufEnter_ts=20
autocmd BufEnter * call BufEnter()
autocmd VimEnter * call BufEnter()
set runtimepath=.,$VIMRUNTIME
function BufEnter()
if exists("g:BufEnter_ts")
autocmd BufEnter * call BufEnter()
autocmd VimEnter * call BufEnter()
set runtimepath=.,$VIMRUNTIME
function BufEnter()
if exists("g:BufEnter_ts")
- let &ts=g:BufEnter_ts
- let &sw=g:BufEnter_ts
unlet g:BufEnter_ts
set autoindent
unlet g:BufEnter_ts
set autoindent
@@
-50,8
+45,15
@@
set termencoding=utf-8
" 'iso-8859-2,euc-jp' really does not work for 'euc-jp'
set fileencodings=utf-8,euc-jp,iso-8859-2
" 'iso-8859-2,euc-jp' really does not work for 'euc-jp'
set fileencodings=utf-8,euc-jp,iso-8859-2
+set ts=8
+set sw=2
+set sts=2
ca X x
syntax off
ca X x
syntax off
+let g:loaded_matchparen = 1
+set swapsync=
+" vim-7+ only
+silent! set nofsync
set noerrorbells
set ruler
set ignorecase
set noerrorbells
set ruler
set ignorecase
@@
-61,6
+63,7
@@
set exrc
set nostartofline
set nohlsearch
set noincsearch
set nostartofline
set nohlsearch
set noincsearch
+set nofoldenable
set fo=tcq1
set viminfo='100,\"1000,:100,/40
" FIXME: Learn how to do :tag instead of :tselect with :cstag (used by :tag and CTRL-] if set cst)
set fo=tcq1
set viminfo='100,\"1000,:100,/40
" FIXME: Learn how to do :tag instead of :tselect with :cstag (used by :tag and CTRL-] if set cst)
@@
-77,7
+80,7
@@
noremap <Esc>N :tn<cr>zz<C-g>
noremap <Esc>P :tp<cr>zz<C-g>
noremap <Esc>M :cn<cr>zz<C-g>
noremap <Esc>L :cp<cr>zz<C-g>
noremap <Esc>P :tp<cr>zz<C-g>
noremap <Esc>M :cn<cr>zz<C-g>
noremap <Esc>L :cp<cr>zz<C-g>
-noremap <Esc>g "myiw:grep<Space>-rw<Space>'<C-r>m'<Space>.
+noremap <Esc>g "myiw:grep<Space>-r
E
w<Space>'<C-r>m'<Space>.
noremap <C-]> <C-]>zz<C-g>
noremap <C-t> <C-t>zz<C-g>
noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA
noremap <C-]> <C-]>zz<C-g>
noremap <C-t> <C-t>zz<C-g>
noremap <C-d> G:r !date '+\%H:\%M:\%S-'<cr>kA