mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-08 04:03:34 +02: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>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<tags><yank-word> Y</tags>
|
<tags><yank-selection> Y</tags>
|
||||||
<spec>Y</spec>
|
<spec>Y</spec>
|
||||||
<description short="true">
|
<description short="true">
|
||||||
<p>Copy currently selected text to the system clipboard.</p>
|
<p>Copy currently selected text to the system clipboard.</p>
|
||||||
|
|||||||
@@ -2099,7 +2099,7 @@ var Buffer = Module("Buffer", {
|
|||||||
function () { tabs.reload(tabs.getTab(), true); });
|
function () { tabs.reload(tabs.getTab(), true); });
|
||||||
|
|
||||||
// yanking
|
// yanking
|
||||||
mappings.add([modes.NORMAL], ["Y", "<yank-word>"],
|
mappings.add([modes.NORMAL], ["Y", "<yank-selection>"],
|
||||||
"Copy selected text or current word",
|
"Copy selected text or current word",
|
||||||
function () {
|
function () {
|
||||||
let sel = buffer.currentWord;
|
let sel = buffer.currentWord;
|
||||||
|
|||||||
Reference in New Issue
Block a user