|
From: Johan H. <hol...@ia...> - 2006-03-10 08:58:47
|
Joachim Eibl wrote: > Hi Johan, > > On Tuesday, 7. March 2006 14:38, Johan Holmberg wrote: >> Is it possible to change the keys used in "merge mode" to select between >> lines from file A or B. I would like to avoid the current settings where >> I have to press two keys on my keyboard (e.g. "Ctrl" and "1") for each >> selection. > > Changing the keys is possible under KDE or directly in the source. > I see. Unfortunately I use kdiff3 on Windows :) >> Instead I would like to use some "free" key, for example a function key >> (one of F1, F2, F3, ... if one happens to be free), or some other >> one-keystroke-key. > > The keys F1 (help), F3 (find next), F5 (reload), F6 (run operation for current > item) and F7 (start directory merge) are already in use. > > Would F10,F11,F12 be ok? > I'm quite new to kdiff3, so I have no definite opinion yet. On a general level, what I wanted was to have key bindings that will make it easy to "process" a merge between two files, with minimal movement of my fingers (in the same "spirit" as many modules in Emacs for example). Since movement between "Merge Conflicts" is done with Ctrl-Up and Ctrl-Down, I would have liked if Ctrl-Left and Ctrl-Right would do the selection that is now done with Ctrl-1 and Ctrl-2. Then I could hold Ctrl permanently pressed, and just use the arrows to move AND select. I don't know if this would fit into the general kdiff3-style of key bindings. Probably not, since I see now that Ctrl-Right is "forward-word" in other situations. Maybe there is some other intuitive and finger-friendly key setup that is still "free" to use? Thanks for a great tool, /Johan Holmberg |