4 ms·
> c-x c-[fa] You mean c-x c-[fs], right? I'm by no mean an emacs expert although I've been using it for 6 years now, and when I read your comment I thought "Wo
by S4M 9y ago
> c-x c-[fa]
You mean c-x c-[fs], right? I'm by no mean an emacs expert although I've been using it for 6 years now, and when I read your comment I thought "Wow, c-x c-a is a functionality? How comes I have never used that?", so I tried that in emacs but it's not mapped to anything.
Apart from that, I fully agree with your comment.
- hellofunk 9y agoI had the same reaction when I read this. I was looking forward to getting to my computer later today so I can see what that key map does!
- gumby 9y agoYes, it's a typo (but I can't edit my post anymore). c-x c-f and c-x c-s
- omaranto 9y agoIf you want a suggestion for what to bind C-x C-a to, I use this function: (defun align-all-matches (start end regexp) "Align all matches of the given regular expression." (interactive "r\nsAlign regexp: ") (align-regexp start end (concat "\\(\\s-*\\)" regexp) 1 1 t)) It inserts space in each line of the region so that all matches a given regexp are vertically aligned. I find this to be my most common use for the powerful but complicated align-regexp. (If you call align-regexp interactively without a prefix argument it does something much like this function but only aligning the first ocurrence on each line, and if you call it with the prefix argument it prompts for all parameters of align-regexp.)