Browse Source

fzf-ranger

red-hat-laptop
Kevin Mok 5 years ago
parent
commit
527b573d29
Signed by: Kevin-Mok GPG Key ID: 6E920656BBAD3E6C
  1. 4
      aliases/key_aliases.tmpl
  2. 7
      aliases/key_files.tmpl
  3. 3
      dot_config/fish/config.fish.tmpl
  4. 6
      dot_config/fish/functions/fzf-ranger.fish

4
aliases/key_aliases.tmpl

@ -161,7 +161,7 @@ s "systemctl suspend"
x "exit"
so "xset dpms force off"
sd "tmux kill-server; systemctl poweroff"
rb "systemctl reboot"
rbt "systemctl reboot"
lo "i3-msg exit"
xm "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
X "xmodmap ~/.Xmodmap && xset r rate $XSET_DELAY $XSET_RATE"
@ -745,7 +745,7 @@ nst "cp ~/Documents/workout-logs/stretching.md /tmp && nvim /tmp/stretching.md"
# Red Discord bot
rde "pyenv shell red-discord-bot-test"
rdb "redbot --dev --debug"
rb "redbot --dev --debug"
# ]]] coding projs #

7
aliases/key_files.tmpl

@ -37,6 +37,7 @@ cc ~/linux-config/private_dot_calcurse/conf
ci ~/linux-config/txt/ideas.md
cm ./commit-msg.txt
cmt /tmp/commit-msg.txt
el ~/Documents/twitch-emotes/links-new.md
h ~/.habitctl/log
hh ~/.habitctl/habits
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
@ -49,8 +50,8 @@ mc ~/coding/mf-site/assets/sass/main.scss
mi ~/coding/mf-site/ideas.md
ne ~/linux-config/configs/neofetch/config.conf
re README.md
rda ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/adventure.py
td todo.md
el ~/Documents/twitch-emotes/links-new.md
tg ~/.config/watson/tags_cache
tt txt/todo.md
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
@ -82,7 +83,7 @@ wh ~/Documents/journal/todo/work-habit.md
# ]]] sch #
# gaming
cra ~/Documents/red-discord-bot/repos/gobcog/adventure/data/default/attribs.json
crm ~/Documents/red-discord-bot/repos/gobcog/adventure/data/default/monsters.json
cra ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/attribs.json
crm ~/Documents/red-discord-bot/repos/gobcog-kevin/adventure/data/default/monsters.json
mta ~/.minetest/clientmods/custom_aliases/init.lua
pk ~/Downloads/pokecord/pokecord2.md

3
dot_config/fish/config.fish.tmpl

@ -141,7 +141,8 @@ abbr def "define"
abbr ens "enable-site"
abbr ev "evince-silent"
# abbr fbg "find-bg"
abbr fn "fzf-vim"
abbr fr "fzf-ranger"
abbr fv "fzf-vim"
abbr fvft "find-vim-filetype"
# git [[[ #

6
dot_config/fish/functions/fzf-ranger.fish

@ -0,0 +1,6 @@
function fzf-ranger
set dir (fd -td | fzf)
if test ! -z "$dir"
ranger $dir
end
end
Loading…
Cancel
Save