Skip to content

Instantly share code, notes, and snippets.

@tomyan
Created March 18, 2011 14:27
Show Gist options
  • Select an option

  • Save tomyan/876155 to your computer and use it in GitHub Desktop.

Select an option

Save tomyan/876155 to your computer and use it in GitHub Desktop.
.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