Skip to content

Instantly share code, notes, and snippets.

@fanda
Created December 17, 2014 21:41
Show Gist options
  • Save fanda/aeb6b666db3956fa6f9b to your computer and use it in GitHub Desktop.
Save fanda/aeb6b666db3956fa6f9b to your computer and use it in GitHub Desktop.
Vim config
set expandtab
"set guifont=-*-luxi\ mono-medium-r-normal-*-12-*-*-*-*-*-ISO-8859-2
set guifont=Luxi\ Mono\ 12
set helplang=cs
set history=50
set hlsearch
set incsearch
set mouse=a
set ruler
set showcmd
set tabstop=2
set termencoding=UTF8
set number
set lines=35
set columns=88
highlight Normal guibg=#fffff2
set smartindent
set shiftwidth=2
syntax on
colo desert
set showbreak==>
"set textwidth=80
set cinoptions=>s,e0,n0,f0,{0,}0,^0,:s,=s,l0,gs,hs,ps,t0,+s,c3,C0,(2s,us,U0,w0,m0,j0,)20,*30
map! <C-S> <Esc>:w<CR>a
map <C-S> :w<CR>
version 6.0
if &cp | set nocp | endif
let s:cpo_save=&cpo
set cpo&vim
map! <S-Insert> <MiddleMouse>
map! <xHome> <Home>
map! <xEnd> <End>
map! <S-xF4> <S-F4>
map! <S-xF3> <S-F3>
map! <S-xF2> <S-F2>
map! <S-xF1> <S-F1>
map! <xF4> <F4>
map! <xF3> <F3>
map! <xF2> <F2>
map! <xF1> <F1>
map Q gq
map <S-Insert> <MiddleMouse>
map <xHome> <Home>
map <xEnd> <End>
map <S-xF4> <S-F4>
map <S-xF3> <S-F3>
map <S-xF2> <S-F2>
map <S-xF1> <S-F1>
map <xF4> <F4>
map <xF3> <F3>
map <xF2> <F2>
map <xF1> <F1>
let &cpo=s:cpo_save
unlet s:cpo_save
set backspace=indent,eol,start
set backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment