Skip to content

Instantly share code, notes, and snippets.

View mauscoelho's full-sized avatar
🏠
Working from home

Maurício Coelho mauscoelho

🏠
Working from home
  • Netherlands
View GitHub Profile
{
{
"key": "v",
"command": "dance.modes.set",
"args": { "input": "extend-select" },
"when": "editorTextFocus && dance.mode == 'normal'"
},
{
"key": "escape",
"command": "dance.modes.set.normal",
--[[
lvim is the global options object
Linters should be
filled in as strings with either
a global executable or a path to
an executable
]]
-- THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT
@mauscoelho
mauscoelho / ListenNotes.bsstrategy
Created October 18, 2018 12:13
Listen Notes integration for BeardedSpice
//
// ListenNotes.plist
// BeardedSpice
//
// Created by Mauricio Coelho on 10/18/18
// Copyright (c) 2013 Tyler Rhodes / Jose Falcon. All rights reserved.
//
BSStrategy = {
version: 1,
@mauscoelho
mauscoelho / lambda-mod.zsh-theme
Created April 2, 2018 02:26
lambda-mod.zsh-theme
#!/usr/bin/env zsh
local LAMBDA="%(?,%{$fg_bold[green]%}λ,%{$fg_bold[red]%}λ)"
if [[ "$USER" == "root" ]]; then USERCOLOR="red"; else USERCOLOR="yellow"; fi
# Git sometimes goes into a detached head state. git_prompt_info doesn't
# return anything in this case. So wrap it in another function and check
# for an empty string.
function check_git_prompt_info() {
if git rev-parse --git-dir > /dev/null 2>&1; then
@mauscoelho
mauscoelho / zshrc
Last active April 2, 2018 02:24
oh my zsh config ~/.zshrc
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/mauscoelho/.oh-my-zsh
export ANDROID_HOME=~/Library/Android/sdk
export AWS=~/Library/Python/3.6/bin
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools