Have you ever stopped to consider what is the string you type most
often?
In my case the answer is two-fold: “~/” and “.emacs.d/”.
Minibuffer completion helps, but we can always make things better.
The following snippet intelligently inserts both of these with a
single key, and it's smart enough to know which one you want.
Besides its use in writing configurations, it's great for going
straight to one of these directories inside the find-file prompt.
The ç key is right under my right pinky, but find
one that fits your need.
Meta Binds Part 3: Smart string insertion
17 Aug 2014, by Artur Malabarba.Meta Binds post series
Have you ever stopped to consider what is the string you type most often?
In my case the answer is two-fold:
“~/”
and“.emacs.d/”
. Minibuffer completion helps, but we can always make things better. The following snippet intelligently inserts both of these with a single key, and it's smart enough to know which one you want.Besides its use in writing configurations, it's great for going straight to one of these directories inside the
find-file
prompt.The ç key is right under my right pinky, but find one that fits your need.
Tags: insertion, meta, keybind, init.el, emacs,
The ins and outs of setf »
« An Update on gmail-message-mode for Firefox
Related Posts
A few paredit keys that take over the world in keybind
Fill and unfill paragraphs with a single key in keybind
Disable Mouse only inside Emacs in keybind
Content © 2019, All rights reserved. Icons under CC3.0.