Created
March 18, 2011 14:27
-
-
Save tomyan/876155 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .vimrc | |
| ====== | |
| colorscheme evening | |
| set number | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| " Switch syntax highlighting on, when the terminal has colors | |
| " Also switch on highlighting the last used search pattern. | |
| if &t_Co > 2 || has("gui_running") | |
| syntax on | |
| set hlsearch | |
| endif | |
| au BufNewFile,BufRead *.spv setfiletype php | |
| :cd ~/workspace | |
| :imap jj <Esc> | |
| " set guioptions=agimrLt | |
| " Press space bar to toggle highlighting on/off, and show current value. | |
| :noremap <silent> <Space> :set hlsearch! hlsearch?<CR> | |
| map \e :NERDTreeToggle<CR> | |
| nmap n nzz | |
| nmap N Nzz | |
| .gvimrc | |
| ======= | |
| set guioptions=agimrLte | |
| macmenu &File.Open\.\.\. key=<nop> | |
| noremap <D-o> :CommandT<CR> | |
| noremap <D-r> :e %:h/ | |
| stuff to install | |
| ================ | |
| http://www.vim.org/scripts/script.php?script_id=3025 | |
| http://www.vim.org/scripts/script.php?script_id=1658 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment