Created
March 3, 2012 03:32
-
-
Save oscarfroberg/1964156 to your computer and use it in GitHub Desktop.
vim configuration 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
set encoding=utf-8 | |
set fileencoding=utf-8 | |
set softtabstop=4 | |
set expandtab | |
set autoindent | |
set mouse=a | |
set ignorecase | |
set smartcase | |
set pastetoggle=<F9> | |
set showcmd | |
set number | |
set cursorline | |
"highlight OverLength ctermbg=red ctermfg=white guibg=#592929 | |
"match OverLength /\%81v.\+/ | |
nnoremap <F5> :set paste<CR>m`O<Esc>``:set nopaste<CR> | |
map <PageDown> :set scroll=0<CR>:set scroll^=2<CR>:set scroll-=1<CR><C-D>:set scroll=0<CR> | |
map <PageUp> :set scroll=0<CR>:set scroll^=2<CR>:set scroll-=1<CR><C-U>:set scroll=0<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment