Back to contents

Commands that move the cursor

B

Move backwards by a non-space word

Default keystroke(s): B

E

Move to end of non-space word

Default keystroke(s): E

F

Move backwards on current line to previous instance of given character

Default keystroke(s): F

G

Move to first non-blank character on line n or last line

Default keystroke(s): G

H

Move to first line visible in window, or n lines after it

Default keystroke(s): H

L

Move to last line visible in window, or n lines before it

Default keystroke(s): L

M

Move to middle line visible in window

Default keystroke(s): M

N

Repeat previous search in reverse direction

Default keystroke(s): N

T

Move backwards on current line to character following next instance of given character

Default keystroke(s): T

W

Move forwards by a non-space word

Default keystroke(s): W

b

Move backwards by an alphanumeric word

Default keystroke(s): b

column

Move to nth column on current line

Default keystroke(s): |

e

Move to end of alphanumeric word

Default keystroke(s): e

eol

Move to end of current line

Default keystroke(s): $ or <End> or <kEnd>

f

Move forwards on current line to next instance of given character

Default keystroke(s): f

gg

Move to first non-blank character on first line

Default keystroke(s): gg

h

Move cursor backwards one character

Default keystroke(s): h or <Left> or <kLeft>

j

Move cursor down one line

Default keystroke(s): j or <Down> or <kDown>

k

Move cursor up one line

Default keystroke(s): k or <Up> or <kUp>

l

Move cursor forwards one character

Default keystroke(s): l or <Right> or <kRight>

move_to_mark

Move to mark in named register

Default keystroke(s): `

move_to_mark_line

Move to line containing mark in named register

Default keystroke(s): '

n

Repeat previous search

Default keystroke(s): n

next_line

Move to first non-space character on next line

Default keystroke(s): <Return> or <kEnter>

next_para

Move forwards by a paragraph

Default keystroke(s): }

next_sentence

Move forwards by a sentence

Default keystroke(s): )

prev_para

Move backwards by a paragraph

Default keystroke(s): {

prev_sentence

Move backwards by a sentence

Default keystroke(s): (

rpt_lnsearch

Repeat last current-line search for character

Default keystroke(s): ;

rpt_lnsearch_opposite

Repeat last current-line search for character in opposite direction

Default keystroke(s): ,

sol

Move to first non-space character on current line

Default keystroke(s): ^ or <Home> or <kHome>

t

Move forwards on current line to character preceding next instance of given character

Default keystroke(s): t

w

Move forwards by a word defined by the wordchars setting

Default keystroke(s): w