How do I scroll a full page up or down in Vim?
<C-f> to scroll forward, <C-b> to scroll backward
How it works Vim provides two commands for scrolling by an entire screen (page) at a time: Ctrl-F (Forward) scrolls the view one full page down through the file
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I indent or dedent the current line without leaving insert mode?
When you're typing in insert mode and realize the current line needs more or less indentation, you don't have to leave insert mode to fix it.
category:
editing
tags:
#insert-mode
#indentation
#editing
#formatting
How do I indent or unindent the current line while staying in Insert mode?
While in Insert mode, you can adjust indentation without switching back to Normal mode.
category:
editing
tags:
#editing
#insert-mode
#indentation
How do I move between split windows using direction keys in Vim?
<C-w>h / <C-w>j / <C-w>k / <C-w>l
How it works Vim lets you navigate between split windows using followed by a direction key.
category:
buffers-windows
tags:
#windows
#navigation
#normal-mode
How do I add Emacs-style editing shortcuts to Vim's command line?
Vim's command line has limited navigation by default.
category:
command-line
tags:
#command-line
#mapping
#cnoremap
#editing
How do I scroll down half a page in Vim?
The (Ctrl+d) command scrolls the window down by half a screen, moving both the viewport and the cursor.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I configure Vim to share the clipboard with my system?
:set clipboard=unnamedplus
Setting clipboard=unnamedplus makes Vim's default yank and paste use the system clipboard.
category:
config
tags:
#config
#clipboard
#system-integration
#vimrc
How do I insert the result of a Vim expression or calculation directly into text?
The expression register ("=) lets you evaluate any Vim expression and insert its result as text.
category:
registers
tags:
#registers
#insert-mode
#editing
#ex-commands
How do I scroll up half a page in Vim?
The (Ctrl+u) command scrolls the window up by half a screen, moving the cursor along with it.
category:
navigation
tags:
#navigation
#motions
#normal-mode
How do I select a rectangular block of text in Vim?
The (Ctrl+v) command enters visual block mode, which lets you select a rectangular column of text across multiple lines.
category:
visual-mode
tags:
#visual-mode
#editing
#normal-mode
How do I use Vim as an inline calculator with the expression register?
The expression register ("=) evaluates Vimscript expressions and returns the result.
category:
registers
tags:
#registers
#insert-mode
#expression
#calculator
#vimscript
How do I jump forward through the jump list after going back with Ctrl-O?
Every time you make a "jump" — using G, /, %, :tag, , or similar commands — Vim records your position in the jump list.
category:
navigation
tags:
#navigation
#normal-mode
How do I rapidly generate HTML boilerplate using abbreviations in Vim?
The emmet-vim plugin brings the full power of Emmet (formerly Zen Coding) to Vim, letting you type a short CSS-like abbreviation and expand it into a complete H
category:
plugins
tags:
#plugins
#emmet
#html
#css
#editing
#insert-mode