diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-28 15:15:40 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-12-28 15:15:40 +0300 |
commit | 0deefeb1fa0dedbc63e28dd5a6714350757beb3e (patch) | |
tree | cfa59560403421b8794f5c7c56c93067b0df23f6 | |
parent | bdce2cfb10a204042a35cf574669cb46950e679f (diff) | |
download | swayrice-0deefeb1fa0dedbc63e28dd5a6714350757beb3e.tar.gz swayrice-0deefeb1fa0dedbc63e28dd5a6714350757beb3e.zip |
lf mouse bindings
-rw-r--r-- | dotfiles/.config/lf/lfrc | 8 |
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 |