Skip to content

Instantly share code, notes, and snippets.

Jordan Acosta jordan-acosta

Block or report user

Report or block jordan-acosta

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jordan-acosta
jordan-acosta / README.markdown
Created Jan 12, 2012 — forked from weakish/README.markdown
Bookmark directories in #Bash.
View README.markdown

Bookmark directories in Bash.

Install

Source bmark.sh in your ~/.bashrc. (Enableing cdable_vars in Bash makes this script better.)

Usage

View console.log.vim
" Console log from insert mode; Puts focus inside parentheses
imap cll console.log();<Esc>==f(a
" Console log from visual mode on next line, puts visual selection inside parentheses
vmap cll yocll<Esc>p
" Console log from normal mode, inserted on next line with word your on inside parentheses
nmap cll yiwocll<Esc>p
You can’t perform that action at this time.