Company mode can help me with completing long words. But I also want to be able to write a shortened version of a word without requiring me to use any keybinding command after writing a word.

For instance I would have report that can be written as rp/; whilst comment can be written as k-; class written as kl'; verbosity written as vbs;. What can I do for a scheme so described? Have thought about the possibility of a completion and shortened insertion that could use a dropdown menu.

Although one could use abbrev, abbrev-mode does not accept shortened versions that include punctuation marks (e.g. k- could not make comment).


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.