Skip to content

Commit

Permalink
My modifications to the Janus VIM distribution that are vital for my …
Browse files Browse the repository at this point in the history
…workflow.

That's why I put them into a public repository.
Feel free to cherry-pick what you might like.
  • Loading branch information
mre committed Dec 1, 2011
1 parent 26a4860 commit 473b33b
Show file tree
Hide file tree
Showing 1,097 changed files with 195,880 additions and 102 deletions.
Binary file added .DS_Store
Binary file not shown.
18 changes: 2 additions & 16 deletions .gitignore
@@ -1,16 +1,2 @@
.netrwhist
tmp
nerdtree_plugin

after
autoload
doc
plugin
ruby
snippets
syntax
ftdetect
ftplugin
colors
indent
.VimballRecord
view/
view/*
6 changes: 6 additions & 0 deletions .netrwhist
@@ -0,0 +1,6 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =4
let g:netrw_dirhist_1='/Users/matthiasendler/Dropbox'
let g:netrw_dirhist_2='/Users/matthiasendler/Design/Matthias Endler/.git'
let g:netrw_dirhist_3='/Users/matthiasendler/Dropbox/creamy/creamy'
let g:netrw_dirhist_4='/Users/matthiasendler/.vim'
40 changes: 40 additions & 0 deletions after/plugin/snipMate.vim
@@ -0,0 +1,40 @@
" These are the mappings for snipMate.vim. Putting it here ensures that it
" will be mapped after other plugins such as supertab.vim.
if !exists('loaded_snips') || exists('s:did_snips_mappings')
finish
endif
let s:did_snips_mappings = 1

" This is put here in the 'after' directory in order for snipMate to override
" other plugin mappings (e.g., supertab).
"
" You can safely adjust these mappings to your preferences (as explained in
" :help snipMate-remap).
ino <silent> <tab> <c-r>=TriggerSnippet()<cr>
snor <silent> <tab> <esc>i<right><c-r>=TriggerSnippet()<cr>
ino <silent> <s-tab> <c-r>=BackwardsSnippet()<cr>
snor <silent> <s-tab> <esc>i<right><c-r>=BackwardsSnippet()<cr>
ino <silent> <c-r><tab> <c-r>=ShowAvailableSnips()<cr>
" The default mappings for these are annoying & sometimes break snipMate.
" You can change them back if you want, I've put them here for convenience.
snor <bs> b<bs>
snor <right> <esc>a
snor <left> <esc>bi
snor ' b<bs>'
snor ` b<bs>`
snor % b<bs>%
snor U b<bs>U
snor ^ b<bs>^
snor \ b<bs>\
snor <c-x> b<bs><c-x>
" By default load snippets in snippets_dir
if empty(snippets_dir)
finish
endif

call GetSnippets(snippets_dir, '_') " Get global snippets

au FileType * if &ft != 'help' | call GetSnippets(snippets_dir, &ft) | endif
" vim:noet:sw=4:ts=4:ft=vim

0 comments on commit 473b33b

Please sign in to comment.