Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Useful things I've learned this month
- X-seq: zsh-users 10210
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Useful things I've learned this month
- Date: Thu, 4 May 2006 09:07:37 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- Sender: news <news@xxxxxxxxxxxxx>
# alt-e opens current command line in a full vim session
autoload edit-command-line
zle -N edit-command-line
bindkey '\ee' edit-command-line
VISUAL='/bin/vim/'
# useful bindkeys
bindkey -v
bindkey -M viins '^O' copy-prev-shell-word
bindkey '^L' push-line # push current command into a buffer, allows you
to do another command then returns to previous command
bindkey '^P' history-beginning-search-backward # complete on similar
previous parameters
# copy from previous directory (can use tab- completion)
cp ~-/1.txt .
# tab will complete and expand!!
# eg
cp !$<TAB>
cp fred*.jpg<TAB>
--
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author