Skip to content

Instantly share code, notes, and snippets.

@mikowl
mikowl / emacs-config.org
Created Jul 15, 2020
emacs config as of 07/15/20
View emacs-config.org

Emacs configuration

Improve startup time

@mikowl
mikowl / nord-vimium.css
Created Jul 5, 2019
Nord Vimium Theme
View nord-vimium.css
/* 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);
@mikowl
mikowl / keybindings.json
Last active Jun 23, 2019
vscode keybindings
View keybindings.json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "cmd+n",
"command": "workbench.action.files.newUntitledFile"
},
{
"key": "cmd+k cmd+t",
"command": "workbench.action.selectTheme"
},
@mikowl
mikowl / .vimrc
Last active Jun 23, 2019
work vimrc 06/23/19
View .vimrc
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'
@mikowl
mikowl / .vimrc
Created Jun 3, 2019
.vimrc (no NerdTree)
View .vimrc
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'
@mikowl
mikowl / my-vscode-plugins.md
Last active Jun 7, 2019
vscode plug-in list
View my-vscode-plugins.md

vs code extensions

code --install-extension alefragnani.Bookmarks code --install-extension alexanderte.dainty-nord-vscode code --install-extension alexanderte.dainty-vscode code --install-extension arcticicestudio.nord-visual-studio-code code --install-extension atlassian.atlascode code --install-extension CoenraadS.bracket-pair-colorizer code --install-extension dbaeumer.jshint code --install-extension dbaeumer.vscode-eslint code --install-extension dracula-theme.theme-dracula

@mikowl
mikowl / settings.json
Last active Jun 23, 2019
vscode config
View settings.json
{
"workbench.colorTheme": "Giant squid",
"workbench.startupEditor": "none",
"workbench.iconTheme": "vscode-icons",
"workbench.tree.indent": 14,
"workbench.activityBar.visible": true,
//"workbench.colorCustomizations": {
// Sometimes this needs to be a bit brighter
//"gitDecoration.ignoredResourceForeground": "#FFFFFF50"
//},
@mikowl
mikowl / .vimrc
Last active Jun 10, 2019
.vimrc (NerdTree version)
View .vimrc
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'
@mikowl
mikowl / settings.json
Created Apr 23, 2019
My VSCode settings.json
View settings.json
{
"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,
@mikowl
mikowl / oneliners.js
Last active Jun 5, 2020
👑 Awesome one-liners you might find useful while coding.
View oneliners.js
// By @coderitual
// https://twitter.com/coderitual/status/1112297299307384833
// 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);
You can’t perform that action at this time.