Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Useful things I've learned this month




# 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