Created
May 26, 2010 13:48
-
-
Save atomicules/414504 to your computer and use it in GitHub Desktop.
"My vimrc file. Trying to keep it as simple and cross platform as possible
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
"This is no longer up to date. It got more complicated... | |
"My vimrc file. Trying to keep it as simple and cross platform as possible | |
set tabstop=4 "Number of spaces that a tab character takes | |
set softtabstop=4 "after reading the docs, I still don't get all the tab options. | |
set noexpandtab "I don't want tab characters converted to spaces | |
set shiftwidth=4 "number of spaces used for each step of auto-indent | |
set smarttab autoindent "copy indent from current line when starting new line | |
set guifont=Consolas:h10 "Nice font Use Inconsolata:h13 on OSX, Linux. | |
set guifontwide=MingLiU:h10 "For windows to display mixed character sets | |
set enc=utf-8 "Whatever | |
set number "Turn on line numbers | |
set numberwidth=6 "Set width of line numbers | |
highlight LineNr guifg=white guibg=lightgray "Line number colours | |
set wrap "Default to line wrapping | |
set showtabline=2 "Always show the tab bar in the gui | |
set incsearch "Fortunately highlighting seems to be on in all three platforms | |
let Tlist_Ctags_Cmd="\"C:\\Program Files\\ctags58\\ctags.exe\"" "Windows only at mo' | |
set guioptions-=T "remove toolbar | |
colorscheme solarized | |
set autochdir | |
set nobackup | |
"let coffee_compile_on_save = 1 | |
autocmd BufWritePost *.coffee silent CoffeeMake! -b | copen | |
set statusline=[FORMAT=%{&ff}]\ [TYPE=%Y]\ [POS=%l,%v][%p%%]\ [LINELEN=%{strlen(getline('.'))}] | |
set laststatus=2 | |
filetype off "for pathogen | |
call pathogen#runtime_append_all_bundles() | |
filetype plugin indent on "for pathogen | |
map <F11> <Esc>:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR> "Windows only, fullscreen Vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment