~gpanders/dotfiles

ref: c8e63bac959db19c138dcc3198a56514f0b444ff dotfiles/.vim/plugin/snippets.vim -rw-r--r-- 278 bytes
c8e63bacGreg Anders Manage dotfiles directly in home directory 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>"