]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/password-store/ftdetect/pass.vim

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:

Write mail backups on write
[etc/vim.git] / .vim / bundle / password-store / ftdetect / pass.vim
1 " detect password-store files
2 if exists('did_pass') || &compatible  || version < 700
3     finish
4 endif
5 let g:did_pass = 'did_pass'
6 let s:save_cpo = &cpoptions
7 set compatible&vim
8
9 " this is straight from Tom Ryders plugin
10
11 autocmd VimEnter
12             \ /dev/shm/pass.?*/?*.txt
13             \,/dev/shm/gopass-edit*/secret
14             \,$TMPDIR/pass.?*/?*.txt
15             \,/tmp/pass.?*/?*.txt
16             \ setlocal filetype=pass |
17             \ if password_store#setting('enable_syntax') ==# 'true' | setlocal syntax=pass.obfuscated | endif
18
19 " Cleanup at end
20 let &cpoptions = s:save_cpo