updated let, const, and var shortcuts
This commit is contained in:
parent
d9c481b820
commit
edaf809bb5
1 changed files with 11 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ let g:NERDTreeGitStatusWithFlags = 1
|
||||||
"\ "Untracked" : "#FCE77C",
|
"\ "Untracked" : "#FCE77C",
|
||||||
"\ "Unmerged" : "#FC51E6",
|
"\ "Unmerged" : "#FC51E6",
|
||||||
"\ "Dirty" : "#FFBD61",
|
"\ "Dirty" : "#FFBD61",
|
||||||
"\ "Clean" : "#87939A",
|
"\ "Clean" : "#/87939A",
|
||||||
"\ "Ignored" : "#808080"
|
"\ "Ignored" : "#808080"
|
||||||
"\ }
|
"\ }
|
||||||
|
|
||||||
|
|
@ -95,6 +95,16 @@ nmap <C-s> 50:new
|
||||||
|
|
||||||
"Escape Insert Mode with ii
|
"Escape Insert Mode with ii
|
||||||
imap ii <Esc>
|
imap ii <Esc>
|
||||||
|
"JavaScript Specific Shortcuts
|
||||||
|
|
||||||
|
"Shorten var
|
||||||
|
inoremap var var = <left><esc>i
|
||||||
|
|
||||||
|
"Shorten const
|
||||||
|
inoremap const const = <left><esc>i
|
||||||
|
|
||||||
|
"Shorten let
|
||||||
|
inoremap let let = <left><esc>i
|
||||||
|
|
||||||
"Insert a console.log()
|
"Insert a console.log()
|
||||||
inoremap cll console.log()<esc>i
|
inoremap cll console.log()<esc>i
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue