/zsh-gso

> A Zsh plugin to Grep, Select and Open a file in a blink!

Primary LanguageShellISC LicenseISC

zsh-gso

A Zsh plugin to Grep (ripgrep), Quick-select (fzf) and Open a file in your $EDITOR, in a blink! Jumps to the first match by default in vim/neovim.

Installation

zinit

zinit wait lucid for raisedadead/zsh-gso
Other Plugin Managers

Zplug

zplug "raisedadead/zsh-gso"

Antigen

antigen bundle raisedadead/zsh-gso

Oh-My-Zsh

git clone https://github.com/raisedadead/zsh-gso.git $ZSH_CUSTOM/plugins/zsh-gso
plugins=(
  #...
  zsh-gso
  )

Manual

git clone https://github.com/raisedadead/zsh-gso.git
source zsh-gso/gso.plugin.zsh

Usage

gso

Or trigger with keybindings enabled - Optional - default is disabled.

export GSO_ENABLE_KEYBINDINGS=true

The default keybindings are Ctrl + G.

License

Software: The software as it is licensed under the ISC License, please feel free to extend, re-use, share the code.