Cup Full of Code The personal site of Matthew M. Keeler
Posts with the tag elisp:

Invalidate Projectile Cache on Delete

Projectile is a staple of my emacs configuration. In my opinion, it is one of the all time best packages available, along with org-mode and magit.

One of my most commonly used commands with projectile is helm-projectile. This lets me locate any file in my project by pressing C-c p h. Using the narrowing abilities of helm, I can quickly filter the list of options to exactly the one I want.

Generate Daily Messages With Org Journal

One of the requirements of my job is to send out a daily message. This message should summarize what I did the day before, and what I hope to accomplish for the current day. At first, I would spend my day jumping from task to task, and then the next morning, I would rack my brain to make sure I included all the things I worked on.

Snippet Expansion with YASnippet

Any editor worth its salt has some provision for text snippet expansion. TextMate, Vim, and Sublime Text 2 all have this capability and Emacs is certainly no exception. If you’re not familiar with the concept of snippets, the basic idea involves defining a keyword, which when followed with some trigger (keyboard shortcut or menu option), replaces that keyword with some predefined text. This functionality is a great boost to productivity as it prevents the developer from having to manually type potentially hundreds or thousands of lines of relatively boilerplate code.

Dancing Code Monkey

A few months ago, I started playing around with Emacs. For roughly six years prior to that, I was a die-hard Vim fan. Vim will always hold a special place in my heart, but I have grown to love Emacs. I’ll undoubtedly cover Emacs in more detail, but I’ll leave that for other posts.