vimtex/test/feature/imaps/vimrc
Karl Yngve Lervåg 99d82c2394 Big update to imaps feature (#295)
- Removed automatic snippets
- Added utility command (+ map) to view imaps "VimtexImapsList"
- Updated documentation
- Use <expr>-mappings for imaps
2015-12-21 23:37:32 +01:00

20 lines
412 B
VimL

set nocompatible
let &rtp = '~/.vim/bundle/vimtex,' . &rtp
let &rtp .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
let g:vimtex_imaps_disabled = [
\ 'a',
\ 'S',
\]
call vimtex#imaps#add_map({ 'lhs' : 'vv', 'rhs' : '\vec{' })
call vimtex#imaps#add_map({
\ 'lhs' : 'test',
\ 'rhs' : 'tested',
\ 'leader' : '',
\ 'wrapper' : 'vimtex#imaps#wrap_trivial',
\})