Thank you, Daniel. That patch made it easy to understand how the underlying binding code works, so I had an easy time adding the additional keys I needed to set up the bindings as I wanted. :)
On Tue, 6 Jun 2017 01:21:52 +0200 Daniel Carl <danielc...@gmx.de> wrote: > Hi Skotlex! > > You are right vimb can use <Up> or <Down> but not <C-Up> <C-Down> at the time > and there is no logic to handle 'Alt' modifier. I know that the mapping > possibilities are really limitated at the time, and I have some general > changes in mind to sole some other mapping issues to. But I fear this plan > have to wait for other issues. > I've made a little patch for the current master branch that allows to map > <C-Up> and <C-Down>. But this is only a quick and nearly untested patch. Hope > this helps you a little. > > daniel > > Skotlex <skot...@mailforce.net> wrote: > > Greetings, > > > > I am trying out vimb (3.0-alpha), and so far it looks quite promising. > > However, I can't quite get used to some of the default bindings and would > > like to replace them with my own, yet I can't figure out how to get > > modifiers working with the special keys. Specifically, what I'd like to get > > is Ctrl + Up/Down for next / prev search result and Alt + Left/Right for > > back and forward in the browser history. > > > > In vim the former could be done with <C-Up> and <C-Down>, whereas the > > latter can be done using escape commands (see here: > > https://stackoverflow.com/questions/5379837/is-it-possible-to-mapping-alt-hjkl-in-insert-mode > > ). Sadly, these solutions don't work at all with vimb. Is support for > > these keys planned for the future, or is there some alternative way to get > > it to work as I want? > > > > Thanks in advance for any hints on how to get these bindings working. > > > > > ------------------------------------------------------------------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > _______________________________________________ > > vimb-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/vimb-users >
pgpyFgOfPhDfm.pgp
Description: Signature digitale OpenPGP
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ vimb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vimb-users