~gpanders/dotfiles

ref: 2da1dde5ea566f82ebe6532bc6d3b8670fd77ce8 dotfiles/vim/.vim/plugin/snippets.vim -rw-r--r-- 278 bytes
2da1dde5Greg Anders Note 'open' subcommand opens editor in NOTES_DIR when no argument given 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
" snippets
" Author: Greg Anders <greg@gpanders.com>
" Date: 2019-12-27

if exists('g:loaded_snippets')
    finish
endif
let g:loaded_snippets = 1

let g:snippets_dir = $VIMHOME . '/snippets'

imap <silent> <expr> <Tab> pumvisible() ? "\<C-N>" : "\<C-R>=snippets#expand()\<CR>"