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

Re: changing the definition of a "word"



On Sep 6,  4:49pm, Zefram wrote:
} Subject: Re: changing the definition of a "word"
}
} >is there someway I can tell zsh to take a / as being an indication  
} >of when a "word" begins/ends?
} 
} The normal vi mode word movement commands (vi-forward-word and
} vi-backward-word) have this behaviour.  You could bind them to whatever
} keys you want.

Has everyone forgotten the WORDCHARS variable?

# Leave =/&; out of WORDCHARS so ^W acts more nicely -- still not ideal
WORDCHARS='*?_-.[]~\!#$%^(){}<>'


-- 
Bart Schaefer                     Vice President, Technology, Z-Code Software
schaefer@xxxxxxxxxx                  Division of NCD Software Corporation
http://www.well.com/www/barts



Messages sorted by: Reverse Date, Date, Thread, Author