I would prefer that hippie-expand behaves more like the completion in Sublime. For example if I expand
As
I would like to get just
Assign
but hippie-expand gives me
Assign.new(:y, Add.new(Variable.new(:y), Number.new(3))))
Is it possible to change this ?
Ok it seems as if the following does exactly what I want:
(global-set-key (kbd "M-/") (make-hippie-expand-function
'(try-expand-dabbrev-visible
try-expand-dabbrev
try-expand-dabbrev-all-buffers) t))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With