mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 05:45:11 +01:00
Page through ripgrep output with less, preserving highlights
This commit is contained in:
@@ -97,6 +97,10 @@ function grepl
|
|||||||
grep --color=always -ir $argv | less -R
|
grep --color=always -ir $argv | less -R
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function rgl
|
||||||
|
rg -p $argv | less -RFX
|
||||||
|
end
|
||||||
|
|
||||||
## Various
|
## Various
|
||||||
#alias tmux 'tmux -2'
|
#alias tmux 'tmux -2'
|
||||||
alias tmux_reload "tmux source-file ~/.tmux.conf"
|
alias tmux_reload "tmux source-file ~/.tmux.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user