commit 3f51de8ab67c85fdf43654ad22c0497e28e31338
parent a205e035de27e5455cd8c5f527f666306351b5ce
Author: regexghost <dev@regexghost.com>
Date: Wed, 29 Jul 2026 23:09:41 +0100
nano system copy patch
Diffstat:
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dotfiles/.config/nano/nanorc b/dotfiles/.config/nano/nanorc
@@ -36,6 +36,7 @@ bind ^T findprevious all
bind ^R replace main
bind ^X cut all
bind ^C copy main
+bind ^I copysystem main
bind ^V paste all
bind ^P location main
bind ^A mark main
diff --git a/init.sh b/init.sh
@@ -71,3 +71,5 @@ curl "https://raw.githubusercontent.com/jarun/nnn/refs/heads/master/plugins/prev
chmod +x ~/.config/nnn/plugins/preview-tui
sed 's/currentColor/white/g' /usr/share/icons/Papirus/24x24/symbolic/emblems/emblem-music-symbolic.svg > /tmp/temp.svg
magick -background none -fill white -density 400 /tmp/temp.svg -resize 100x100 ~/.local/share/regexghost/panel/emblem-music-symbolic.png
+
+sudo apt remove intel-media-va-driver # For old intel systems <= 4th gen, stops an mpv error
diff --git a/otherPrograms.sh b/otherPrograms.sh
@@ -116,6 +116,10 @@ nano () {
tar -xf *.xz
cd */
./configure --prefix="$HOME/.local"
+
+ cp ../../patches/nano-copy-system.diff .
+ patch -p 1 < nano-copy-system.diff
+
make
make install
cd ..