Created
June 14, 2011 15:25
-
-
Save roykolak/1025131 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab smarttab | |
set number | |
set nofoldenable | |
set cursorline | |
set showmatch | |
set hlsearch | |
set vb | |
set smartindent | |
set spell | |
filetype plugin on | |
" Syntax highlighting | |
au BufRead,BufNewFile *.scss set filetype=scss | |
" Resource vimrc automatically | |
autocmd! BufWritePost .vimrc source % | |
" clears whitespace | |
autocmd BufWritePre * :%s/\s\+$//e | |
" NERDTree | |
noremap <F3> :NERDTreeToggle<CR> | |
noremap <C-d> :NERDTreeToggle<CR> | |
"Switch to the next "higher" windows with <C-K> | |
noremap <C-J> <C-W>j<C-W>_ | |
"Switch to the next "higher" windows with <C-J> | |
noremap <C-K> <C-W>k<C-W>_ | |
"Hide the highlighted search results with "?" | |
noremap ? :nohlsearch<CR> | |
set ignorecase "The case of normal letters is ignored when searching | |
set smartcase "Override the 'ignorecase' option if the search pattern contains upper | |
" case characters. Essentially, this makes searches with | |
" capital letters case-sensitive. If you're going to go | |
" to all the effort of hitting both <Shift> AND a | |
" letter, your search tool better take it into | |
" consideration. | |
set list "Display unprintable characters, such as | |
" trailing spaces and tabs (Depends on | |
" "listchars" settings). | |
set listchars=tab:>-,trail:. "Strings to use in 'list' mode. | |
" trail:c Character to show for trailing spaces. When omitted, | |
" trailing spaces are blank. In this | |
" case, a trailing "." will be added. | |
call pathogen#helptags() | |
call pathogen#runtime_append_all_bundles() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment