1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Not entirely correctly working quick-opener

This commit is contained in:
2018-04-30 14:59:55 +02:00
parent 0640a92e6a
commit 3424ac05f2

View File

@@ -99,3 +99,11 @@ alias youtube-dl 'youtube-dl -t -f bestvideo+bestaudio/best --merge-output-forma
alias weather 'ansiweather'
alias wttr 'curl -s wttr.in/Beverwijk | head -17'
# https://www.reddit.com/r/vim/comments/7axmsb/i_cant_believe_how_good_fzf_is/?st=jgm7kba5&sh=590aa1e0
function rgvim
set choice (rg -il $argv | fzf -0 -1 --ansi --preview "cat {} | rg $argv --context 3")
if [ $choice ]
vim "+/"(to_lower $argv) $choice
end
end