.vimrc
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 | |
"Fast finger fixes | |
:command W w | |
:command Wq wq | |
:command WQ wq | |
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif | |
set fileencodings=utf-8 | |
filetype plugin indent on | |
set expandtab | |
set tabstop=4 | |
set shiftwidth=4 | |
set t_ti= t_te= | |
set showmatch " Show matching brackets. | |
set ignorecase " Do case insensitive matching | |
set incsearch " Incremental search | |
"colorscheme molokai | |
"Always do correct pasting (no weird indenting while pasting) | |
let &t_SI .= "\<Esc>[?2004h" | |
let &t_EI .= "\<Esc>[?2004l" | |
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin() | |
function! XTermPasteBegin() | |
set pastetoggle=<Esc>[201~ | |
set paste | |
return "" | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment