> what about adding a new keybinding which provides the desired behaviour
> instead? I'd say leave the new keybinding unset but then users can rebind it
> to Ctrl-C if they like
OK, good idea. I can make cut/copy word keybindings that just cut/copy the
selection when there is a selection.
--
Closed #3391.
--
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3391#event-8539577267
You are receiving this because you are subscribed to this thread.
Message ID:
I find this also confusing behaviour and don't think we should do this.
@ntrel, what about adding a new keybinding which provides the desired behaviour
instead? I'd say leave the new keybinding unset but then users can rebind it to
Ctrl-C if they like. And all other users won't be confused.
--
@ntrel pushed 1 commit.
62f9eb5f5369b3c7d550e1465026224a818058f3 Only select word on copy (which
copies to X clipboard)
--
View it on GitHub:
https://github.com/geany/geany/pull/3391/files/bdaaa3cd609427880a4a031333c21049518d7940..62f9eb5f5369b3c7d550e1465026224a818058f3
You are receiving
> this only selects the current word.
Ok, it only selects, agree your op said that, but I misunderstood due to the
strength of the preconception that ctrl-c copies. Shows what the power of that
expectation is.
Agree with @ntrel that there are other adjacent keybindings with risks, but
So ^C once if nothing is selected selects the current word? And to "copy
current word", hit ^C twice?
I don't know, this sounds awfully confusing if the user doesn't actually know
how this behaves, and I don't personally see the huge benefit it gives.
--
Reply to this email directly or view
> But it certainly copy word could be made available, and even bound by default
> to some other keybinding.
I don't think there are any obvious nice bindings left. The nice thing about
this is you can use it to select a word even if you don't want to cut or copy
it, using a handy combination.
> If the user misses the v and hits the c (side by side on common keyboards)
> they lose what is in the clipboard,
Actually they don't, this only selects the current word.
> which may be a disaster if they had cut not copied that content.
Much worse is if you mean to press Ctrl-T and you press
If the user misses the v and hits the c (side by side on common keyboards) they
lose what is in the clipboard, which may be a disaster if they had cut not
copied that content. At the very least its a hassle to recover and requires
the user remembers exactly what they had in the clipboard.
See