On Wednesday, April 25, 2012 at 11:43 AM, Jason Miller wrote:
Hi Frank,I just ran a few tests and the problem does only appear to be an issueunder tmux, when I use a bare terminal (rxvt-unicode) everything worksfine.An example of the problem would be from insert mode quickly pressing ESC k,which I expect to exit insert mode and move up a line. Under tmux itjust says "End of buffer" and remains in insert mode.-JasonOn 08:40 Wed 25 Apr , Frank Fischer wrote:On Tue, Apr 24, 2012 at 04:08:58PM -0700, Jason Miller wrote:I really like evil under X, but find it nearly unusable in a terminaldue to escape/meta clashing in insert mode. I currently use exactly onemeta keybinding in insert mode (M-Tab) and hardly ever press tab innormal mode, so ideally I'd like to supress all meta bindings exceptM-Tab while in insert mode.M- keybindings are usually placed in a keymap under the ESC prefixkey, so you could, e.g., replace the binding on ESC by some directcommand:(define-key evil-insert-state-map (kbd "ESC") #'evil-force-normal-state)But this would disable M-TAB as well. There is, afaik, no easy way toget both because you can only have either the direct command bound toESC or the prefix-map.But I think I do not understand your problem. What *exactly* does notwork as you expect? Evil tries to deal with escape/meta in terminalmode (by doing some magic with a command bound to ESC which sometimesbehaves like a prefix-map) and it should work in almost all cases. Ifit does not work we would like to know the exact situation when thishappens.And for problems with terminal mode it is important to know whichterminal you use and if you use a terminal multiplexer like screen ortmux.Frank_______________________________________________implementations-list mailing list_______________________________________________implementations-list mailing list