StefanMajonez / search-edit

A simple bash script which searches through all files in a given directory, lets you choose from the results, and opens the chosen file and line in vim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

search-edit

License: GPL v3+

Example gif

A simple bash script which searches through all files in a given directory, lets you choose from the results, and opens the chosen file and line in $EDITOR.

vi, vim, nano and emacs all understand the '+line_number' notation.

Where this script started

TODO:

  • getopts and a --help option
  • find out whether I want to spend more time on this script than I already have, or just leave it as-is

About

A simple bash script which searches through all files in a given directory, lets you choose from the results, and opens the chosen file and line in vim.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%