Skip to content

Commit

Permalink
modified for ArchLinux
Browse files Browse the repository at this point in the history
now support ArchLinux
fix:hotkey binding/guifont/readme
  • Loading branch information
hSATAC committed Nov 17, 2011
1 parent 4e4c7fc commit af8d2c9
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
7 changes: 0 additions & 7 deletions .netrwhist

This file was deleted.

9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -9,7 +9,7 @@ HOW TO INSTALL

1. Check out from github

* Mac Os:
* Mac Os/Linux:

$ git clone https://github.com/hSATAC/vimrc ~/.vim
$ cd ~/.vim
Expand All @@ -23,7 +23,7 @@ HOW TO INSTALL

2. Install ~/.vimrc and ~/.gvimrc

* Mac Os:
* Mac Os/Linux:

$ ./install-vimrc.sh

Expand All @@ -33,7 +33,7 @@ HOW TO INSTALL

3. (Optional, if you want Command-T) Compile the Command-T plugin

* Mac Os:
* Mac Os/Linux:

$ cd .vim/bundle/command-t/ruby/command-t
$ ruby extconf.rb
Expand All @@ -49,6 +49,9 @@ HOW TO INSTALL

$ brew install ctags

* ArchLinux:
sudo pacman -S ctags

* Windows:

Download win32 ctags from http://ctags.sourceforge.net/
Expand Down
2 changes: 0 additions & 2 deletions gvimrc
@@ -1,8 +1,6 @@
if has("gui_macvim")
" disable the original Cmd-T (open new tab)
macmenu &File.New\ Tab key=<nop>
" map Cmd-T to the CommandT plugin
map <D-t> :CommandT<CR>
endif
if has("win32")
au GUIEnter * simalt ~x " 開啟最大化.
Expand Down
16 changes: 11 additions & 5 deletions vimrc
Expand Up @@ -161,7 +161,7 @@ au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|
" close tab
map <C-t><C-w> :tabclose<CR>
if(has("gui_running") && has("win32")) " gvim win 32
if(has("gui_running") && !has("mac")) " gvim win 32 and gvim linux
map ÷ :tabclose<CR>
endif
if(has("gui_macvim") && !has("gui_running")) " macvim console
Expand Down Expand Up @@ -299,11 +299,17 @@ au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|

" --- Command-T
let g:CommandTMaxHeight = 15
if(has("gui_running") && has("win32")) " gvim win 32
map <A-t> :CommandT<CR>
if(has("gui_running"))
if(has("win32")) " win32 gvim
map <A-t> :CommandT<CR>
elseif(has("mac")) "mac gvim
map <D-t> :CommandT<CR>
else " linux gvim
map ô :CommandT<CR>
endif
endif
if(has("gui_macvim") && !has("gui_running")) " macvim console
map t :CommandT<CR>
if(!has("gui_running"))
map t :CommandT<CR>
endif
" --- taglist
"nmap <silent><f1> :TlistToggle<CR>
Expand Down

0 comments on commit af8d2c9

Please sign in to comment.