Tag: keyboard shortcuts

  • removing historical buffer names from the ido buffer list

    ido-mode in emacs has this great feature where it remembers old buffers you have had open in the past and offers then as choices when switching buffer using C-x b. The problem is that sometimes it will have names in the list you’d rather it didn’t remember. The solution is easy, simply hit C-k to…

  • Converting lines of text into a numbered list in org-mode

    Recently I had a list of things in a org buffer that I wanted to turn into a numbered list but couldn’t find an elegant way to do it. The solution I came up with was to use a regex-replace to insert 1. in front of each line. Then I used org-mode’s C-c C-c to…

  • Delete white space around insertion point in emacs

    A while ago I discovered M-\ deletes white space between point and text. Now I just discovered M-spc replaces tabs and spaces around point with just 1 space. M-SPC runs the command just-one-space, which is an interactive compiled Lisp function in `simple.el’. It is bound to M-SPC. (just-one-space &optional N) Delete all spaces and tabs…