helix icon indicating copy to clipboard operation
helix copied to clipboard

Abbreviation

Open pickfire opened this issue 3 years ago • 3 comments

Describe your feature request

Add support for vim like abbr where as you type you can get the abbreviation. Also, it needs a mechanism to cancel out the abbreviation. For example, :abbr ctx context, then when you type ctx it will be changed to context.

pickfire avatar Jan 10 '22 06:01 pickfire

Following a discussion on Matrix with @pascalkuthe about #3023, we came to the conclusion that abbreviations should be implemented as special snippets that trigger instantaneously. It would also require to implement a command to define them on-the-fly. We'll have to wait for the snippet engine (for anyone wondering about it, there's a snippet branch where it is currently being developed). For the impatient: feel free to merge #3023 into you own custom forks until we have this in the snippet engine.

lazytanuki avatar Dec 16 '22 11:12 lazytanuki

@lazytanuki The last commit on the snippets branch was on October last year. Is the branch actively developed?

rajasegar avatar Jul 07 '23 10:07 rajasegar