aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/lf/lfrc
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/lf/lfrc')
-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