Super-efficient movement using avy
One of the revelations I came to after a while of using emacs is that you can use searching (or swiping) to efficiently move to another place in the visible buffer. In other words, you can see the...
View ArticleUsing the zenburn theme
A few people have asked about the theme I use in Emacs, as seen in the sreenshots and code snippets I use. It is zenburn, and I find it very easy on the eye, but also has good contrast and a nice...
View ArticleUniquify your buffer names
If you open more than one file that has the same name (say test.txt), then by default Emacs will add a number to the end of the buffer name to distinguish them, so you would see test.txt <1> and...
View ArticleOverwrite selected text
By default, if you highlight text in Emacs and then start typing, the highlighted text is not overwritten as in many other editors. This is easy to change by adding the following to your emacs config...
View ArticleMacro Counters
I’ve posted about using keyboard macros to record and play back repetitive tasks. Macros include a counter which lets you insert numerical values that increment each time the macro is called. For...
View ArticleFind and open files from anywhere with helm-for-files
Helm is an extremely powerful package that provides a search interface that narrows the matches as you type. What makes it powerful is the range of back-ends that you can access through helm. I don’t...
View ArticleUse bookmarks to jump to files or directories
In Emacs you can bookmark files and directories (and lots of other things) so that you can quickly jump to them (similar to a browser’s bookmarks). The basics are easy. Use C-x r m to make a bookmark...
View ArticleScroll other window
When you use one of Emacs’ help commands, another window will open with the documentation. You can use C-M-v and C-M-V to scroll the other window down and up respectively to read the help, without...
View ArticleWhizz between windows with windmove
First up, a reminder: in Emacs’ terminology the thing we usually call a window in other apps (the main display of an app with the menus etc at the top) is called a frame, and the individual panes...
View ArticleUse your digits and a personal key map for super shortcuts
Lots of commands in Emacs behave differently if called with a prefix argument C-u. For example, by default C-s runs the command isearch which searches for text as you type. If you use a prefix...
View Article