Skip to content

Simple GNU Emacs company-mode completion backend for previous whole buffer lines

License

Notifications You must be signed in to change notification settings

johannesrohrer/company-sameline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

company-sameline

GPL 3

company-mode completion using previous lines.

A simple backend offering buffer lines above point as completion candidates with point at the end of a line.

Installation

Put company-sameline.el somewhere in load-path, then load it and add company-sameline to company-backends within your emacs init file:

(require 'company-sameline)
(add-to-list 'company-backends 'company-sameline)

Activation

Since this type of completion will probably be useful under rather specific circumstances only, a buffer-local variable is used to activate or deactivate it.

Set company-sameline-active to t to turn it on. I usually do this in a file variable.

About

Simple GNU Emacs company-mode completion backend for previous whole buffer lines

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published