Thread: [Vimprobable-users] problem with key mappings in 1.4.1
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
From: Marcos C. <vim...@pr...> - 2014-01-02 12:29:42
|
I just realized my Ctrl- and M1- mappings don't work with 1.4.1. I tried defining them in the command line too, with the different available formats (<C-x>, Ctrl-X...), but they still don't work. Compililng 1.4.1 with the bundled config.h and keymap.h, or with my custom versions from 1.4.0 makes no difference. I returned to 1.4.0 and all mappings work. It doesn't seem a problem of my mine. Can someone confirm? -- Marcos Cruz http://programandala.net |
From: Marcos C. <vim...@pr...> - 2014-01-02 12:37:34
|
En/Je/On 2014-01-02 13:02, Marcos Cruz escribió / skribis / wrote : > available formats (<C-x>, Ctrl-X...), Oops, there's only one format: map <C-q> quit I supposed there was a new alternative format after taking a look at the man page, because its layout is unclear in this example: Examples: <C-h> : Ctrl-h <C-k> : Ctrl-k z<M1-i>: z followed by Alt-i I suggest this: Examples: <C-h> means Ctrl-h <C-k> means Ctrl-k z<M1-i> means z followed by Alt-i Anyway I use the good (and only) format it in my config file and in the command line, and it does not work with 1.4.1. -- Marcos Cruz http://programandala.net |
From: Hannes S. <ha...@yl...> - 2014-01-02 12:47:12
|
On Thu, 2 Jan 2014 13:02:50 +0100, Marcos Cruz <vim...@pr...> wrote: > I just realized my Ctrl- and M1- mappings don't work with 1.4.1. I put map <C-x>=quit in vimprobablerc and it's working. The crappy layout of the examples in the man page need to be fixed, of course, but I can't reproduce this behaviour you're describing. Hannes |
From: Marcos C. <vim...@pr...> - 2014-01-03 21:43:25
|
En/Je/On 2014-01-02 13:46, Hannes Schüller escribió / skribis / wrote : > map <C-x>=quit > in vimprobablerc and it's working. I don't understand. <C-x> works here too, and also <C-u>. But many others don't, including the mappings of single keys that implicity _require_ a modifier. It makes no difference in vimprobablerc or the command line. When I switch back to 1.4.0, all mappings work. I'll investigate further. I'll try to find out a pattern or a clue. -- Marcos Cruz http://programandala.net |
From: Hannes S. <ha...@yl...> - 2014-01-03 21:47:28
|
On Fri, 3 Jan 2014 22:16:32 +0100, Marcos Cruz <vim...@pr...> wrote: > including the mappings of single keys that implicity > _require_ a modifier I'm not sure I understand what you mean. Do you have any examples? Hannes |
From: Marcos C. <vim...@pr...> - 2014-01-03 22:10:12
|
En/Je/On 2014-01-03 22:47, Hannes Schüller escribió / skribis / wrote : > On Fri, 3 Jan 2014 22:16:32 +0100, Marcos Cruz wrote: > > including the mappings of single keys that implicity > > _require_ a modifier > > I'm not sure I understand what you mean. Do you have any examples? I mean a single keypress, not combined with <C-> or <M1->: map \=source map *=pgzi map _=pgzo but which actually requires a modifier, a dead key, Alt or AltGr or even Shift, because of the keyboard layout. For example, I think the backslash character needs a single keypress with an English QWERTY layout, but it needs AltGr with my Spanish Dvorak layout. Those mappings don't work, or at least those in my config file. The only mappings not affected are single keys that need no modifier. All this looks an issue of my system, but it happens only with Vimprobable2 1.4.1 :) I'll do some tests to find out the error conditions. -- Marcos Cruz http://programandala.net |
From: Hannes S. <ha...@yl...> - 2014-01-12 11:05:42
Attachments:
mappings.patch
|
Hi, can you please test the attached patch? Hannes |
From: Marcos C. <vim...@pr...> - 2014-01-18 19:34:39
|
En/Je/On 2014-01-12 12:05, Hannes Schüller escribió / skribis / wrote : > can you please test the attached patch? I've been busy, sorry. It seems the patch fix the problem: Now "Ctrl-Q" and "\" work! Finally I've installed 1.4.1 (I was using 1.4.0 because of this problem). I'll try all keymaps. I see what the patch does, but I don't understand why only certain dead-key combinations failed (e.g. "Ctrl-Q" failed t but "Ctrl-X' worked). Thank you. -- Marcos Cruz http://programandala.net |
From: Hannes S. <ha...@yl...> - 2014-01-19 07:31:44
|
Marcos Cruz <vim...@pr...> wrote: > En/Je/On 2014-01-12 12:05, Hannes Schüller escribió / skribis / > wrote : > > can you please test the attached patch? > > It seems the patch fix the problem: Now "Ctrl-Q" and "\" work! > > I see what the patch does, but I don't understand why only certain > dead-key combinations failed (e.g. "Ctrl-Q" failed t but "Ctrl-X' > worked). The problem was that all redefinitions of existing keybindings worked, but no new ones could be defined. I'll try to push out a bugfix release soon :) Hannes |