diff options
-rw-r--r-- | res/chawan.html | 2 | ||||
-rw-r--r-- | res/config.toml | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/res/chawan.html b/res/chawan.html index b4720db9..fd72ad98 100644 --- a/res/chawan.html +++ b/res/chawan.html @@ -57,7 +57,7 @@ up/down by one row <li><kbd>,</kbd> (comma), <kbd>.</kbd> (period): previous/next buffer <li><kbd>D</kbd>: discard current buffer <li><kbd>M-y</kbd>: copy current buffer's URL to clipboard (needs xsel) -<li><kbd>yc</kbd>: copy the link currently under the cursor to clipboard (needs +<li><kbd>yu</kbd>: copy the link currently under the cursor to clipboard (needs xsel) <li><kbd>M-p</kbd>: go to the URL currently on the clipboard (needs xsel) <li><kbd>[</kbd>, <kbd>]</kbd>: move cursor to the previous/next hyperlink diff --git a/res/config.toml b/res/config.toml index dfe4dcf9..307e974b 100644 --- a/res/config.toml +++ b/res/config.toml @@ -207,7 +207,8 @@ M-y = ''' pager.alert("Failed to copy URL to clipboard. (Is xsel installed?)"); } ''' -yc = ''' +yc = '() => pager.alert("Please use `yu` to copy URLs instead!");' +yu = ''' () => { const link = pager.hoverLink if (!link) |