Created
June 2, 2009 17:52
-
-
Save snatchev/122392 to your computer and use it in GitHub Desktop.
snatchev's dot vim configs
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
" CtrlP OS-X Menu remapping | |
if has("gui_macvim") | |
set guioptions=egmrt | |
macmenu &File.New\ Tab key=<D-S-t> | |
set guifont=Menlo\ for\ Powerline:h16 | |
endif | |
map <D-Down> <C-W><Down> | |
map <D-Up> <C-W><Up> | |
map <D-Left> <C-W><Left> | |
map <D-Right> <C-W><Right> | |
map <D-/> <plug>NERDCommenterToggle | |
map <D-t> :tabnew<CR> |
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
call pathogen#infect() | |
filetype plugin indent on | |
colorscheme solarized | |
let g:solarized_termcolors=256 | |
if has('gui_running') | |
set background=dark | |
else | |
set background=light | |
endif | |
let g:Powerline_symbols = 'fancy' | |
if has("autocmd") | |
" In Makefiles, use real tabs, not tabs expanded to spaces | |
au FileType make set noexpandtab | |
au BufNewFile,BufRead *.json set ft=javascript | |
" Remember last location in file, but not for commit messages. | |
" see :help last-position-jump | |
au BufReadPost * if &filetype !~ '^git\c' && line("'\"") > 0 && line("'\"") <= line("$") | |
\| exe "normal! g`\"" | endif | |
endif | |
map <Leader>n <plug>NERDTreeTabsToggle<CR> | |
map <C-t> :CtrlP<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment