added moveto function in lf
This commit is contained in:
parent
f55f92fb19
commit
e8219bd2a2
|
|
@ -52,15 +52,25 @@ cmd delete ${{
|
||||||
[ $ans = "y" ] && rm -rf -- $fx
|
[ $ans = "y" ] && rm -rf -- $fx
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
cmd moveto ${{
|
||||||
|
clear; tput cup $(($(tput lines)/3)); tput bold
|
||||||
|
set -f
|
||||||
|
clear; echo "Move to where?"
|
||||||
|
dest=$(cat ~/.config/lf/mvdirs | fzf )
|
||||||
|
for x in $fx; do
|
||||||
|
eval mv -iv \"$x\" \"$dest\"
|
||||||
|
done &&
|
||||||
|
notify-send "🚚 File(s) moved." "File(s) moved to $dest."
|
||||||
|
}}
|
||||||
|
|
||||||
cmd genwall "$1"
|
cmd genwall "$1"
|
||||||
cmd bulkrename $vidir
|
|
||||||
|
|
||||||
# Bindings
|
# Bindings
|
||||||
map <c-f> $lf -remote "send $id select \"$(fzf)\""
|
map <c-f> $lf -remote "send $id select \"$(fzf)\""
|
||||||
map J $lf -remote "send $id cd $(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf)"
|
|
||||||
map D delete
|
map D delete
|
||||||
map p paste
|
map p paste
|
||||||
map dd cut
|
map dd cut
|
||||||
|
map M moveto
|
||||||
map yy copy
|
map yy copy
|
||||||
map H top
|
map H top
|
||||||
map E extract
|
map E extract
|
||||||
|
|
@ -97,4 +107,5 @@ map gc cd ~/.config
|
||||||
map gr cd ~/code/repos
|
map gr cd ~/code/repos
|
||||||
map gv cd ~/vids/
|
map gv cd ~/vids/
|
||||||
map gm cd ~/media/movies
|
map gm cd ~/media/movies
|
||||||
|
map gM cd ~/media
|
||||||
map gs cd ~/.local/bin
|
map gs cd ~/.local/bin
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
$HOME/dl
|
||||||
|
$HOME/dox
|
||||||
|
$HOME/music
|
||||||
|
$HOME/movies
|
||||||
|
$HOME/vids
|
||||||
|
$HOME/pix
|
||||||
|
$HOME/pix/ss
|
||||||
|
|
@ -12,7 +12,7 @@ fate -> a power that is believed to control what happens in the future
|
||||||
established -> accepted or followed by many people
|
established -> accepted or followed by many people
|
||||||
compelled -> forced to do
|
compelled -> forced to do
|
||||||
abundant -> existing or occuring in large ammounts
|
abundant -> existing or occuring in large ammounts
|
||||||
bias -> a tendency to believe that some people,idias, etc are better than others useually results in treating some people unfairly
|
bias -> a tendency to believe that some people,idias, etc are better than others usually results in treating some people unfairly
|
||||||
desperate -> feeling or showing a hopeless sense taht a situation is so bad as to be impossible to deal with
|
desperate -> feeling or showing a hopeless sense taht a situation is so bad as to be impossible to deal with
|
||||||
iteration -> the repetition of a process or utterance
|
iteration -> the repetition of a process or utterance
|
||||||
cope -> deal with something difficult
|
cope -> deal with something difficult
|
||||||
|
|
@ -65,7 +65,7 @@ derive -> obtain something from (a specified source)
|
||||||
sceptical -> not easily convinced; having doubts or reservations
|
sceptical -> not easily convinced; having doubts or reservations
|
||||||
psyched -> excited and full of anticipation
|
psyched -> excited and full of anticipation
|
||||||
faucet -> a tap, "nal" in hindi
|
faucet -> a tap, "nal" in hindi
|
||||||
duress -> threats, violence, constrains, or other actions used to coerce someone into doing something against theri will or better judgement
|
duress -> threats, violence, constrains, or other actions used to coerce someone into doing something against their will or better judgement
|
||||||
detriment -> the state of being harmed or damaged
|
detriment -> the state of being harmed or damaged
|
||||||
alleviate -> make (suffering, deficiency, or a problem) less severe
|
alleviate -> make (suffering, deficiency, or a problem) less severe
|
||||||
sentient -> able to perceive or feel things
|
sentient -> able to perceive or feel things
|
||||||
|
|
@ -80,3 +80,6 @@ analogy -> a comparison between one thing and anotherm, typicall for the purpose
|
||||||
contagious -> spread from one person or orgranism to another, typically by direct contact
|
contagious -> spread from one person or orgranism to another, typically by direct contact
|
||||||
leconic -> a person who uses very few words
|
leconic -> a person who uses very few words
|
||||||
petulant -> a person who is rude and acts childish
|
petulant -> a person who is rude and acts childish
|
||||||
|
monologue -> a long speech by one actor in a play or a film
|
||||||
|
apprehension -> anziety or fear that something bad or unpleasant will happen
|
||||||
|
reprise -> a repeated passage in music
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue