Search Results for: vimgolf

Some Dired Tips

Tim Visher, who used to produce the popular VimGolf in Emacs Videos, has a couple of useful tips about using dired: #emacs: In dired, `w` copies the file to the kill ring (and clipboard if you have that set up), … Continue reading

Posted in General | Tagged | Leave a comment

My Solution to EmacsGolf 3

Here’s my solution to the EmacsGolf 3 challenge. When I first saw Saul’s post, the first thing that popped into my mind was that this is the classic use case for a keyboard macro. The only problem is that each … Continue reading

Posted in General | Tagged | Leave a comment

Smartparens Video

Irreal readers who follow the comments will be familiar with Fuco, one of our best EmacsGolf/VimGolf in Emacs solvers. In addition to making me feel inadequate about my Emacs Fu, Fuco is also the author of smartparens. You can think … Continue reading

Posted in General | Tagged | 2 Comments

Calling External Programs

One of the rules specific to EmacsGolf, as opposed to VimGolf, is that you’re allowed to call external programs to operate on a region of the buffer using something like 【Ctrl+u Meta+|】. You can do the same thing from an … Continue reading

Posted in Programming | Tagged | Leave a comment

Emacs Challenge?

Some of the most popular posts here at Irreal are those in which I attempt bring the power of Emacs to bear on VimGolf problems. I like those posts too because I always learn some new tricks both by working … Continue reading

Posted in Blogging | Tagged | 9 Comments

Swapping with replace-regexp

Most Irreal readers have probably already seen Mickey’s post on Evaluating Lisp Forms in Regular Expressions, but he mentions one trick that is too good to miss so I’m going to repeat it. Not too long ago I was trying … Continue reading

Posted in General | Tagged | 2 Comments

Living the Lisp Machine Environment

A little while ago I wrote about Martin Fowler’s post on InternalReprogrammability that celebrated Emacs reprogrammability and its recapitulation of the Lisp Machine environment. That capability is of more than theoretical importance as I, once again, discovered. Long time readers … Continue reading

Posted in Programming | Tagged | 3 Comments

Sorting Rectangles

Mickey has a nice solution to the last VimGolf in Emacs challenge. It certainly doesn’t win on total keystrokes but it does demonstrate a really powerful method for solving problems like the challenge. Mickey uses sort-regexp-fields to sort parts of … Continue reading

Posted in General | Tagged | Leave a comment

The Universal Argument

Over at Wisdom and Wonder, Grant tells us how to move forward several spaces in the minibuffer. That’s just 【Ctrl+u 1 0 0 Ctrl+f】, of course but Fuco (who wowed us by doing the last VimGolf in Emacs challenge in … Continue reading

Posted in General | Tagged | 6 Comments

A Nice Emacs Trick

In the comments to my Another VimGolf in Emacs Challenge post, Aaron Culich points out something that I didn’t know. It is possible to enter query-replace or query-replace-regexp directly from isearch. When you do this, query-replace and query-replace-regexp will use … Continue reading

Posted in General | Tagged | Leave a comment