comparison rc/vimrc @ 570:3bd22b75cdc4

Make sure autocmd is executed when vim has it.
author nanaya <me@myconan.net>
date Wed, 24 Jun 2015 13:33:02 +0900
parents 85dca9054bac
children 9e936a929c2d
comparison
equal deleted inserted replaced
569:ea4bc5799d71 570:3bd22b75cdc4
19 set smartcase 19 set smartcase
20 set hlsearch 20 set hlsearch
21 set ls=2 " always show status line 21 set ls=2 " always show status line
22 22
23 set list listchars=tab:>-,trail:.,extends:> 23 set list listchars=tab:>-,trail:.,extends:>
24 autocmd colorscheme * highlight specialkey ctermfg=gray 24
25 autocmd colorscheme * highlight linenr ctermfg=gray ctermbg=black 25 if has("autocmd")
26 autocmd colorscheme * highlight specialkey ctermfg=gray
27 autocmd colorscheme * highlight linenr ctermfg=gray ctermbg=black
28 endif
26 29
27 set number 30 set number
28 31
29 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up 32 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up
30 set clipboard=exclude:.* 33 set clipboard=exclude:.*