code --install-extension aaron-bond.better-comments code --install-extension akamud.vscode-javascript-snippet-pack code --install-extension alefragnani.Bookmarks code --install-extension alefragnani.rtf code --install-extension alexanderte.dainty-nord-vscode code --install-extension angelo-breuer.clock code --install-extension atlassian.atlascode code --install-extension BeardedBear.beardedtheme code --install-extension buenon.scratchpads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Inspired by https://twitter.com/coderitual/status/1112297299307384833 and https://tapajyoti-bose.medium.com/7-killer-one-liners-in-javascript-33db6798f5bf | |
// Remove any duplicates from an array of primitives. | |
const unique = [...new Set(arr)] | |
// Sleep in async functions. Use: await sleep(2000). | |
const sleep = (ms) => (new Promise(resolve => setTimeout(resolve, ms))); | |
// or | |
const sleep = util.promisify(setTimeout); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"breadcrumbs.enabled": false, | |
// Editor font | |
"editor.fontFamily": "'Operator Mono Lig', 'Dank Mono', Monaco, 'Courier New', monospace", | |
"editor.fontSize": 16, | |
"editor.renderWhitespace": "boundary", | |
"editor.fontLigatures": true, | |
"editor.cursorBlinking": "solid", | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.formatOnPaste": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf8 | |
set nocompatible | |
" Plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-repeat' | |
Plug 'tpope/vim-markdown' | |
Plug 'masukomi/vim-markdown-folding' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorCustomizations": { | |
// "editorGroupHeader.tabsBorder": "#303340", | |
"tab.activeBorder": "#c692ea", | |
// "editorLineNumber.foreground": "#525a86", | |
// "statusBar.background": "#011627", | |
// "statusBar.noFolderBackground": "#011627", | |
// "statusBar.debuggingBackground": "#011627", | |
// "statusBar.foreground": "#d6deeb", | |
// "statusBar.debuggingForeground": "#d6deeb" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf8 | |
set nocompatible | |
" Plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-repeat' | |
Plug 'tpope/vim-markdown' | |
Plug 'masukomi/vim-markdown-folding' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set encoding=utf8 | |
set nocompatible | |
" Plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'tpope/vim-sensible' | |
Plug 'tpope/vim-fugitive' | |
Plug 'tpope/vim-repeat' | |
Plug 'tpope/vim-markdown' | |
Plug 'tpope/vim-speeddating' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// mikowls mostly vimish vscode keybindings | |
[ | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.files.newUntitledFile" | |
}, | |
{ | |
"key": "cmd+k cmd+t", | |
"command": "workbench.action.selectTheme" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Nord Vomnibar CSS */ | |
/* Installation: Open Vimium Options -> Click "Show Advanced Options" and paste this into the CSS for Vimium UI text area. */ | |
#vomnibar ol, #vomnibar ul { | |
list-style: none; | |
display: none; | |
} | |
#vomnibar { | |
background: rgba(46, 52, 68, 0.9); |