Created
July 31, 2010 20:14
-
-
Save barrettclark/502564 to your computer and use it in GitHub Desktop.
This file contains 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
" bind command-/ to toggle comment | |
" requires NERD Commenter to be installed: http://www.vim.org/scripts/script.php?script_id=1218 | |
nmap <D-/> ,c<space> | |
vmap <D-/> ,c<space> | |
imap <D-/> <C-O>,c<space> | |
" bind \d to toggle file browser | |
" requires NERDTree | |
nmap <leader>d :NERDTreeToggle<CR> | |
" binds \ t to textmate-style Command-T | |
map <leader>t :CommandT<CR> | |
let g:allml_global_maps = 1 | |
:filetype plugin on | |
" \F to startup an ack search | |
map <leader>F :Ack<space> | |
" window splitting mappings | |
" split vertically with <leader> v | |
" split horizontally with <leader> s | |
nmap <leader>v :vsplit<CR> <C-w><C-w> | |
nmap <leader>s :split<CR> <C-w><C-w> | |
" Make it way easier to switch windows (<leader>w) | |
nmap <leader>w <C-w><C-w> | |
set nocompatible " We're running Vim, not Vi! | |
syntax on " Enable syntax highlighting | |
filetype plugin indent on " Enable filetype-specific indenting and plugins | |
set incsearch " Incremental searching | |
set hlsearch " Highlight search results once found: | |
" http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches | |
set number " can has line numbers? | |
set cursorline " highlight the current | |
" line the cursor is on | |
set showmatch "sm: flashes matching | |
" brackets or parentheses | |
set smarttab "sta: helps with | |
" backspacing because of expandtab | |
set number | |
" added 20100729 | |
set guifont=Monaco:h10 | |
set softtabstop=2 | |
set tabstop=4 | |
set shiftwidth=2 | |
set expandtab | |
set autoindent | |
if has("gui_running") | |
colorscheme ir_black | |
set columns=160 lines=50 | |
set transparency=8 | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment