Ignoring Windows with (other-window)

I feel Emacs does a great job implementing features in a keyboard-oriented environment. One of the harder ‘new-agey’ features to implement in the modern multi-window system is window navigation. Even with prefixes, other-window only goes so far. Windmove does a nice job picking up the slack, but sometimes I’m still wishing for more.

For example, when I’m using GDB, I like to have the *input/output* buffer open, as a reference. Usually I don’t interact with my programs by feeding them text input, so when I’m doing the window dance I just want to skip over this buffer. Emacs natively provides a way to do this, but it took me a little while to figure out how.

Cycling around the frame with C-x o will ignore any windows where you have run this defun. Now we can enjoy this feature without a second thought!

About these ads

One thought on “Ignoring Windows with (other-window)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s