O'Reilly logo

Linux in a Nutshell, 6th Edition by Robert Love, Stephen Figgins, Ellen Siever, Arnold Robbins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Miscellaneous Commands

Command

Action

<

Shift text described by following motion command left by one shiftwidth. {vim}

>

Shift text described by following motion command right by one shiftwidth. {vim}

<<

Shift line left one shift width (default is eight spaces).

>>

Shift line right one shift width (default is eight spaces).

>}

Shift right to end of paragraph.

<%

Shift left until matching parenthesis, brace, or bracket. (Cursor must be on the matching symbol.)

= =

Indent line in C-style, or using program specified in equalprg option. {vim}

g

Start many multiple character commands in vim.

K

Look up word under cursor in manpages (or program defined in keywordprg). {vim}

^O

Return to previous jump. {vim}

q

Record keystrokes. {vim}

^Q

Same as ^V. {vim} (On some terminals, resume data flow.)

^T

Return to the previous location in the tag stack. (vim)

^]

Perform a tag lookup on the text under the cursor.

^\

Enter ex line-editing mode.

^^

(Caret key with Ctrl key pressed) Return to previously edited file.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required