aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-28 15:15:40 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-28 15:15:40 +0300
commit0deefeb1fa0dedbc63e28dd5a6714350757beb3e (patch)
treecfa59560403421b8794f5c7c56c93067b0df23f6 /dotfiles
parentbdce2cfb10a204042a35cf574669cb46950e679f (diff)
downloadswayrice-0deefeb1fa0dedbc63e28dd5a6714350757beb3e.tar.gz
swayrice-0deefeb1fa0dedbc63e28dd5a6714350757beb3e.zip
lf mouse bindings
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/lf/lfrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc
index 5b9854c..55c417d 100644
--- a/dotfiles/.config/lf/lfrc
+++ b/dotfiles/.config/lf/lfrc
@@ -5,6 +5,7 @@ set period 1
set ifs "\n"
set info size
set previewer ~/.local/bin/scope
+set mouse on
# Custom commands
@@ -104,3 +105,10 @@ map T :dragon_drop
map W $setsid $TERMINAL > /dev/null 2>&1 & # open new terminal window
map Y :yank-path
map L $LESSOPEN='| ~/.local/bin/scope %s' less -R $f # open file preview in pager
+
+# Mouse bindings
+map <m-1> open
+map <m-2> updir
+map <m-3> invert
+map <m-up> up
+map <m-down> down