Skip to content

Instantly share code, notes, and snippets.

# Zplug
export ZPLUG_HOME=/usr/local/opt/zplug
source $ZPLUG_HOME/init.zsh
zplug "modules/completion", from:prezto
zplug "modules/directory", from:prezto
zplug "modules/git", from:prezto
#zplug "modules/history", from:prezto
zplug "modules/utility", from:prezto
#zplug install
zplug load
map k nextTab
map j previousTab
map P pinTab
map f createTabbedHint
map F createHint

Keybase proof

I hereby claim:

  • I am lee0741 on github.
  • I am lee0741 (https://keybase.io/lee0741) on keybase.
  • I have a public key ASAHVl1lFLpTn93_RXaA0rJwwrF9DuhyJsAZqOAIKCQXbgo

To claim this, I am signing this object:

@lee0741
lee0741 / sVimrc
Last active July 20, 2017 08:06
sVim's configuration file
map "f" createTabbedHint
map "shift+f" createHint
map "k" nextTab
map "j" previousTab
map "l" goForward
map "h" goBack
@lee0741
lee0741 / gist:5429004
Created April 21, 2013 09:06
CSS: Sexy Quote
blockquote {
margin: 1em 2.5em;
}
blockquote:before {
font-family: Monaco, Consolas, "Lucida Console", monospace;
content: "“";
font-size: 3em;
font-style: normal;
text-indent: -0.75em;
@lee0741
lee0741 / .zshrc
Created March 15, 2013 04:51
Shell: Colorized cat and less.
alias cc='pygmentize -g'
function cl() {
cc $1 | less -R
}
@lee0741
lee0741 / .vimrc
Created March 9, 2013 14:26
Vim: Pretty print a JSON file in Vim
map <leader>j :%!python -m json.tool<CR>
@lee0741
lee0741 / imgur.py
Last active December 14, 2015 06:59
Python: A simple python script for uploading images to imgur.
#! /usr/bin/env python
import sys, os, json, ic
import requests
import base64 #image handling import
api_key = #'YOUR DEVELOPER API KEY' http://imgur.com/register/api_anon
url = r'http://api.imgur.com/2/upload.json'
image_path = sys.argv[1]
@lee0741
lee0741 / editor.html
Created January 30, 2013 17:47
HTML: Browser notepad. Inspired by https://coderwall.com/p/lhsrcq
data:text/html;charset=utf-8,
<html>
<head>
<title>My Editor</title>
<style type="text/css">
body, textarea {
background: #002b36;
margin: 0;
}
textarea {