Search Results for: align-regexp

Vertically Aligning Code

Terence Eden has a post in which he argues that code should be vertically aligned. Doing so, he says, improves readability and makes the code easier to understand. As an example, he offers int robert_age = 32; int annalouise_age = … Continue reading

Posted in Programming | Tagged | 1 Comment

A Word Frequency VimGolf in Emacs Challenge

Here’s an interesting VimGolf challenge that nicely demonstrates the power of CUA selection mode. Given the word frequency chart align here the 56271872 of 33950064 and 29944184 to 25956096 in 17420636 I 11764797 that 11073318 was 10078245 his 8799755 he … Continue reading

Posted in General | Tagged | 3 Comments

Emacs Align Functions

Tim Visher has a new VimGolf in Emacs up. This time it’s a simple alignment problem using align-regexp, a function that we’ve talked about before. In this case he just used the simple align-regexp case and was done in about … Continue reading

Posted in General | Tagged | 1 Comment

Using set-mark-command To Remember Locations

A couple of days ago I wrote a note to myself post to help me remember the align-regexp functionality. Today’s post is another note to myself. A recent post by Xah Lee reminded me of some Emacs functionality that I … Continue reading

Posted in General | Tagged | 6 Comments

Aligning Text With Regular Expressions in Emacs

This is really a note to myself. A while ago I ran across this post over at RAW SYNTAX about the Emacs command align-regexp. I don’t require this functionality very often but when I do, align-regexp is just what I … Continue reading

Posted in General | Tagged | 2 Comments