Skip to content
Browse files

put .vimrc and .gvimrc into .vim folder and make symbol links for them

  • Loading branch information...
1 parent 4f57ca0 commit 1b20d71392d65210ce63484672bf8bc14bb3d0eb @linsong committed Aug 6, 2010
Showing with 2,079 additions and 2,077 deletions.
  1. +0 −83 .gvimrc
  2. +1 −0 .gvimrc
  3. +83 −0 .vim/_gvimrc
  4. +1,994 −0 .vim/_vimrc
  5. +0 −1,994 .vimrc
  6. +1 −0 .vimrc
View
83 .gvimrc
@@ -1,83 +0,0 @@
-" Configuration file for gvim
-" Written for Debian GNU/Linux by W.Akkerman <wakkerma@debian.org>
-
-" Make external commands work through a pipe instead of a pseudo-tty
-"set noguipty
-" Switch syntax highlighting on, when the terminal has colors
-
-" Make shift-insert work like in Xterm
-map <S-Insert> <MiddleMouse>
-map! <S-Insert> <MiddleMouse>
-
-" Also switch on highlighting the last used search pattern.
-if has("syntax") && (&t_Co > 2 || has("gui_running"))
- syntax on
- set hlsearch
-endif
-
-" Extensions by i18n teams
-if filereadable( "/etc/vim/langrc/" . $LANG . ".vim" )
- exe "so " . "/etc/vim/langrc/" . $LANG . ".vim"
-endif
-
-" You can also specify a different font, overriding the default font and the
-" one from the hooks above:
-" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
-"
-
-colorscheme desert
-"set colorscheme randomly
-"if ((strftime("%H") < 17 && strftime("%H") > 7))
- "let g:colorscheme_list = ['sienna', 'oceanlight', 'autumnleaf']
-"else
- " colorschemes for night
- let g:colorscheme_list = ['blacksea', 'desert', 'mymud',
- \ 'dante', 'candy', 'elflord', 'golden',
- \ 'less', 'vibrantink', 'murphy',
- \ 'baycomb', 'bensday', 'blackboard', 'blacklight',
- \ 'darkburn', 'darker-robin',
- \ 'darkZ', 'desertEx', 'ChocolateLiquor']
-"endif
-exec "colorscheme " . g:colorscheme_list[localtime()%len(g:colorscheme_list)]
-":colorscheme desert "mymud zenburn ps_color elflord metacosm dusk
-
-" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
-" let &guioptions = substitute(&guioptions, "t", "", "g")
-
-" the following config to make gvim startup faster
-set guioptions-=M
-"set guioptions-=m
-
-set guioptions-=T
-
-if has("gui_macvim")
- set fuoptions=maxvert,maxhorz,background:Normal
- set lines=39 columns=157
- :map ,, :call ToggleTransparency()<CR>
-endif
-
-" turn &cursorline on only in GUI && normal mode
-if exists("&cursorline")
- set cursorline
- autocmd InsertLeave * set cursorline
- autocmd InsertEnter * set nocursorline
-endif
-
-"mark.vim should be re-sourced after any changing to colors. For example, if you
-":set background=dark OR
-":colorscheme default
-"you should
-":source PATH_OF_PLUGINS/mark.vim
-"after that. Otherwise, you won't see the colors.
-"Unfortunately, it seems that .gvimrc runs after plugin scripts. So if you set any color settings in .gvimrc, you have to add one line to the end of .gvimrc to source mark.vim.
-if has('win32')
- :source $VIMCFG\plugin\mark.vim
-else
- :source $VIMCFG/plugin/mark.vim
-endif
-
-" following config to make gvim startup faster
-set guiheadroom=0
-
-set guioptions-=mTrRlLb
-
View
1 .gvimrc
View
83 .vim/_gvimrc
@@ -0,0 +1,83 @@
+" Configuration file for gvim
+" Written for Debian GNU/Linux by W.Akkerman <wakkerma@debian.org>
+
+" Make external commands work through a pipe instead of a pseudo-tty
+"set noguipty
+" Switch syntax highlighting on, when the terminal has colors
+
+" Make shift-insert work like in Xterm
+map <S-Insert> <MiddleMouse>
+map! <S-Insert> <MiddleMouse>
+
+" Also switch on highlighting the last used search pattern.
+if has("syntax") && (&t_Co > 2 || has("gui_running"))
+ syntax on
+ set hlsearch
+endif
+
+" Extensions by i18n teams
+if filereadable( "/etc/vim/langrc/" . $LANG . ".vim" )
+ exe "so " . "/etc/vim/langrc/" . $LANG . ".vim"
+endif
+
+" You can also specify a different font, overriding the default font and the
+" one from the hooks above:
+" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
+"
+
+colorscheme desert
+"set colorscheme randomly
+"if ((strftime("%H") < 17 && strftime("%H") > 7))
+ "let g:colorscheme_list = ['sienna', 'oceanlight', 'autumnleaf']
+"else
+ " colorschemes for night
+ let g:colorscheme_list = ['blacksea', 'desert', 'mymud',
+ \ 'dante', 'candy', 'elflord', 'golden',
+ \ 'less', 'vibrantink', 'murphy',
+ \ 'baycomb', 'bensday', 'blackboard', 'blacklight',
+ \ 'darkburn', 'darker-robin',
+ \ 'darkZ', 'desertEx', 'ChocolateLiquor']
+"endif
+exec "colorscheme " . g:colorscheme_list[localtime()%len(g:colorscheme_list)]
+":colorscheme desert "mymud zenburn ps_color elflord metacosm dusk
+
+" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
+" let &guioptions = substitute(&guioptions, "t", "", "g")
+
+" the following config to make gvim startup faster
+set guioptions-=M
+"set guioptions-=m
+
+set guioptions-=T
+
+if has("gui_macvim")
+ set fuoptions=maxvert,maxhorz,background:Normal
+ set lines=39 columns=157
+ :map ,, :call ToggleTransparency()<CR>
+endif
+
+" turn &cursorline on only in GUI && normal mode
+if exists("&cursorline")
+ set cursorline
+ autocmd InsertLeave * set cursorline
+ autocmd InsertEnter * set nocursorline
+endif
+
+"mark.vim should be re-sourced after any changing to colors. For example, if you
+":set background=dark OR
+":colorscheme default
+"you should
+":source PATH_OF_PLUGINS/mark.vim
+"after that. Otherwise, you won't see the colors.
+"Unfortunately, it seems that .gvimrc runs after plugin scripts. So if you set any color settings in .gvimrc, you have to add one line to the end of .gvimrc to source mark.vim.
+if has('win32')
+ :source $VIMCFG\plugin\mark.vim
+else
+ :source $VIMCFG/plugin/mark.vim
+endif
+
+" following config to make gvim startup faster
+set guiheadroom=0
+
+set guioptions-=mTrRlLb
+
View
1,994 .vim/_vimrc
1,994 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1,994 .vimrc
0 additions, 1,994 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
1 .vimrc

0 comments on commit 1b20d71

Please sign in to comment.
Something went wrong with that request. Please try again.