Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   Commands by Topic
      Moving Around
         Simple Movement Commands
         Moving in Larger Units
            Words
            Sentences
            Paragraphs
            . . .
         Searching
            Searching Multiple Files
         . . .

Previous   Up    Next
Simple Movement Commands  Commands by Topic   Sentences


Epsilon User's Manual and Reference > Commands by Topic > Moving Around > Moving in Larger Units >

Words

Epsilon has several commands that operate on words. A word usually consists of a sequence of letters, numbers, and underscores. The Alt-F and Alt-B commands move forward and backward by words, and the Alt-D and Alt-<Backspace> commands kill forward and backward by words, respectively. Like all killing commands, they save away what they erase (see Killing Text for a discussion on the killing commands). Epsilon's word commands work by moving in the appropriate direction until they encounter a word edge.

The word commands use a regular expression to define the current notion of a word. They use the buffer-specific variable word-pattern. This allows different modes to have different notions of what constitutes a word. Most built-in modes, however, make word-pattern refer to the variable default-word, which you can modify. See Regular Expressions for information on regular expressions, and Variables for information on setting this variable.

You can set the forward-word-to-start variable nonzero if you want Epsilon to stop at the start of a word instead of at its end when moving forward.

Standard bindings:

  Alt-F, Ctrl-<Right>  forward-word
 Alt-B, Ctrl-<Left>  backward-word
 Alt-<Backspace>  backward-kill-word
 Alt-D  kill-word
 



Previous   Up    Next
Simple Movement Commands  Commands by Topic   Sentences


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.