fish: Add a helper to pipe command output to nvim
This commit is contained in:
parent
e92cc8a823
commit
6af6dfa93a
1 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,10 @@ function rgc --description "Search within a file with ripgrep with context"
|
|||
rg --color always -C 10 --context-separator="---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------" $argv | nvim -R +AnsiEsc
|
||||
end
|
||||
|
||||
function vo --description "Pipe a command output to neovim"
|
||||
$argv | nvim -R
|
||||
end
|
||||
|
||||
fzf_key_bindings
|
||||
|
||||
starship init fish | source
|
||||
|
|
Loading…
Reference in a new issue