Add snippet for arrow functions (js)
This commit is contained in:
parent
34d144d312
commit
ef3df20a6c
|
@ -37,7 +37,7 @@ vnoremap <leader>" <esc>a"<esc>`<i"<esc>`>
|
|||
nnoremap H 0
|
||||
nnoremap L $
|
||||
" auto indent
|
||||
nnoremap <c-w> gg=G<c-o>
|
||||
nnoremap <c-q> gg=G<c-o>
|
||||
|
||||
" Used in abbrevs to remove a space
|
||||
" append: <c-r>=Eatchar('\s')<cr>
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
XPT arr " ( .. ) => {..}
|
||||
XSET arg*|post=ExpandIfNotEmpty(', ', 'arg*')
|
||||
(`arg*^) => { `cursor^ }
|
||||
|
Loading…
Reference in New Issue