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

Re: Keybindings for prev- and next-char



    Hi Chris :)

 * Chris Johnson <cjohnson@xxxxxxxxxx> dixit:
> DervishD sent me the following 0.7K:

    XDDDD, very funny attribution XD
 
> Upon returning to it, I found that ^[ was not bound to anything.  So,
> 
>    bindkey "^[" vi-cmd-mode
> 
> was all I needed.  Initially I had
> 
>    bindkey -M viins "^[" vi-cmd-mode
> 
> but upon closer inspection it appears that viins isn't really my keymap.

    Oh :(( Well, that seems to be solved :)

> However, EDITOR and VISUAL are both set to vi -- in my .zshrc file. 
> Does it matter where these are set?  The main page checks these
> "when the shell starts up."

    I don't have the slightest idea: I use my own keymap, made from
scratch. I even delete vi??? and emacs keymaps, so I've never find
which keymap was on by default :?

    Raúl Núñez de Arenas Coronado

-- 
Linux Registered User 88736
http://www.dervishd.net & http://www.pleyades.net/



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