Created
January 18, 2010 15:09
-
-
Save robertsosinski/280080 to your computer and use it in GitHub Desktop.
MacVim config file
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
syntax on | |
"font | |
color github | |
set cursorline | |
set guifont=Monaco:h12 | |
set guioptions-=T | |
set linespace=1 | |
set vb | |
"indents | |
set shiftwidth=2 | |
set tabstop=2 | |
set softtabstop=2 | |
set expandtab | |
set autoindent | |
"features | |
set number | |
set ruler | |
set ignorecase | |
"invisibles | |
set list | |
set listchars=eol:¬,tab:\ \ | |
"tabs | |
map <S-Tab> :tabn<CR> | |
map <C-t> :tabnew<CR> | |
map <C-i> :tabp<CR> | |
map <C-o> :tabn<CR> | |
"splits | |
map <C-j> <C-w>j | |
map <C-k> <C-w>k | |
map <C-h> <C-w>h | |
map <C-l> <C-w>l | |
map + <C-w>+ | |
map - <C-w>- | |
map = <C-w>= | |
map _ <C-w>_ | |
"folding | |
set foldmethod=syntax | |
set nofoldenable | |
"temp | |
set directory=~/.vim/temp// | |
set backupdir=~/.vim/temp// | |
"fullscreen | |
if has("gui_macvim") | |
set fuopt=maxhorz,maxvert | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment