diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-27 00:18:19 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-01-27 00:18:19 +0300 |
commit | fafd82db58b745782ec0725cd39e82d4c3864c67 (patch) | |
tree | e91d159609534671ec7e44cce912e6725ac283cd /dotfiles | |
parent | fb862406a0719f34933e6755a8592636019b5d70 (diff) | |
download | swayrice-fafd82db58b745782ec0725cd39e82d4c3864c67.tar.gz swayrice-fafd82db58b745782ec0725cd39e82d4c3864c67.zip |
lf: dragon drag-n-drop target
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.config/lf/lfrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/.config/lf/lfrc b/dotfiles/.config/lf/lfrc index 4c2a3ba..31c6945 100644 --- a/dotfiles/.config/lf/lfrc +++ b/dotfiles/.config/lf/lfrc @@ -68,6 +68,8 @@ cmd fzf_jump ${{ # drag and drop prompt cmd dragon $dragon-drag-and-drop -a $fx +cmd dragon_drop $cp $(dragon-drag-and-drop --target | sed 's/file:\/\///g') . + # copy path to clipboard cmd yank-path &printf '%s' "$fx" | wl-copy @@ -87,6 +89,7 @@ map D delete map <enter> shell map f :fzf_jump map t :dragon +map T :dragon_drop map W $setsid $TERMINAL & # open new terminal window map Y :yank-path map L $LESSOPEN='| ~/.local/bin/scope %s' less -R $f # open file preview in pager |