Add snippet for arrow functions (js)

This commit is contained in:
Augusto Gunsch 2021-10-29 12:17:12 -03:00
parent 34d144d312
commit ef3df20a6c
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -0,0 +1,5 @@
XPT arr " ( .. ) => {..}
XSET arg*|post=ExpandIfNotEmpty(', ', 'arg*')
(`arg*^) => { `cursor^ }