Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
vim configuration file
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