added if, else if shortcuts
This commit is contained in:
parent
7cb10199c5
commit
f2797ab466
1 changed files with 5 additions and 0 deletions
|
|
@ -124,6 +124,11 @@ inoremap => () => {}<left><left><left><left><left><left><esc>i
|
|||
"Create type comment
|
||||
inoremap ** /***/<left><esc>i
|
||||
|
||||
"If Statement
|
||||
inoremap if if ()<esc>i
|
||||
|
||||
"Else If Statement
|
||||
inoremap elif else if ()<esc>i
|
||||
autocmd BufEnter *.{js,jsx,ts,tsx,vue} :syntax sync fromstart
|
||||
autocmd BufLeave *.{js,jsx,ts,tsx,vue} :syntax sync clear
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue