Skip to content

Instantly share code, notes, and snippets.

@hackgnar
Created September 5, 2015 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hackgnar/d1d017d9ed002d17e3b9 to your computer and use it in GitHub Desktop.
Save hackgnar/d1d017d9ed002d17e3b9 to your computer and use it in GitHub Desktop.
runtime! debian.vim
set nocompatible
if has("syntax")
syntax on
endif
set background=dark
if has("autocmd")
filetype plugin indent on
endif
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set ignorecase " Do case insensitive matching
set smartcase " Do smart case matching
set incsearch " Incremental search
set autowrite " Automatically save before commands like :next and :make
set hidden " Hide buffers when they are abandoned
set mouse=a " Enable mouse usage (all modes)
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
set tabstop=4
set shiftwidth=4
set expandtab
set softtabstop=4
set autoindent
set number
set hlsearch
highlight OverLength ctermbg=red ctermfg=white guibg=#592929
"match OverLength /\%81v.*/
"au! WinEnter match OverLength /\%81v.*/
autocmd WinEnter,BufWinEnter,BufRead *.py match OverLength /\%81v.*/
cmap w!! %!sudo tee > /dev/null %
set ofu=syntaxcomplete#Complete
let g:pyflakes_use_quickfix = 0
set pastetoggle=<F2>
let g:vim_markdown_folding_disabled=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment