Emacs: Hippie Expand

By Xah Lee. Date: . Last updated: .
Alt+x hippie-expand
Expand current word to any matching string that occurs in existing buffers.

You need to give it a key. Put this in your Emacs Init File:

(global-set-key (kbd "C-t") 'hippie-expand)

[see Emacs: How to Define Keys]

Press once to expand. Press again to switch to next choice. Can be used anywhere, including in minibuffer.

Hippie Expand Setup

Emacs: Hippie Expand Setup

Emacs Completion

ErgoEmacs mascot-s276x226
Buy Xah Emacs Tutorial

Emacs Tutorial

Quick Start

Manage Windows

File

Buffer

Find Replace

Copy/Paste

Unicode

Whitespace

Rectangle Edit

Line Wrap

Shell

View Special File

Editing Brackets

Org Mode

HTML

Emacs Efficiency

Misc