mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 06:14:12 +01:00
Rename <yank-word> to <yank-selection>. That's what it's really used for.
This commit is contained in:
@@ -540,7 +540,7 @@
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<tags><yank-word> Y</tags>
|
||||
<tags><yank-selection> Y</tags>
|
||||
<spec>Y</spec>
|
||||
<description short="true">
|
||||
<p>Copy currently selected text to the system clipboard.</p>
|
||||
|
||||
@@ -2099,7 +2099,7 @@ var Buffer = Module("Buffer", {
|
||||
function () { tabs.reload(tabs.getTab(), true); });
|
||||
|
||||
// yanking
|
||||
mappings.add([modes.NORMAL], ["Y", "<yank-word>"],
|
||||
mappings.add([modes.NORMAL], ["Y", "<yank-selection>"],
|
||||
"Copy selected text or current word",
|
||||
function () {
|
||||
let sel = buffer.currentWord;
|
||||
|
||||
Reference in New Issue
Block a user