My bash configuration files with a couple of useful aliases.
Fire up your terminal and type the following in it:
$ curl https://raw.github.com/wschott/dotfiles/master/install.sh | sh
Don't worry, all your old files will be backed up!
$ git clone git://github.com/wschott/dotfiles.git ~/.dotfiles
$ ~/.dotfiles/install.sh
$ git submodule init
$ git submodule update
by running:
$ ~/.dotfiles/install.sh
,inv
— Toggle invisibles.,tc
— toggle completion with tab key,e
— Opens an edit command with current file's path as directory.te
— Opens an edit commend for a new tab.,d
— Open directory of current file in current tab.,dt
— Open directory of current file in new tab.,cd
— Open current file's directory.,,
— Toggle search highlight.H
— go to start of lineL
— go to end of lineY
— Yank from cursor to end of line (same asy$
).,*
— Replace word under cursor.>
— indent current block<
— unindent current blockzj
— insert a newline belowzk
— insert a newline above,vu
— Source .vimrc.Q
— reformat paragraph
⌃j
— go to previous tab⌃k
— go to next tab
+
— increase split size-
— decrease split size⌃h
— go to left split⌃l
— go to right split,h
— create a split on the left side,l
— create a split on the right side,k
— create a split above,j
— create a split below
:W
— Alias to:w
- Taskpaper
,td
— mark as done,tx
— mark as cancelled,tp
— fold all projects,ta
— show all projects,tc
— show all tasks with context under cursor