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:
@@ -99,3 +99,11 @@ alias youtube-dl 'youtube-dl -t -f bestvideo+bestaudio/best --merge-output-forma
|
|||||||
|
|
||||||
alias weather 'ansiweather'
|
alias weather 'ansiweather'
|
||||||
alias wttr 'curl -s wttr.in/Beverwijk | head -17'
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user