Closed Rovanion closed 8 years ago
As it turns out the above code doesn't work in the sense that C-a get rebound to
move-beginning-of-line
at some point.
When does that happen exactly? When I use this init file, C-a stays bound as expected.
Which Emacs version are you using?
I'm running GNU Emacs 24.5.1 on Ubuntu 16.04.
But it seems like I can't reproduce the issue on my end now either. So I've probably done completely goofed for which I apologise.
I'll instead take this time out of your day to remind you that visual-regexp is absolutely fantastic and it makes me smile every time I use it!
That is very kind, thank you :smile:
I've just debugged the strangest issue with my emacs init files of which a part looks like:
As it turns out the above code doesn't work in the sense that C-a get rebound to
move-beginning-of-line
at some point. But if I move(require 'visual-regexp)
below the key binding likeC-a stays bound to
smart-line-beginning
as it should.I have absolutely no idea why this is, and I know that it doesn't effect the binding of RET and C-j which are mentioned above, but I've been able to replicate this using only the above code as my init file.