new vi-webmode keybindings

This commit is contained in:
John McQuah 2022-03-20 16:58:05 -04:00
parent 574fcd3579
commit 61b6a4b2d5
3 changed files with 16 additions and 6 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/jmq.pub
RWTTPlFarK9CxC5BtDM1Q9qGf7g0VC+1WvRYkiYHutE3eAQ5SFOWSOTJEQIy95Yy0q8Cg7f0x5r5faD0U2cnQcCWUqhuLE5+UQc=
SHA256 (Pkgfile) = 3a74b537da86b1ebbf445c1b78aa25cc74d24f76a20949a94e6b412f1209df97
RWTTPlFarK9CxBtCrwr8DDjfo2kAEUY1n+e65gXA2Mi8BEWS0XvRUo9WnanOo3yTQbjAHXH2zwiIzJ17R/SqoUg7lIAPf0o9PgI=
SHA256 (Pkgfile) = 7d76eba8816d0406b81cf2a2753dbd718c6a32022f5b8cd9504251bd2840466e
SHA256 (.footprint) = 7faa43a04ece44040595e53c45e62b89b2b03d498ec51941d217a0659b759420
SHA256 (nyxt-2.2.4-source-with-submodules.tar.xz) = 04f740f8405044cc89920d41d340d6d137e1d4f7be098d4813d1523f73d725a9
SHA256 (newtab-default.patch) = f7dc0af002cbc2d170bb0f11977df30be271b1a3f7ec3c82c1efc0004aa72336
SHA256 (vi-keybindings.patch) = 9987cb791905e7d6175b9cfe00c3c5301bd7c138677e8ddfaeb3b112aa836e81

View File

@ -7,13 +7,13 @@
name=nyxt
version=2.2.4
release=1
source=(https://github.com/atlas-engineer/nyxt/releases/download/$version/$name-$version-source-with-submodules.tar.xz newtab-default.patch)
source=(https://github.com/atlas-engineer/nyxt/releases/download/$version/$name-$version-source-with-submodules.tar.xz vi-keybindings.patch)
build() {
# change vi keymap: new URLs open more easily in a separate tab
# some tweaks to the vi keymap
cd source
patch -p1 < $SRC/newtab-default.patch
patch -p1 < $SRC/vi-keybindings.patch
cd -
make all

View File

@ -11,3 +11,13 @@
"g o" 'set-url-new-nosave-buffer
"m u" 'bookmark-url
"m d" 'delete-bookmark
--- a/web-mode.lisp 2022-01-14 05:17:53.000000000 -0500
+++ b/web-mode.lisp 2022-03-20 16:50:37.595566965 -0400
@@ -160,6 +160,7 @@ and to index the top of the page.")
"H" 'history-backwards
"L" 'history-forwards
"y y" 'copy
+ "y f" 'copy-hint-url
"p" 'paste
"d d" 'cut
"u" 'undo