Skip to content

Instantly share code, notes, and snippets.

@devedetti
Created February 22, 2014 01:54
Show Gist options
  • Select an option

  • Save devedetti/9147465 to your computer and use it in GitHub Desktop.

Select an option

Save devedetti/9147465 to your computer and use it in GitHub Desktop.
Vim y gVim
.vimrc
------
syntax on
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set autoindent
set ruler
set hlsearch
autocmd BufWritePre * :%s/\s\+$//e
.gvimrc
-------
colorscheme desert
set lines=24 columns=80
highlight ExtraWhitespace ctermbg=darkyellow guibg=darkyellow
match ExtraWhitespace /\s\+$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment