I am trying to move from Sublime to Emacs. (Because free and all that.) One thing that I miss is the convenient text expansion available by default in Sublime where it picks up similar strings in the same buffer and makes it easy to select a proper expansion. I am sure this is possible in emacs also but haven't figured out how yet.
When I start typing on a string that is already present in the buffer I would like to be able to expand using a shortcut like Ctrl-Space, Alt-Enter or something like that. How do I set this up?
Bonus question. How to find expansion candidates in other buffers also as a secondary option?
UPDATE: tried out dabbrev and it seems to be what sublime does. I sense that the step to move on towards more dynamic completions isn't that far away but I will leave it for now. I bound M-RET to M-/ with:
(global-set-key (kbd "M-RET") 'dabbrev-expand)
(Why I don't like M-/? Because on a swedish keyboard it comes with a Shift. / is Shift-7.....)