Skip to content

Instantly share code, notes, and snippets.

@attomos
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save attomos/c0f84c3de04aed9c1c4d to your computer and use it in GitHub Desktop.

Select an option

Save attomos/c0f84c3de04aed9c1c4d to your computer and use it in GitHub Desktop.
My minimal .vimrc
let mapleader = " "
syntax on
filetype plugin on
colorscheme peachpuff
set number
set nobackup
set ai
set smartindent
autocmd BufRead *.py set sts=4 st=4 ts=4
autocmd BufNew *.py set sts=4 st=4 ts=4
autocmd BufEnter *.py set sts=4 st=4 ts=4
set sts=2 st=2 ts=2
set laststatus=2
set mouse=a
set hls
set incsearch
set ignorecase
set smartcase
set spell
set spelllang=en_us
hi clear SpellBad
hi clear SpellCap
hi clear SpellLocal
hi clear SpellRare
hi SpellBad cterm=underline gui=underline
hi SpellCap cterm=underline gui=underline
hi SpellLocal cterm=underline gui=underline
hi SpellRare cterm=underline gui=underline
set nowrap
nnoremap <CR> :noh<CR>
nnoremap zl zL
nnoremap zh zH
nnoremap <Leader>w :w<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment