Skip to content

Paste snippets of code; currently only supports JavaScript.

Notifications You must be signed in to change notification settings

LeeWannacott/nvim-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

nvim-snippets

Current keymappings to call different snippets:

noremap <silent><leader>sfe :call For_each() <CR>
noremap <silent><leader>src :call React_class_component () <CR>
noremap <silent><leader>srf :call React_functional_component() <CR>
noremap <silent><leader>sus :call React_use_state () <CR>
noremap <silent><leader>sue :call React_use_effect () <CR>
noremap <silent><leader>sfc :call React_c_loop () <CR>
noremap <silent><leader>sm :call Map_array () <CR>
noremap <silent><leader>sp :call Promise () <CR>
noremap <silent><leader>sfi :call For_in () <CR>
noremap <silent><leader>sfo :call For_of () <CR>
noremap <silent><leader>saa :call Async_await () <CR>
noremap <silent><leader>sie :call If_elseif () <CR>
noremap <silent><leader>ss :call Switch_statement () <CR>
noremap <silent><leader>so :call Make_object () <CR>
noremap <silent><leader>sa :call Make_array () <CR>
noremap <silent><leader>sd :call Make_date () <CR>

About

Paste snippets of code; currently only supports JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published