Skip to content

Instantly share code, notes, and snippets.

@mbrcknl
Created February 27, 2013 07:55
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 mbrcknl/5046071 to your computer and use it in GitHub Desktop.
Save mbrcknl/5046071 to your computer and use it in GitHub Desktop.
Vim config I used for screencast http://brck.nl/hole-driven-haskell
" Disable cursor blink so I can freely cut, splice and vary the speed of the screencast.
set guicursor+=a:blinkon0
" Get rid of toolbar and scrollbars.
set guioptions-=T
set guioptions-=L
set guioptions-=r
set background=dark
colorscheme moria
~ $ ls -l .vim .vim/bundle
.vim:
total 8
lrwxr-xr-x 1 matthew staff 28 15 Oct 16:08 autoload -> bundle/vim-pathogen/autoload
drwxr-xr-x 6 matthew staff 204 27 Feb 15:39 bundle
.vim/bundle:
total 0
drwxr-xr-x 24 matthew staff 816 15 Oct 16:07 command-t
drwxr-xr-x 3 matthew staff 102 27 Feb 15:38 moria
drwxr-xr-x 4 matthew staff 136 15 Oct 16:04 vim-gnupg
drwxr-xr-x 5 matthew staff 170 15 Oct 16:05 vim-pathogen
~ $
" See https://github.com/tpope/vim-pathogen
call pathogen#infect()
" Things auto-loaded by vim-pathogen:
" - command-t: https://wincent.com/products/command-t
" - moria colorscheme: http://www.vim.org/scripts/script.php?script_id=1464
" - vim-gnupg: http://www.vim.org/scripts/script.php?script_id=3645
" The only one of these used in the screencast is the colorscheme.
set modelines=0
set nobackup
set nowritebackup
set hidden
set number
set nowrap
set expandtab
set autoindent
set copyindent
set smarttab
set tabstop=2
set shiftwidth=2
" So that :make saves the file first...
set autowrite
" Use :copen to open the QuickFix window,
" and then :make to run the Makefile in the working directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment