Skip to content

ouonline/emacs-company-ofc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

These are fuzzy completion backends for company-mode of Emacs. company-ofc-token is for token completions and company-ofc-path for path completions.

Candidates are case sensitive but the matching behavior is not. Modified or newly inserted words of a buffer cannot be found until this buffer is saved. Candidates are sorted by their used frequencies and edit distances.

Screenshots

Token Completions

ofc-token

Path Completions

ofc-path

Installations

;; company mode settings example

(add-to-list 'load-path "/path/to/emacs-company-ofc")

(add-hook 'prog-mode-hook (lambda ()
                            (setq-local company-backends '(company-ofc-path company-ofc-token))
                            (company-mode)))
(add-hook 'shell-mode-hook (lambda ()
                            (setq-local company-backends '(company-ofc-path))
                            (company-mode)))

About

a fuzzy completion backend for company-mode of Emacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published