[dev] [dmenu] Readline Bindings

2011-11-14 Thread Bastien Dejean
Hi, A few problems with the current 'readline' bindings: C-w is not extremely useful as it considers that anything except 'space' is a word character. #| That's now the default bash behavior and it can be overcome by appending the following lines to your .inputrc: set

Re: [dev] [dmenu] Readline Bindings

2011-11-14 Thread Connor Lane Smith
Hey, We aren't intending to have 'readline' bindings, readline just happens to have a few useful bindings we can steal. On 14/11/2011, Bastien Dejean nihilh...@gmail.com wrote: C-w is not extremely useful as it considers that anything except 'space' is a word character. I actually find this

Re: [dev] [dmenu] Readline Bindings

2011-11-14 Thread Bastien Dejean
Connor Lane Smith a écrit : On 14/11/2011, Bastien Dejean nihilh...@gmail.com wrote: C-w is not extremely useful as it considers that anything except 'space' is a word character. I actually find this more useful. A lot of implementations zip through all your non-alnum symbols when you

Re: [dev] [dmenu] Readline Bindings

2011-11-14 Thread Connor Lane Smith
On 14/11/2011, Bastien Dejean nihilh...@gmail.com wrote: I happen to use dmenu to move image files around from within sxiv and, in this context, I found the default C-w behavior to be inappropriate. I'll have a think about whether there's a compromise. Well, suppose you're using C-f to move

Re: [dev] [dmenu] Readline Bindings

2011-11-14 Thread Bastien Dejean
Connor Lane Smith a écrit : On 14/11/2011, Bastien Dejean nihilh...@gmail.com wrote: Well, suppose you're using C-f to move down in the list of matches, then you want to move up, you hit C-b because it's the natural symmetric of C-f and you end up moving the cursor backward in the search

Re: [dev] [dmenu] Readline Bindings

2011-11-14 Thread Connor Lane Smith
On 14/11/2011, Bastien Dejean nihilh...@gmail.com wrote: This is only true when the search string is empty which is extremely rare: most of the times the first thing the user do is to type a few characters to filter the results and hence, the cursor is then at the end of the search string, C-f