zsh-users
 help / color / mirror / code / Atom feed
* Useful things I've learned this month
@ 2006-05-04  9:07 zzapper
  0 siblings, 0 replies; only message in thread
From: zzapper @ 2006-05-04  9:07 UTC (permalink / raw)
  To: zsh-users



# 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-04  9:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-04  9:07 Useful things I've learned this month zzapper

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).