]> git.madduck.net Git - etc/vim.git/blob - spec/vimrc

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

spec/make-coverage: do not `cat` profile files (#123)
[etc/vim.git] / spec / vimrc
1 " vint: -ProhibitSetNoCompatible
2 set nocompatible
3
4 filetype plugin on
5 filetype indent on
6 syntax on
7
8 set noswapfile nobackup
9
10 " remove default ~/.vim directories to avoid loading plugins
11 set runtimepath-=~/.vim
12 set runtimepath-=~/.vim/after
13
14 let sfile = expand('<sfile>')
15 let plugin_path = fnamemodify(sfile, ':p:h:h')
16 exe 'set runtimepath^='.plugin_path
17
18 if !empty($PYTHON_PEP8_INDENT_TEST_PROFILE_BASE)
19   execute printf('profile start %s.%s',
20         \ $PYTHON_PEP8_INDENT_TEST_PROFILE_BASE, getpid())
21   execute 'profile! file '. plugin_path . '/indent/python.vim'
22 endif