Skip to content

A helm interface for completing by lines typed elswhere in your git project.

Notifications You must be signed in to change notification settings

torgeir/helm-lines.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

helm-lines.el

A helm interface for completing by lines elsewhere in your project.

MELPA

Installing

It's on MELPA. Run M-x package-install helm-links to install it.

Or preferably using the ingenious use-package declaration

(use-package helm-lines
  :commands (helm-lines))

This package requires git and rg, ag or pt. If you prefer pt over rg or ag, remember to (setq helm-lines-search-function 'helm-lines-search-pt) in your config.

Features

This plugin will let you complete lines you already typed elsewhere in your project, by searching through files in the current git repo using ag, displaying the results in helm.

Run helm-lines to pop open a search for a line that contains what you already typed on the line you are at. Skip between them with C-p and C-n and hit enter to finish up the line.

helm-lines-feature-preview

Use it with helm-follow-mode to show the resulting line in-place.

Credits/inspiration

helm-ag - https://github.com/syohex/emacs-helm-ag

License

Copyright (C) 2018 Torgeir Thoresen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

A helm interface for completing by lines typed elswhere in your git project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published