Skip to content

Instantly share code, notes, and snippets.

@diewland
Last active March 29, 2017 10:51
Show Gist options
  • Save diewland/0e6dd0996b554d220c80 to your computer and use it in GitHub Desktop.
Save diewland/0e6dd0996b554d220c80 to your computer and use it in GitHub Desktop.
My vim config
""block cursor
let &t_ti.="\e[1 q"
let &t_SI.="\e[5 q"
let &t_EI.="\e[1 q"
let &t_te.="\e[0 q"
" remove menus
set go-=m
set go-=T
" file
set fileformat=unix
set ffs=unix,dos
set nobackup
" style
set nowrap
set number
colorscheme delek
hi Normal guibg=Black
set encoding=utf-8
set fileencoding=utf-8
set guifont=Droid_Sans_Mono:h11
" tab
set expandtab
set shiftwidth=2
set softtabstop=2
set tabstop=2
autocmd Filetype python setlocal ts=4 sw=4 sts=0 expandtab
" no beep
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment