Questions tagged [dabbrev]
The dabbrev tag has no usage guidance.
12
questions
2
votes
0answers
32 views
Markov matcher for dabbrev
While writing plain text (not code), I'd like a completion based on more context, an exmple would speak more so here it is:
Given the following buffer (a preloaded big text corpus would make more ...
1
vote
1answer
28 views
How to make dabbrev support CamelCase or a better auto-completion in java buffers
I use dabbrev as my auto-complete function (and since most of what I code is snake_case it works well). However, I'm now doing a Java project and everything is CamelCase. How do I make dabbrev ...
0
votes
0answers
13 views
Make dabbrev-expand work by line
Is there any way to make dabbrev-expand work by lines, so that, for example, having typed
This = That
T
dabbrev-expand returns This as the first expansion, rather than That.
In general, I more ...
1
vote
1answer
64 views
Replace a character with a string as it is typed
I would like to do the following: activate some mode so that whenener I type the $ character in my buffer, it immediately gets replaced by <m>.
Even better: when I type $ it puts <m></m&...
0
votes
1answer
148 views
How to refresh dabbrev candidates displayed by company after each save
I've been using Ivy Irony Company for some time and it works great on all libraries I included in my C++ program so far, but I've noticed Ivy rarely auto-completes my user defined classes, objects, ...
1
vote
1answer
233 views
How can I prevent company-mode completing non-English chars?
i tried these codes before,
but none of them works for me .
how can i edit this to achieve my goal.
1
vote
0answers
276 views
Company duplicates
I use gtags, jedi and dabbrev for python. Sometimes the duplicates get a bit annoying. I read that using :with should sort out the duplicates problem. However, it does not... Is there a better ...
1
vote
1answer
137 views
how to ignore hyphens in completion candidates using company-dabbrev backend?
How can I modify company-dabbrev to behave like other company-backends, so I also receive words as completion candidates, that are connected with hyphens.
3
votes
2answers
443 views
How to use abbrev for words with dollar-sign ($) as prefix?
My setup
GNU Emacs GUI (version 24.4.51.1 (x86_64-w64-mingw32)
compiled from Harroogan Emacs.)
Situation
I would like to type a word in PHP-mode, and it will automatically ...
2
votes
1answer
183 views
Use hippie-expand to complete ruby symbols without prefix
I am an avid hippie-expand user but I find it annoying that it natively doesn't complete ruby symbols without the prefix. For example (cursor is |):
class ApplicationController < ActionController::...
39
votes
1answer
4k views
How to make Company mode be case-sensitive on plain Text?
By default, Company mode seems to convert every prediction into lower case.
E.g:
HelloWorldOfGoo
HelloWorldOfEmacs
->
Hell
[Helloworldofgoo] //Company prediction
[...
6
votes
2answers
778 views
case-sensitivity of word completion using dabbrev
I sometimes use M-/ to complete words but it is not case sensitive. For example :
the word is : showPublic and when I write show and then put M-/, It completes as showpublic. How can I fix this ?
...