Skip to content

Instantly share code, notes, and snippets.

View VAggrippino's full-sized avatar

Vince Aggrippino VAggrippino

View GitHub Profile
@VAggrippino
VAggrippino / javascript.json
Last active August 24, 2021 20:42
VSCode Snippet: Boilerplate to start a React App with a functional component
{
"React Boilerplate": {
"prefix": ["react-functional"],
"body": "import React from 'react';\nimport ReactDOM from 'react-dom';\n\nconst App = () => {\n\t$0\n}\n\nReactDOM.render(\n\t<App />,\n\tdocument.querySelector('#root')\n)",
"description": "React app boilerplate with a functional component."
}
}
@VAggrippino
VAggrippino / keybindings.json
Created November 14, 2018 01:26
Switch back and forth between terminal and editor in #VSCode
// This should probably be inserted into
// $HOME/.config/Code/User/keybindings.json (Linux) or
// %APPDATA%\Code\User\keybindings.json (Windows)
{
"key": "ctrl+`",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "ctrl+`",
colorscheme molokai
set guifont=DejaVu_Sans_Mono_for_Powerline:h10:cANSI
set columns=140
set lines=35
set guitablabel=%N\ %M%f
set shell=cmd
set shellcmdflag=/c
execute pathogen#infect()
Helptags
map <C-O> :FufFile<CR>
noremap <F4> :TlistToggle<Enter>
let Tlist_Exit_OnlyWindow = 1