GermainZ / weechat-vimode

A WeeChat script that adds vi-like modes, commands and keybindings.
GNU General Public License v3.0
266 stars 28 forks source link

Possible to bind arrow keys? #69

Closed sQVe closed 6 years ago

sQVe commented 6 years ago

Quick question. Is is possible to bind arrow keys, for example ^W-Left? If so, how?

GermainZ commented 6 years ago

(Is that Ctrl-W followed by <Left>? Does that even work in vim? I can't seem to do it.)

You can use <Up>, <Left>, <Right>, <Down>. Some examples:

sQVe commented 6 years ago

@GermainZ It does work in neovim atleast. You're correct in that I would like to bind Ctrl-W + <Left>.

GermainZ commented 6 years ago

:nmap <C-W><Left> /cmd should work (both in vim in weechat-vimode). :)