mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 22:11:55 +04:00
609 lines
67 KiB
HTML
609 lines
67 KiB
HTML
<!DOCTYPE HTML>
|
|
<html lang="en" class="colibri sidebar-visible" dir="ltr">
|
|
<head>
|
|
<!-- Book generated using mdBook -->
|
|
<meta charset="UTF-8">
|
|
<title>Commands</title>
|
|
|
|
|
|
<!-- Custom HTML head -->
|
|
|
|
<meta name="description" content="">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<link rel="icon" href="favicon.svg">
|
|
<link rel="shortcut icon" href="favicon.png">
|
|
<link rel="stylesheet" href="css/variables.css">
|
|
<link rel="stylesheet" href="css/general.css">
|
|
<link rel="stylesheet" href="css/chrome.css">
|
|
<link rel="stylesheet" href="css/print.css" media="print">
|
|
|
|
<!-- Fonts -->
|
|
<link rel="stylesheet" href="FontAwesome/css/font-awesome.css">
|
|
<link rel="stylesheet" href="fonts/fonts.css">
|
|
|
|
<!-- Highlight.js Stylesheets -->
|
|
<link rel="stylesheet" href="highlight.css">
|
|
<link rel="stylesheet" href="tomorrow-night.css">
|
|
<link rel="stylesheet" href="ayu-highlight.css">
|
|
|
|
<!-- Custom theme stylesheets -->
|
|
<link rel="stylesheet" href="custom.css">
|
|
|
|
|
|
<!-- Provide site root to javascript -->
|
|
<script>
|
|
var path_to_root = "";
|
|
var default_theme = window.matchMedia("(prefers-color-scheme: dark)").matches ? "colibri" : "colibri";
|
|
</script>
|
|
<!-- Start loading toc.js asap -->
|
|
<script src="toc.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="body-container">
|
|
<!-- Work around some values being stored in localStorage wrapped in quotes -->
|
|
<script>
|
|
try {
|
|
var theme = localStorage.getItem('mdbook-theme');
|
|
var sidebar = localStorage.getItem('mdbook-sidebar');
|
|
|
|
if (theme.startsWith('"') && theme.endsWith('"')) {
|
|
localStorage.setItem('mdbook-theme', theme.slice(1, theme.length - 1));
|
|
}
|
|
|
|
if (sidebar.startsWith('"') && sidebar.endsWith('"')) {
|
|
localStorage.setItem('mdbook-sidebar', sidebar.slice(1, sidebar.length - 1));
|
|
}
|
|
} catch (e) { }
|
|
</script>
|
|
|
|
<!-- Set the theme before any content is loaded, prevents flash -->
|
|
<script>
|
|
var theme;
|
|
try { theme = localStorage.getItem('mdbook-theme'); } catch(e) { }
|
|
if (theme === null || theme === undefined) { theme = default_theme; }
|
|
const html = document.documentElement;
|
|
html.classList.remove('colibri')
|
|
html.classList.add(theme);
|
|
html.classList.add("js");
|
|
</script>
|
|
|
|
<input type="checkbox" id="sidebar-toggle-anchor" class="hidden">
|
|
|
|
<!-- Hide / unhide sidebar before it is displayed -->
|
|
<script>
|
|
var sidebar = null;
|
|
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
|
|
if (document.body.clientWidth >= 1080) {
|
|
try { sidebar = localStorage.getItem('mdbook-sidebar'); } catch(e) { }
|
|
sidebar = sidebar || 'visible';
|
|
} else {
|
|
sidebar = 'hidden';
|
|
}
|
|
sidebar_toggle.checked = sidebar === 'visible';
|
|
html.classList.remove('sidebar-visible');
|
|
html.classList.add("sidebar-" + sidebar);
|
|
</script>
|
|
|
|
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
|
|
<!-- populated by js -->
|
|
<mdbook-sidebar-scrollbox class="sidebar-scrollbox"></mdbook-sidebar-scrollbox>
|
|
<noscript>
|
|
<iframe class="sidebar-iframe-outer" src="toc.html"></iframe>
|
|
</noscript>
|
|
<div id="sidebar-resize-handle" class="sidebar-resize-handle">
|
|
<div class="sidebar-resize-indicator"></div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div id="page-wrapper" class="page-wrapper">
|
|
|
|
<div class="page">
|
|
<div id="menu-bar-hover-placeholder"></div>
|
|
<div id="menu-bar" class="menu-bar sticky">
|
|
<div class="left-buttons">
|
|
<label id="sidebar-toggle" class="icon-button" for="sidebar-toggle-anchor" title="Toggle Table of Contents" aria-label="Toggle Table of Contents" aria-controls="sidebar">
|
|
<i class="fa fa-bars"></i>
|
|
</label>
|
|
<button id="theme-toggle" class="icon-button" type="button" title="Change theme" aria-label="Change theme" aria-haspopup="true" aria-expanded="false" aria-controls="theme-list">
|
|
<i class="fa fa-paint-brush"></i>
|
|
</button>
|
|
<ul id="theme-list" class="theme-popup" aria-label="Themes" role="menu">
|
|
<li role="none"><button role="menuitem" class="theme" id="light">Light</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="rust">Rust</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="coal">Coal</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="navy">Navy</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="ayu">Ayu</button></li>
|
|
<li role="none"><button role="menuitem" class="theme" id="colibri">Colibri</button></li>
|
|
</ul>
|
|
<button id="search-toggle" class="icon-button" type="button" title="Search. (Shortkey: s)" aria-label="Toggle Searchbar" aria-expanded="false" aria-keyshortcuts="S" aria-controls="searchbar">
|
|
<i class="fa fa-search"></i>
|
|
</button>
|
|
</div>
|
|
|
|
<h1 class="menu-title"></h1>
|
|
|
|
<div class="right-buttons">
|
|
<a href="print.html" title="Print this book" aria-label="Print this book">
|
|
<i id="print-button" class="fa fa-print"></i>
|
|
</a>
|
|
<a href="https://github.com/helix-editor/helix" title="Git repository" aria-label="Git repository">
|
|
<i id="git-repository-button" class="fa fa-github"></i>
|
|
</a>
|
|
<a href="https://github.com/helix-editor/helix/edit/master/book/src/commands.md" title="Suggest an edit" aria-label="Suggest an edit">
|
|
<i id="git-edit-button" class="fa fa-edit"></i>
|
|
</a>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="search-wrapper" class="hidden">
|
|
<form id="searchbar-outer" class="searchbar-outer">
|
|
<input type="search" id="searchbar" name="searchbar" placeholder="Search this book ..." aria-controls="searchresults-outer" aria-describedby="searchresults-header">
|
|
</form>
|
|
<div id="searchresults-outer" class="searchresults-outer hidden">
|
|
<div id="searchresults-header" class="searchresults-header"></div>
|
|
<ul id="searchresults">
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Apply ARIA attributes after the sidebar and the sidebar toggle button are added to the DOM -->
|
|
<script>
|
|
document.getElementById('sidebar-toggle').setAttribute('aria-expanded', sidebar === 'visible');
|
|
document.getElementById('sidebar').setAttribute('aria-hidden', sidebar !== 'visible');
|
|
Array.from(document.querySelectorAll('#sidebar a')).forEach(function(link) {
|
|
link.setAttribute('tabIndex', sidebar === 'visible' ? 0 : -1);
|
|
});
|
|
</script>
|
|
|
|
<div id="content" class="content">
|
|
<main>
|
|
<h1 id="commands"><a class="header" href="#commands">Commands</a></h1>
|
|
<ul>
|
|
<li><a href="#typable-commands">Typable commands</a></li>
|
|
<li><a href="#static-commands">Static commands</a></li>
|
|
</ul>
|
|
<h2 id="typable-commands"><a class="header" href="#typable-commands">Typable commands</a></h2>
|
|
<p>Typable commands are used from command mode and may take arguments. Command mode can be activated by pressing <code>:</code>. The built-in typable commands are:</p>
|
|
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody>
|
|
<tr><td><code>:quit</code>, <code>:q</code></td><td>Close the current view.</td></tr>
|
|
<tr><td><code>:quit!</code>, <code>:q!</code></td><td>Force close the current view, ignoring unsaved changes.</td></tr>
|
|
<tr><td><code>:open</code>, <code>:o</code>, <code>:edit</code>, <code>:e</code></td><td>Open a file from disk into the current view.</td></tr>
|
|
<tr><td><code>:buffer-close</code>, <code>:bc</code>, <code>:bclose</code></td><td>Close the current buffer.</td></tr>
|
|
<tr><td><code>:buffer-close!</code>, <code>:bc!</code>, <code>:bclose!</code></td><td>Close the current buffer forcefully, ignoring unsaved changes.</td></tr>
|
|
<tr><td><code>:buffer-close-others</code>, <code>:bco</code>, <code>:bcloseother</code></td><td>Close all buffers but the currently focused one.</td></tr>
|
|
<tr><td><code>:buffer-close-others!</code>, <code>:bco!</code>, <code>:bcloseother!</code></td><td>Force close all buffers but the currently focused one.</td></tr>
|
|
<tr><td><code>:buffer-close-all</code>, <code>:bca</code>, <code>:bcloseall</code></td><td>Close all buffers without quitting.</td></tr>
|
|
<tr><td><code>:buffer-close-all!</code>, <code>:bca!</code>, <code>:bcloseall!</code></td><td>Force close all buffers ignoring unsaved changes without quitting.</td></tr>
|
|
<tr><td><code>:buffer-next</code>, <code>:bn</code>, <code>:bnext</code></td><td>Goto next buffer.</td></tr>
|
|
<tr><td><code>:buffer-previous</code>, <code>:bp</code>, <code>:bprev</code></td><td>Goto previous buffer.</td></tr>
|
|
<tr><td><code>:write</code>, <code>:w</code></td><td>Write changes to disk. Accepts an optional path (:write some/path.txt)</td></tr>
|
|
<tr><td><code>:write!</code>, <code>:w!</code></td><td>Force write changes to disk creating necessary subdirectories. Accepts an optional path (:write! some/path.txt)</td></tr>
|
|
<tr><td><code>:write-buffer-close</code>, <code>:wbc</code></td><td>Write changes to disk and closes the buffer. Accepts an optional path (:write-buffer-close some/path.txt)</td></tr>
|
|
<tr><td><code>:write-buffer-close!</code>, <code>:wbc!</code></td><td>Force write changes to disk creating necessary subdirectories and closes the buffer. Accepts an optional path (:write-buffer-close! some/path.txt)</td></tr>
|
|
<tr><td><code>:new</code>, <code>:n</code></td><td>Create a new scratch buffer.</td></tr>
|
|
<tr><td><code>:format</code>, <code>:fmt</code></td><td>Format the file using an external formatter or language server.</td></tr>
|
|
<tr><td><code>:indent-style</code></td><td>Set the indentation style for editing. ('t' for tabs or 1-16 for number of spaces.)</td></tr>
|
|
<tr><td><code>:line-ending</code></td><td>Set the document's default line ending. Options: crlf, lf.</td></tr>
|
|
<tr><td><code>:earlier</code>, <code>:ear</code></td><td>Jump back to an earlier point in edit history. Accepts a number of steps or a time span.</td></tr>
|
|
<tr><td><code>:later</code>, <code>:lat</code></td><td>Jump to a later point in edit history. Accepts a number of steps or a time span.</td></tr>
|
|
<tr><td><code>:write-quit</code>, <code>:wq</code>, <code>:x</code></td><td>Write changes to disk and close the current view. Accepts an optional path (:wq some/path.txt)</td></tr>
|
|
<tr><td><code>:write-quit!</code>, <code>:wq!</code>, <code>:x!</code></td><td>Write changes to disk and close the current view forcefully. Accepts an optional path (:wq! some/path.txt)</td></tr>
|
|
<tr><td><code>:write-all</code>, <code>:wa</code></td><td>Write changes from all buffers to disk.</td></tr>
|
|
<tr><td><code>:write-all!</code>, <code>:wa!</code></td><td>Forcefully write changes from all buffers to disk creating necessary subdirectories.</td></tr>
|
|
<tr><td><code>:write-quit-all</code>, <code>:wqa</code>, <code>:xa</code></td><td>Write changes from all buffers to disk and close all views.</td></tr>
|
|
<tr><td><code>:write-quit-all!</code>, <code>:wqa!</code>, <code>:xa!</code></td><td>Write changes from all buffers to disk and close all views forcefully (ignoring unsaved changes).</td></tr>
|
|
<tr><td><code>:quit-all</code>, <code>:qa</code></td><td>Close all views.</td></tr>
|
|
<tr><td><code>:quit-all!</code>, <code>:qa!</code></td><td>Force close all views ignoring unsaved changes.</td></tr>
|
|
<tr><td><code>:cquit</code>, <code>:cq</code></td><td>Quit with exit code (default 1). Accepts an optional integer exit code (:cq 2).</td></tr>
|
|
<tr><td><code>:cquit!</code>, <code>:cq!</code></td><td>Force quit with exit code (default 1) ignoring unsaved changes. Accepts an optional integer exit code (:cq! 2).</td></tr>
|
|
<tr><td><code>:theme</code></td><td>Change the editor theme (show current theme if no name specified).</td></tr>
|
|
<tr><td><code>:yank-join</code></td><td>Yank joined selections. A separator can be provided as first argument. Default value is newline.</td></tr>
|
|
<tr><td><code>:clipboard-yank</code></td><td>Yank main selection into system clipboard.</td></tr>
|
|
<tr><td><code>:clipboard-yank-join</code></td><td>Yank joined selections into system clipboard. A separator can be provided as first argument. Default value is newline.</td></tr>
|
|
<tr><td><code>:primary-clipboard-yank</code></td><td>Yank main selection into system primary clipboard.</td></tr>
|
|
<tr><td><code>:primary-clipboard-yank-join</code></td><td>Yank joined selections into system primary clipboard. A separator can be provided as first argument. Default value is newline.</td></tr>
|
|
<tr><td><code>:clipboard-paste-after</code></td><td>Paste system clipboard after selections.</td></tr>
|
|
<tr><td><code>:clipboard-paste-before</code></td><td>Paste system clipboard before selections.</td></tr>
|
|
<tr><td><code>:clipboard-paste-replace</code></td><td>Replace selections with content of system clipboard.</td></tr>
|
|
<tr><td><code>:primary-clipboard-paste-after</code></td><td>Paste primary clipboard after selections.</td></tr>
|
|
<tr><td><code>:primary-clipboard-paste-before</code></td><td>Paste primary clipboard before selections.</td></tr>
|
|
<tr><td><code>:primary-clipboard-paste-replace</code></td><td>Replace selections with content of system primary clipboard.</td></tr>
|
|
<tr><td><code>:show-clipboard-provider</code></td><td>Show clipboard provider name in status bar.</td></tr>
|
|
<tr><td><code>:change-current-directory</code>, <code>:cd</code></td><td>Change the current working directory.</td></tr>
|
|
<tr><td><code>:show-directory</code>, <code>:pwd</code></td><td>Show the current working directory.</td></tr>
|
|
<tr><td><code>:encoding</code></td><td>Set encoding. Based on <code>https://encoding.spec.whatwg.org</code>.</td></tr>
|
|
<tr><td><code>:character-info</code>, <code>:char</code></td><td>Get info about the character under the primary cursor.</td></tr>
|
|
<tr><td><code>:reload</code>, <code>:rl</code></td><td>Discard changes and reload from the source file.</td></tr>
|
|
<tr><td><code>:reload-all</code>, <code>:rla</code></td><td>Discard changes and reload all documents from the source files.</td></tr>
|
|
<tr><td><code>:update</code>, <code>:u</code></td><td>Write changes only if the file has been modified.</td></tr>
|
|
<tr><td><code>:lsp-workspace-command</code></td><td>Open workspace command picker</td></tr>
|
|
<tr><td><code>:lsp-restart</code></td><td>Restarts the language servers used by the current doc</td></tr>
|
|
<tr><td><code>:lsp-stop</code></td><td>Stops the language servers that are used by the current doc</td></tr>
|
|
<tr><td><code>:tree-sitter-scopes</code></td><td>Display tree sitter scopes, primarily for theming and development.</td></tr>
|
|
<tr><td><code>:tree-sitter-highlight-name</code></td><td>Display name of tree-sitter highlight scope under the cursor.</td></tr>
|
|
<tr><td><code>:debug-start</code>, <code>:dbg</code></td><td>Start a debug session from a given template with given parameters.</td></tr>
|
|
<tr><td><code>:debug-remote</code>, <code>:dbg-tcp</code></td><td>Connect to a debug adapter by TCP address and start a debugging session from a given template with given parameters.</td></tr>
|
|
<tr><td><code>:debug-eval</code></td><td>Evaluate expression in current debug context.</td></tr>
|
|
<tr><td><code>:vsplit</code>, <code>:vs</code></td><td>Open the file in a vertical split.</td></tr>
|
|
<tr><td><code>:vsplit-new</code>, <code>:vnew</code></td><td>Open a scratch buffer in a vertical split.</td></tr>
|
|
<tr><td><code>:hsplit</code>, <code>:hs</code>, <code>:sp</code></td><td>Open the file in a horizontal split.</td></tr>
|
|
<tr><td><code>:hsplit-new</code>, <code>:hnew</code></td><td>Open a scratch buffer in a horizontal split.</td></tr>
|
|
<tr><td><code>:tutor</code></td><td>Open the tutorial.</td></tr>
|
|
<tr><td><code>:goto</code>, <code>:g</code></td><td>Goto line number.</td></tr>
|
|
<tr><td><code>:set-language</code>, <code>:lang</code></td><td>Set the language of current buffer (show current language if no value specified).</td></tr>
|
|
<tr><td><code>:set-option</code>, <code>:set</code></td><td>Set a config option at runtime.<br>For example to disable smart case search, use <code>:set search.smart-case false</code>.</td></tr>
|
|
<tr><td><code>:toggle-option</code>, <code>:toggle</code></td><td>Toggle a boolean config option at runtime.<br>For example to toggle smart case search, use <code>:toggle search.smart-case</code>.</td></tr>
|
|
<tr><td><code>:get-option</code>, <code>:get</code></td><td>Get the current value of a config option.</td></tr>
|
|
<tr><td><code>:sort</code></td><td>Sort ranges in selection.</td></tr>
|
|
<tr><td><code>:rsort</code></td><td>Sort ranges in selection in reverse order.</td></tr>
|
|
<tr><td><code>:reflow</code></td><td>Hard-wrap the current selection of lines to a given width.</td></tr>
|
|
<tr><td><code>:tree-sitter-subtree</code>, <code>:ts-subtree</code></td><td>Display the smallest tree-sitter subtree that spans the primary selection, primarily for debugging queries.</td></tr>
|
|
<tr><td><code>:config-reload</code></td><td>Refresh user config.</td></tr>
|
|
<tr><td><code>:config-open</code></td><td>Open the user config.toml file.</td></tr>
|
|
<tr><td><code>:config-open-workspace</code></td><td>Open the workspace config.toml file.</td></tr>
|
|
<tr><td><code>:log-open</code></td><td>Open the helix log file.</td></tr>
|
|
<tr><td><code>:insert-output</code></td><td>Run shell command, inserting output before each selection.</td></tr>
|
|
<tr><td><code>:append-output</code></td><td>Run shell command, appending output after each selection.</td></tr>
|
|
<tr><td><code>:pipe</code></td><td>Pipe each selection to the shell command.</td></tr>
|
|
<tr><td><code>:pipe-to</code></td><td>Pipe each selection to the shell command, ignoring output.</td></tr>
|
|
<tr><td><code>:run-shell-command</code>, <code>:sh</code></td><td>Run a shell command</td></tr>
|
|
<tr><td><code>:reset-diff-change</code>, <code>:diffget</code>, <code>:diffg</code></td><td>Reset the diff change at the cursor position.</td></tr>
|
|
<tr><td><code>:clear-register</code></td><td>Clear given register. If no argument is provided, clear all registers.</td></tr>
|
|
<tr><td><code>:redraw</code></td><td>Clear and re-render the whole UI</td></tr>
|
|
<tr><td><code>:move</code>, <code>:mv</code></td><td>Move the current buffer and its corresponding file to a different path</td></tr>
|
|
<tr><td><code>:yank-diagnostic</code></td><td>Yank diagnostic(s) under primary cursor to register, or clipboard by default</td></tr>
|
|
<tr><td><code>:read</code>, <code>:r</code></td><td>Load a file into buffer</td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
<h2 id="static-commands"><a class="header" href="#static-commands">Static Commands</a></h2>
|
|
<p>Static commands take no arguments and can be bound to keys. Static commands can also be executed from the command picker (<code><space>?</code>). The built-in static commands are:</p>
|
|
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Description</th><th>Default keybinds</th></tr></thead><tbody>
|
|
<tr><td><code>no_op</code></td><td>Do nothing</td><td></td></tr>
|
|
<tr><td><code>move_char_left</code></td><td>Move left</td><td>normal: <code>h</code>, <code><left></code>, insert: <code><left></code></td></tr>
|
|
<tr><td><code>move_char_right</code></td><td>Move right</td><td>normal: <code>l</code>, <code><right></code>, insert: <code><right></code></td></tr>
|
|
<tr><td><code>move_line_up</code></td><td>Move up</td><td>normal: <code>gk</code></td></tr>
|
|
<tr><td><code>move_line_down</code></td><td>Move down</td><td>normal: <code>gj</code></td></tr>
|
|
<tr><td><code>move_visual_line_up</code></td><td>Move up</td><td>normal: <code>k</code>, <code><up></code>, insert: <code><up></code></td></tr>
|
|
<tr><td><code>move_visual_line_down</code></td><td>Move down</td><td>normal: <code>j</code>, <code><down></code>, insert: <code><down></code></td></tr>
|
|
<tr><td><code>extend_char_left</code></td><td>Extend left</td><td>select: <code>h</code>, <code><left></code></td></tr>
|
|
<tr><td><code>extend_char_right</code></td><td>Extend right</td><td>select: <code>l</code>, <code><right></code></td></tr>
|
|
<tr><td><code>extend_line_up</code></td><td>Extend up</td><td>select: <code>gk</code></td></tr>
|
|
<tr><td><code>extend_line_down</code></td><td>Extend down</td><td>select: <code>gj</code></td></tr>
|
|
<tr><td><code>extend_visual_line_up</code></td><td>Extend up</td><td>select: <code>k</code>, <code><up></code></td></tr>
|
|
<tr><td><code>extend_visual_line_down</code></td><td>Extend down</td><td>select: <code>j</code>, <code><down></code></td></tr>
|
|
<tr><td><code>copy_selection_on_next_line</code></td><td>Copy selection on next line</td><td>normal: <code>C</code>, select: <code>C</code></td></tr>
|
|
<tr><td><code>copy_selection_on_prev_line</code></td><td>Copy selection on previous line</td><td>normal: <code><A-C></code>, select: <code><A-C></code></td></tr>
|
|
<tr><td><code>move_next_word_start</code></td><td>Move to start of next word</td><td>normal: <code>w</code></td></tr>
|
|
<tr><td><code>move_prev_word_start</code></td><td>Move to start of previous word</td><td>normal: <code>b</code></td></tr>
|
|
<tr><td><code>move_next_word_end</code></td><td>Move to end of next word</td><td>normal: <code>e</code></td></tr>
|
|
<tr><td><code>move_prev_word_end</code></td><td>Move to end of previous word</td><td></td></tr>
|
|
<tr><td><code>move_next_long_word_start</code></td><td>Move to start of next long word</td><td>normal: <code>W</code></td></tr>
|
|
<tr><td><code>move_prev_long_word_start</code></td><td>Move to start of previous long word</td><td>normal: <code>B</code></td></tr>
|
|
<tr><td><code>move_next_long_word_end</code></td><td>Move to end of next long word</td><td>normal: <code>E</code></td></tr>
|
|
<tr><td><code>move_prev_long_word_end</code></td><td>Move to end of previous long word</td><td></td></tr>
|
|
<tr><td><code>move_next_sub_word_start</code></td><td>Move to start of next sub word</td><td></td></tr>
|
|
<tr><td><code>move_prev_sub_word_start</code></td><td>Move to start of previous sub word</td><td></td></tr>
|
|
<tr><td><code>move_next_sub_word_end</code></td><td>Move to end of next sub word</td><td></td></tr>
|
|
<tr><td><code>move_prev_sub_word_end</code></td><td>Move to end of previous sub word</td><td></td></tr>
|
|
<tr><td><code>move_parent_node_end</code></td><td>Move to end of the parent node</td><td>normal: <code><A-e></code></td></tr>
|
|
<tr><td><code>move_parent_node_start</code></td><td>Move to beginning of the parent node</td><td>normal: <code><A-b></code></td></tr>
|
|
<tr><td><code>extend_next_word_start</code></td><td>Extend to start of next word</td><td>select: <code>w</code></td></tr>
|
|
<tr><td><code>extend_prev_word_start</code></td><td>Extend to start of previous word</td><td>select: <code>b</code></td></tr>
|
|
<tr><td><code>extend_next_word_end</code></td><td>Extend to end of next word</td><td>select: <code>e</code></td></tr>
|
|
<tr><td><code>extend_prev_word_end</code></td><td>Extend to end of previous word</td><td></td></tr>
|
|
<tr><td><code>extend_next_long_word_start</code></td><td>Extend to start of next long word</td><td>select: <code>W</code></td></tr>
|
|
<tr><td><code>extend_prev_long_word_start</code></td><td>Extend to start of previous long word</td><td>select: <code>B</code></td></tr>
|
|
<tr><td><code>extend_next_long_word_end</code></td><td>Extend to end of next long word</td><td>select: <code>E</code></td></tr>
|
|
<tr><td><code>extend_prev_long_word_end</code></td><td>Extend to end of prev long word</td><td></td></tr>
|
|
<tr><td><code>extend_next_sub_word_start</code></td><td>Extend to start of next sub word</td><td></td></tr>
|
|
<tr><td><code>extend_prev_sub_word_start</code></td><td>Extend to start of previous sub word</td><td></td></tr>
|
|
<tr><td><code>extend_next_sub_word_end</code></td><td>Extend to end of next sub word</td><td></td></tr>
|
|
<tr><td><code>extend_prev_sub_word_end</code></td><td>Extend to end of prev sub word</td><td></td></tr>
|
|
<tr><td><code>extend_parent_node_end</code></td><td>Extend to end of the parent node</td><td>select: <code><A-e></code></td></tr>
|
|
<tr><td><code>extend_parent_node_start</code></td><td>Extend to beginning of the parent node</td><td>select: <code><A-b></code></td></tr>
|
|
<tr><td><code>find_till_char</code></td><td>Move till next occurrence of char</td><td>normal: <code>t</code></td></tr>
|
|
<tr><td><code>find_next_char</code></td><td>Move to next occurrence of char</td><td>normal: <code>f</code></td></tr>
|
|
<tr><td><code>extend_till_char</code></td><td>Extend till next occurrence of char</td><td>select: <code>t</code></td></tr>
|
|
<tr><td><code>extend_next_char</code></td><td>Extend to next occurrence of char</td><td>select: <code>f</code></td></tr>
|
|
<tr><td><code>till_prev_char</code></td><td>Move till previous occurrence of char</td><td>normal: <code>T</code></td></tr>
|
|
<tr><td><code>find_prev_char</code></td><td>Move to previous occurrence of char</td><td>normal: <code>F</code></td></tr>
|
|
<tr><td><code>extend_till_prev_char</code></td><td>Extend till previous occurrence of char</td><td>select: <code>T</code></td></tr>
|
|
<tr><td><code>extend_prev_char</code></td><td>Extend to previous occurrence of char</td><td>select: <code>F</code></td></tr>
|
|
<tr><td><code>repeat_last_motion</code></td><td>Repeat last motion</td><td>normal: <code><A-.></code>, select: <code><A-.></code></td></tr>
|
|
<tr><td><code>replace</code></td><td>Replace with new char</td><td>normal: <code>r</code>, select: <code>r</code></td></tr>
|
|
<tr><td><code>switch_case</code></td><td>Switch (toggle) case</td><td>normal: <code>~</code>, select: <code>~</code></td></tr>
|
|
<tr><td><code>switch_to_uppercase</code></td><td>Switch to uppercase</td><td>normal: <code><A-`></code>, select: <code><A-`></code></td></tr>
|
|
<tr><td><code>switch_to_lowercase</code></td><td>Switch to lowercase</td><td>normal: <code>`</code>, select: <code>`</code></td></tr>
|
|
<tr><td><code>page_up</code></td><td>Move page up</td><td>normal: <code><C-b></code>, <code>Z<C-b></code>, <code>z<C-b></code>, <code><pageup></code>, <code>Z<pageup></code>, <code>z<pageup></code>, select: <code><C-b></code>, <code>Z<C-b></code>, <code>z<C-b></code>, <code><pageup></code>, <code>Z<pageup></code>, <code>z<pageup></code>, insert: <code><pageup></code></td></tr>
|
|
<tr><td><code>page_down</code></td><td>Move page down</td><td>normal: <code><C-f></code>, <code>Z<C-f></code>, <code>z<C-f></code>, <code><pagedown></code>, <code>Z<pagedown></code>, <code>z<pagedown></code>, select: <code><C-f></code>, <code>Z<C-f></code>, <code>z<C-f></code>, <code><pagedown></code>, <code>Z<pagedown></code>, <code>z<pagedown></code>, insert: <code><pagedown></code></td></tr>
|
|
<tr><td><code>half_page_up</code></td><td>Move half page up</td><td></td></tr>
|
|
<tr><td><code>half_page_down</code></td><td>Move half page down</td><td></td></tr>
|
|
<tr><td><code>page_cursor_up</code></td><td>Move page and cursor up</td><td></td></tr>
|
|
<tr><td><code>page_cursor_down</code></td><td>Move page and cursor down</td><td></td></tr>
|
|
<tr><td><code>page_cursor_half_up</code></td><td>Move page and cursor half up</td><td>normal: <code><C-u></code>, <code>Z<C-u></code>, <code>z<C-u></code>, <code>Z<backspace></code>, <code>z<backspace></code>, select: <code><C-u></code>, <code>Z<C-u></code>, <code>z<C-u></code>, <code>Z<backspace></code>, <code>z<backspace></code></td></tr>
|
|
<tr><td><code>page_cursor_half_down</code></td><td>Move page and cursor half down</td><td>normal: <code><C-d></code>, <code>Z<C-d></code>, <code>z<C-d></code>, <code>Z<space></code>, <code>z<space></code>, select: <code><C-d></code>, <code>Z<C-d></code>, <code>z<C-d></code>, <code>Z<space></code>, <code>z<space></code></td></tr>
|
|
<tr><td><code>select_all</code></td><td>Select whole document</td><td>normal: <code>%</code>, select: <code>%</code></td></tr>
|
|
<tr><td><code>select_regex</code></td><td>Select all regex matches inside selections</td><td>normal: <code>s</code>, select: <code>s</code></td></tr>
|
|
<tr><td><code>split_selection</code></td><td>Split selections on regex matches</td><td>normal: <code>S</code>, select: <code>S</code></td></tr>
|
|
<tr><td><code>split_selection_on_newline</code></td><td>Split selection on newlines</td><td>normal: <code><A-s></code>, select: <code><A-s></code></td></tr>
|
|
<tr><td><code>merge_selections</code></td><td>Merge selections</td><td>normal: <code><A-minus></code>, select: <code><A-minus></code></td></tr>
|
|
<tr><td><code>merge_consecutive_selections</code></td><td>Merge consecutive selections</td><td>normal: <code><A-_></code>, select: <code><A-_></code></td></tr>
|
|
<tr><td><code>search</code></td><td>Search for regex pattern</td><td>normal: <code>/</code>, <code>Z/</code>, <code>z/</code>, select: <code>/</code>, <code>Z/</code>, <code>z/</code></td></tr>
|
|
<tr><td><code>rsearch</code></td><td>Reverse search for regex pattern</td><td>normal: <code>?</code>, <code>Z?</code>, <code>z?</code>, select: <code>?</code>, <code>Z?</code>, <code>z?</code></td></tr>
|
|
<tr><td><code>search_next</code></td><td>Select next search match</td><td>normal: <code>n</code>, <code>Zn</code>, <code>zn</code>, select: <code>Zn</code>, <code>zn</code></td></tr>
|
|
<tr><td><code>search_prev</code></td><td>Select previous search match</td><td>normal: <code>N</code>, <code>ZN</code>, <code>zN</code>, select: <code>ZN</code>, <code>zN</code></td></tr>
|
|
<tr><td><code>extend_search_next</code></td><td>Add next search match to selection</td><td>select: <code>n</code></td></tr>
|
|
<tr><td><code>extend_search_prev</code></td><td>Add previous search match to selection</td><td>select: <code>N</code></td></tr>
|
|
<tr><td><code>search_selection</code></td><td>Use current selection as search pattern</td><td>normal: <code><A-*></code>, select: <code><A-*></code></td></tr>
|
|
<tr><td><code>search_selection_detect_word_boundaries</code></td><td>Use current selection as the search pattern, automatically wrapping with <code>\b</code> on word boundaries</td><td>normal: <code>*</code>, select: <code>*</code></td></tr>
|
|
<tr><td><code>make_search_word_bounded</code></td><td>Modify current search to make it word bounded</td><td></td></tr>
|
|
<tr><td><code>global_search</code></td><td>Global search in workspace folder</td><td>normal: <code><space>/</code>, select: <code><space>/</code></td></tr>
|
|
<tr><td><code>extend_line</code></td><td>Select current line, if already selected, extend to another line based on the anchor</td><td></td></tr>
|
|
<tr><td><code>extend_line_below</code></td><td>Select current line, if already selected, extend to next line</td><td>normal: <code>x</code>, select: <code>x</code></td></tr>
|
|
<tr><td><code>extend_line_above</code></td><td>Select current line, if already selected, extend to previous line</td><td></td></tr>
|
|
<tr><td><code>select_line_above</code></td><td>Select current line, if already selected, extend or shrink line above based on the anchor</td><td></td></tr>
|
|
<tr><td><code>select_line_below</code></td><td>Select current line, if already selected, extend or shrink line below based on the anchor</td><td></td></tr>
|
|
<tr><td><code>extend_to_line_bounds</code></td><td>Extend selection to line bounds</td><td>normal: <code>X</code>, select: <code>X</code></td></tr>
|
|
<tr><td><code>shrink_to_line_bounds</code></td><td>Shrink selection to line bounds</td><td>normal: <code><A-x></code>, select: <code><A-x></code></td></tr>
|
|
<tr><td><code>delete_selection</code></td><td>Delete selection</td><td>normal: <code>d</code>, select: <code>d</code></td></tr>
|
|
<tr><td><code>delete_selection_noyank</code></td><td>Delete selection without yanking</td><td>normal: <code><A-d></code>, select: <code><A-d></code></td></tr>
|
|
<tr><td><code>change_selection</code></td><td>Change selection</td><td>normal: <code>c</code>, select: <code>c</code></td></tr>
|
|
<tr><td><code>change_selection_noyank</code></td><td>Change selection without yanking</td><td>normal: <code><A-c></code>, select: <code><A-c></code></td></tr>
|
|
<tr><td><code>collapse_selection</code></td><td>Collapse selection into single cursor</td><td>normal: <code>;</code>, select: <code>;</code></td></tr>
|
|
<tr><td><code>flip_selections</code></td><td>Flip selection cursor and anchor</td><td>normal: <code><A-;></code>, select: <code><A-;></code></td></tr>
|
|
<tr><td><code>ensure_selections_forward</code></td><td>Ensure all selections face forward</td><td>normal: <code><A-:></code>, select: <code><A-:></code></td></tr>
|
|
<tr><td><code>insert_mode</code></td><td>Insert before selection</td><td>normal: <code>i</code>, select: <code>i</code></td></tr>
|
|
<tr><td><code>append_mode</code></td><td>Append after selection</td><td>normal: <code>a</code>, select: <code>a</code></td></tr>
|
|
<tr><td><code>command_mode</code></td><td>Enter command mode</td><td>normal: <code>:</code>, select: <code>:</code></td></tr>
|
|
<tr><td><code>file_picker</code></td><td>Open file picker</td><td>normal: <code><space>f</code>, select: <code><space>f</code></td></tr>
|
|
<tr><td><code>file_picker_in_current_buffer_directory</code></td><td>Open file picker at current buffer's directory</td><td></td></tr>
|
|
<tr><td><code>file_picker_in_current_directory</code></td><td>Open file picker at current working directory</td><td>normal: <code><space>F</code>, select: <code><space>F</code></td></tr>
|
|
<tr><td><code>code_action</code></td><td>Perform code action</td><td>normal: <code><space>a</code>, select: <code><space>a</code></td></tr>
|
|
<tr><td><code>buffer_picker</code></td><td>Open buffer picker</td><td>normal: <code><space>b</code>, select: <code><space>b</code></td></tr>
|
|
<tr><td><code>jumplist_picker</code></td><td>Open jumplist picker</td><td>normal: <code><space>j</code>, select: <code><space>j</code></td></tr>
|
|
<tr><td><code>symbol_picker</code></td><td>Open symbol picker</td><td>normal: <code><space>s</code>, select: <code><space>s</code></td></tr>
|
|
<tr><td><code>changed_file_picker</code></td><td>Open changed file picker</td><td>normal: <code><space>g</code>, select: <code><space>g</code></td></tr>
|
|
<tr><td><code>select_references_to_symbol_under_cursor</code></td><td>Select symbol references</td><td>normal: <code><space>h</code>, select: <code><space>h</code></td></tr>
|
|
<tr><td><code>workspace_symbol_picker</code></td><td>Open workspace symbol picker</td><td>normal: <code><space>S</code>, select: <code><space>S</code></td></tr>
|
|
<tr><td><code>diagnostics_picker</code></td><td>Open diagnostic picker</td><td>normal: <code><space>d</code>, select: <code><space>d</code></td></tr>
|
|
<tr><td><code>workspace_diagnostics_picker</code></td><td>Open workspace diagnostic picker</td><td>normal: <code><space>D</code>, select: <code><space>D</code></td></tr>
|
|
<tr><td><code>last_picker</code></td><td>Open last picker</td><td>normal: <code><space>'</code>, select: <code><space>'</code></td></tr>
|
|
<tr><td><code>insert_at_line_start</code></td><td>Insert at start of line</td><td>normal: <code>I</code>, select: <code>I</code></td></tr>
|
|
<tr><td><code>insert_at_line_end</code></td><td>Insert at end of line</td><td>normal: <code>A</code>, select: <code>A</code></td></tr>
|
|
<tr><td><code>open_below</code></td><td>Open new line below selection</td><td>normal: <code>o</code>, select: <code>o</code></td></tr>
|
|
<tr><td><code>open_above</code></td><td>Open new line above selection</td><td>normal: <code>O</code>, select: <code>O</code></td></tr>
|
|
<tr><td><code>normal_mode</code></td><td>Enter normal mode</td><td>normal: <code><esc></code>, select: <code>v</code>, insert: <code><esc></code></td></tr>
|
|
<tr><td><code>select_mode</code></td><td>Enter selection extend mode</td><td>normal: <code>v</code></td></tr>
|
|
<tr><td><code>exit_select_mode</code></td><td>Exit selection mode</td><td>select: <code><esc></code></td></tr>
|
|
<tr><td><code>goto_definition</code></td><td>Goto definition</td><td>normal: <code>gd</code>, select: <code>gd</code></td></tr>
|
|
<tr><td><code>goto_declaration</code></td><td>Goto declaration</td><td>normal: <code>gD</code>, select: <code>gD</code></td></tr>
|
|
<tr><td><code>add_newline_above</code></td><td>Add newline above</td><td>normal: <code>[<space></code>, select: <code>[<space></code></td></tr>
|
|
<tr><td><code>add_newline_below</code></td><td>Add newline below</td><td>normal: <code>]<space></code>, select: <code>]<space></code></td></tr>
|
|
<tr><td><code>goto_type_definition</code></td><td>Goto type definition</td><td>normal: <code>gy</code>, select: <code>gy</code></td></tr>
|
|
<tr><td><code>goto_implementation</code></td><td>Goto implementation</td><td>normal: <code>gi</code>, select: <code>gi</code></td></tr>
|
|
<tr><td><code>goto_file_start</code></td><td>Goto line number <n> else file start</td><td>normal: <code>gg</code>, select: <code>gg</code></td></tr>
|
|
<tr><td><code>goto_file_end</code></td><td>Goto file end</td><td></td></tr>
|
|
<tr><td><code>goto_file</code></td><td>Goto files/URLs in selections</td><td>normal: <code>gf</code>, select: <code>gf</code></td></tr>
|
|
<tr><td><code>goto_file_hsplit</code></td><td>Goto files in selections (hsplit)</td><td>normal: <code><C-w>f</code>, <code><space>wf</code>, select: <code><C-w>f</code>, <code><space>wf</code></td></tr>
|
|
<tr><td><code>goto_file_vsplit</code></td><td>Goto files in selections (vsplit)</td><td>normal: <code><C-w>F</code>, <code><space>wF</code>, select: <code><C-w>F</code>, <code><space>wF</code></td></tr>
|
|
<tr><td><code>goto_reference</code></td><td>Goto references</td><td>normal: <code>gr</code>, select: <code>gr</code></td></tr>
|
|
<tr><td><code>goto_window_top</code></td><td>Goto window top</td><td>normal: <code>gt</code>, select: <code>gt</code></td></tr>
|
|
<tr><td><code>goto_window_center</code></td><td>Goto window center</td><td>normal: <code>gc</code>, select: <code>gc</code></td></tr>
|
|
<tr><td><code>goto_window_bottom</code></td><td>Goto window bottom</td><td>normal: <code>gb</code>, select: <code>gb</code></td></tr>
|
|
<tr><td><code>goto_last_accessed_file</code></td><td>Goto last accessed file</td><td>normal: <code>ga</code>, select: <code>ga</code></td></tr>
|
|
<tr><td><code>goto_last_modified_file</code></td><td>Goto last modified file</td><td>normal: <code>gm</code>, select: <code>gm</code></td></tr>
|
|
<tr><td><code>goto_last_modification</code></td><td>Goto last modification</td><td>normal: <code>g.</code>, select: <code>g.</code></td></tr>
|
|
<tr><td><code>goto_line</code></td><td>Goto line</td><td>normal: <code>G</code>, select: <code>G</code></td></tr>
|
|
<tr><td><code>goto_last_line</code></td><td>Goto last line</td><td>normal: <code>ge</code>, select: <code>ge</code></td></tr>
|
|
<tr><td><code>goto_first_diag</code></td><td>Goto first diagnostic</td><td>normal: <code>[D</code>, select: <code>[D</code></td></tr>
|
|
<tr><td><code>goto_last_diag</code></td><td>Goto last diagnostic</td><td>normal: <code>]D</code>, select: <code>]D</code></td></tr>
|
|
<tr><td><code>goto_next_diag</code></td><td>Goto next diagnostic</td><td>normal: <code>]d</code>, select: <code>]d</code></td></tr>
|
|
<tr><td><code>goto_prev_diag</code></td><td>Goto previous diagnostic</td><td>normal: <code>[d</code>, select: <code>[d</code></td></tr>
|
|
<tr><td><code>goto_next_change</code></td><td>Goto next change</td><td>normal: <code>]g</code>, select: <code>]g</code></td></tr>
|
|
<tr><td><code>goto_prev_change</code></td><td>Goto previous change</td><td>normal: <code>[g</code>, select: <code>[g</code></td></tr>
|
|
<tr><td><code>goto_first_change</code></td><td>Goto first change</td><td>normal: <code>[G</code>, select: <code>[G</code></td></tr>
|
|
<tr><td><code>goto_last_change</code></td><td>Goto last change</td><td>normal: <code>]G</code>, select: <code>]G</code></td></tr>
|
|
<tr><td><code>goto_line_start</code></td><td>Goto line start</td><td>normal: <code>gh</code>, <code><home></code>, select: <code>gh</code>, insert: <code><home></code></td></tr>
|
|
<tr><td><code>goto_line_end</code></td><td>Goto line end</td><td>normal: <code>gl</code>, <code><end></code>, select: <code>gl</code></td></tr>
|
|
<tr><td><code>goto_next_buffer</code></td><td>Goto next buffer</td><td>normal: <code>gn</code>, select: <code>gn</code></td></tr>
|
|
<tr><td><code>goto_previous_buffer</code></td><td>Goto previous buffer</td><td>normal: <code>gp</code>, select: <code>gp</code></td></tr>
|
|
<tr><td><code>goto_line_end_newline</code></td><td>Goto newline at line end</td><td>insert: <code><end></code></td></tr>
|
|
<tr><td><code>goto_first_nonwhitespace</code></td><td>Goto first non-blank in line</td><td>normal: <code>gs</code>, select: <code>gs</code></td></tr>
|
|
<tr><td><code>trim_selections</code></td><td>Trim whitespace from selections</td><td>normal: <code>_</code>, select: <code>_</code></td></tr>
|
|
<tr><td><code>extend_to_line_start</code></td><td>Extend to line start</td><td>select: <code><home></code></td></tr>
|
|
<tr><td><code>extend_to_first_nonwhitespace</code></td><td>Extend to first non-blank in line</td><td></td></tr>
|
|
<tr><td><code>extend_to_line_end</code></td><td>Extend to line end</td><td>select: <code><end></code></td></tr>
|
|
<tr><td><code>extend_to_line_end_newline</code></td><td>Extend to line end</td><td></td></tr>
|
|
<tr><td><code>signature_help</code></td><td>Show signature help</td><td></td></tr>
|
|
<tr><td><code>smart_tab</code></td><td>Insert tab if all cursors have all whitespace to their left; otherwise, run a separate command.</td><td>insert: <code><tab></code></td></tr>
|
|
<tr><td><code>insert_tab</code></td><td>Insert tab char</td><td>insert: <code><S-tab></code></td></tr>
|
|
<tr><td><code>insert_newline</code></td><td>Insert newline char</td><td>insert: <code><C-j></code>, <code><ret></code></td></tr>
|
|
<tr><td><code>delete_char_backward</code></td><td>Delete previous char</td><td>insert: <code><C-h></code>, <code><backspace></code>, <code><S-backspace></code></td></tr>
|
|
<tr><td><code>delete_char_forward</code></td><td>Delete next char</td><td>insert: <code><C-d></code>, <code><del></code></td></tr>
|
|
<tr><td><code>delete_word_backward</code></td><td>Delete previous word</td><td>insert: <code><C-w></code>, <code><A-backspace></code></td></tr>
|
|
<tr><td><code>delete_word_forward</code></td><td>Delete next word</td><td>insert: <code><A-d></code>, <code><A-del></code></td></tr>
|
|
<tr><td><code>kill_to_line_start</code></td><td>Delete till start of line</td><td>insert: <code><C-u></code></td></tr>
|
|
<tr><td><code>kill_to_line_end</code></td><td>Delete till end of line</td><td>insert: <code><C-k></code></td></tr>
|
|
<tr><td><code>undo</code></td><td>Undo change</td><td>normal: <code>u</code>, select: <code>u</code></td></tr>
|
|
<tr><td><code>redo</code></td><td>Redo change</td><td>normal: <code>U</code>, select: <code>U</code></td></tr>
|
|
<tr><td><code>earlier</code></td><td>Move backward in history</td><td>normal: <code><A-u></code>, select: <code><A-u></code></td></tr>
|
|
<tr><td><code>later</code></td><td>Move forward in history</td><td>normal: <code><A-U></code>, select: <code><A-U></code></td></tr>
|
|
<tr><td><code>commit_undo_checkpoint</code></td><td>Commit changes to new checkpoint</td><td>insert: <code><C-s></code></td></tr>
|
|
<tr><td><code>yank</code></td><td>Yank selection</td><td>normal: <code>y</code>, select: <code>y</code></td></tr>
|
|
<tr><td><code>yank_to_clipboard</code></td><td>Yank selections to clipboard</td><td>normal: <code><space>y</code>, select: <code><space>y</code></td></tr>
|
|
<tr><td><code>yank_to_primary_clipboard</code></td><td>Yank selections to primary clipboard</td><td></td></tr>
|
|
<tr><td><code>yank_joined</code></td><td>Join and yank selections</td><td></td></tr>
|
|
<tr><td><code>yank_joined_to_clipboard</code></td><td>Join and yank selections to clipboard</td><td></td></tr>
|
|
<tr><td><code>yank_main_selection_to_clipboard</code></td><td>Yank main selection to clipboard</td><td>normal: <code><space>Y</code>, select: <code><space>Y</code></td></tr>
|
|
<tr><td><code>yank_joined_to_primary_clipboard</code></td><td>Join and yank selections to primary clipboard</td><td></td></tr>
|
|
<tr><td><code>yank_main_selection_to_primary_clipboard</code></td><td>Yank main selection to primary clipboard</td><td></td></tr>
|
|
<tr><td><code>replace_with_yanked</code></td><td>Replace with yanked text</td><td>normal: <code>R</code>, select: <code>R</code></td></tr>
|
|
<tr><td><code>replace_selections_with_clipboard</code></td><td>Replace selections by clipboard content</td><td>normal: <code><space>R</code>, select: <code><space>R</code></td></tr>
|
|
<tr><td><code>replace_selections_with_primary_clipboard</code></td><td>Replace selections by primary clipboard</td><td></td></tr>
|
|
<tr><td><code>paste_after</code></td><td>Paste after selection</td><td>normal: <code>p</code>, select: <code>p</code></td></tr>
|
|
<tr><td><code>paste_before</code></td><td>Paste before selection</td><td>normal: <code>P</code>, select: <code>P</code></td></tr>
|
|
<tr><td><code>paste_clipboard_after</code></td><td>Paste clipboard after selections</td><td>normal: <code><space>p</code>, select: <code><space>p</code></td></tr>
|
|
<tr><td><code>paste_clipboard_before</code></td><td>Paste clipboard before selections</td><td>normal: <code><space>P</code>, select: <code><space>P</code></td></tr>
|
|
<tr><td><code>paste_primary_clipboard_after</code></td><td>Paste primary clipboard after selections</td><td></td></tr>
|
|
<tr><td><code>paste_primary_clipboard_before</code></td><td>Paste primary clipboard before selections</td><td></td></tr>
|
|
<tr><td><code>indent</code></td><td>Indent selection</td><td>normal: <code><gt></code>, select: <code><gt></code></td></tr>
|
|
<tr><td><code>unindent</code></td><td>Unindent selection</td><td>normal: <code><lt></code>, select: <code><lt></code></td></tr>
|
|
<tr><td><code>format_selections</code></td><td>Format selection</td><td>normal: <code>=</code>, select: <code>=</code></td></tr>
|
|
<tr><td><code>join_selections</code></td><td>Join lines inside selection</td><td>normal: <code>J</code>, select: <code>J</code></td></tr>
|
|
<tr><td><code>join_selections_space</code></td><td>Join lines inside selection and select spaces</td><td>normal: <code><A-J></code>, select: <code><A-J></code></td></tr>
|
|
<tr><td><code>keep_selections</code></td><td>Keep selections matching regex</td><td>normal: <code>K</code>, select: <code>K</code></td></tr>
|
|
<tr><td><code>remove_selections</code></td><td>Remove selections matching regex</td><td>normal: <code><A-K></code>, select: <code><A-K></code></td></tr>
|
|
<tr><td><code>align_selections</code></td><td>Align selections in column</td><td>normal: <code>&</code>, select: <code>&</code></td></tr>
|
|
<tr><td><code>keep_primary_selection</code></td><td>Keep primary selection</td><td>normal: <code>,</code>, select: <code>,</code></td></tr>
|
|
<tr><td><code>remove_primary_selection</code></td><td>Remove primary selection</td><td>normal: <code><A-,></code>, select: <code><A-,></code></td></tr>
|
|
<tr><td><code>completion</code></td><td>Invoke completion popup</td><td>insert: <code><C-x></code></td></tr>
|
|
<tr><td><code>hover</code></td><td>Show docs for item under cursor</td><td>normal: <code><space>k</code>, select: <code><space>k</code></td></tr>
|
|
<tr><td><code>toggle_comments</code></td><td>Comment/uncomment selections</td><td>normal: <code><C-c></code>, <code><space>c</code>, select: <code><C-c></code>, <code><space>c</code></td></tr>
|
|
<tr><td><code>toggle_line_comments</code></td><td>Line comment/uncomment selections</td><td>normal: <code><space><A-c></code>, select: <code><space><A-c></code></td></tr>
|
|
<tr><td><code>toggle_block_comments</code></td><td>Block comment/uncomment selections</td><td>normal: <code><space>C</code>, select: <code><space>C</code></td></tr>
|
|
<tr><td><code>rotate_selections_forward</code></td><td>Rotate selections forward</td><td>normal: <code>)</code>, select: <code>)</code></td></tr>
|
|
<tr><td><code>rotate_selections_backward</code></td><td>Rotate selections backward</td><td>normal: <code>(</code>, select: <code>(</code></td></tr>
|
|
<tr><td><code>rotate_selection_contents_forward</code></td><td>Rotate selection contents forward</td><td>normal: <code><A-)></code>, select: <code><A-)></code></td></tr>
|
|
<tr><td><code>rotate_selection_contents_backward</code></td><td>Rotate selections contents backward</td><td>normal: <code><A-(></code>, select: <code><A-(></code></td></tr>
|
|
<tr><td><code>reverse_selection_contents</code></td><td>Reverse selections contents</td><td></td></tr>
|
|
<tr><td><code>expand_selection</code></td><td>Expand selection to parent syntax node</td><td>normal: <code><A-o></code>, <code><A-up></code>, select: <code><A-o></code>, <code><A-up></code></td></tr>
|
|
<tr><td><code>shrink_selection</code></td><td>Shrink selection to previously expanded syntax node</td><td>normal: <code><A-i></code>, <code><A-down></code>, select: <code><A-i></code>, <code><A-down></code></td></tr>
|
|
<tr><td><code>select_next_sibling</code></td><td>Select next sibling in the syntax tree</td><td>normal: <code><A-n></code>, <code><A-right></code>, select: <code><A-n></code>, <code><A-right></code></td></tr>
|
|
<tr><td><code>select_prev_sibling</code></td><td>Select previous sibling the in syntax tree</td><td>normal: <code><A-p></code>, <code><A-left></code>, select: <code><A-p></code>, <code><A-left></code></td></tr>
|
|
<tr><td><code>select_all_siblings</code></td><td>Select all siblings of the current node</td><td>normal: <code><A-a></code>, select: <code><A-a></code></td></tr>
|
|
<tr><td><code>select_all_children</code></td><td>Select all children of the current node</td><td>normal: <code><A-I></code>, <code><S-A-down></code>, select: <code><A-I></code>, <code><S-A-down></code></td></tr>
|
|
<tr><td><code>jump_forward</code></td><td>Jump forward on jumplist</td><td>normal: <code><C-i></code>, <code><tab></code>, select: <code><C-i></code>, <code><tab></code></td></tr>
|
|
<tr><td><code>jump_backward</code></td><td>Jump backward on jumplist</td><td>normal: <code><C-o></code>, select: <code><C-o></code></td></tr>
|
|
<tr><td><code>save_selection</code></td><td>Save current selection to jumplist</td><td>normal: <code><C-s></code>, select: <code><C-s></code></td></tr>
|
|
<tr><td><code>jump_view_right</code></td><td>Jump to right split</td><td>normal: <code><C-w>l</code>, <code><space>wl</code>, <code><C-w><C-l></code>, <code><C-w><right></code>, <code><space>w<C-l></code>, <code><space>w<right></code>, select: <code><C-w>l</code>, <code><space>wl</code>, <code><C-w><C-l></code>, <code><C-w><right></code>, <code><space>w<C-l></code>, <code><space>w<right></code></td></tr>
|
|
<tr><td><code>jump_view_left</code></td><td>Jump to left split</td><td>normal: <code><C-w>h</code>, <code><space>wh</code>, <code><C-w><C-h></code>, <code><C-w><left></code>, <code><space>w<C-h></code>, <code><space>w<left></code>, select: <code><C-w>h</code>, <code><space>wh</code>, <code><C-w><C-h></code>, <code><C-w><left></code>, <code><space>w<C-h></code>, <code><space>w<left></code></td></tr>
|
|
<tr><td><code>jump_view_up</code></td><td>Jump to split above</td><td>normal: <code><C-w>k</code>, <code><C-w><up></code>, <code><space>wk</code>, <code><C-w><C-k></code>, <code><space>w<up></code>, <code><space>w<C-k></code>, select: <code><C-w>k</code>, <code><C-w><up></code>, <code><space>wk</code>, <code><C-w><C-k></code>, <code><space>w<up></code>, <code><space>w<C-k></code></td></tr>
|
|
<tr><td><code>jump_view_down</code></td><td>Jump to split below</td><td>normal: <code><C-w>j</code>, <code><space>wj</code>, <code><C-w><C-j></code>, <code><C-w><down></code>, <code><space>w<C-j></code>, <code><space>w<down></code>, select: <code><C-w>j</code>, <code><space>wj</code>, <code><C-w><C-j></code>, <code><C-w><down></code>, <code><space>w<C-j></code>, <code><space>w<down></code></td></tr>
|
|
<tr><td><code>swap_view_right</code></td><td>Swap with right split</td><td>normal: <code><C-w>L</code>, <code><space>wL</code>, select: <code><C-w>L</code>, <code><space>wL</code></td></tr>
|
|
<tr><td><code>swap_view_left</code></td><td>Swap with left split</td><td>normal: <code><C-w>H</code>, <code><space>wH</code>, select: <code><C-w>H</code>, <code><space>wH</code></td></tr>
|
|
<tr><td><code>swap_view_up</code></td><td>Swap with split above</td><td>normal: <code><C-w>K</code>, <code><space>wK</code>, select: <code><C-w>K</code>, <code><space>wK</code></td></tr>
|
|
<tr><td><code>swap_view_down</code></td><td>Swap with split below</td><td>normal: <code><C-w>J</code>, <code><space>wJ</code>, select: <code><C-w>J</code>, <code><space>wJ</code></td></tr>
|
|
<tr><td><code>transpose_view</code></td><td>Transpose splits</td><td>normal: <code><C-w>t</code>, <code><space>wt</code>, <code><C-w><C-t></code>, <code><space>w<C-t></code>, select: <code><C-w>t</code>, <code><space>wt</code>, <code><C-w><C-t></code>, <code><space>w<C-t></code></td></tr>
|
|
<tr><td><code>rotate_view</code></td><td>Goto next window</td><td>normal: <code><C-w>w</code>, <code><space>ww</code>, <code><C-w><C-w></code>, <code><space>w<C-w></code>, select: <code><C-w>w</code>, <code><space>ww</code>, <code><C-w><C-w></code>, <code><space>w<C-w></code></td></tr>
|
|
<tr><td><code>rotate_view_reverse</code></td><td>Goto previous window</td><td></td></tr>
|
|
<tr><td><code>hsplit</code></td><td>Horizontal bottom split</td><td>normal: <code><C-w>s</code>, <code><space>ws</code>, <code><C-w><C-s></code>, <code><space>w<C-s></code>, select: <code><C-w>s</code>, <code><space>ws</code>, <code><C-w><C-s></code>, <code><space>w<C-s></code></td></tr>
|
|
<tr><td><code>hsplit_new</code></td><td>Horizontal bottom split scratch buffer</td><td>normal: <code><C-w>ns</code>, <code><space>wns</code>, <code><C-w>n<C-s></code>, <code><space>wn<C-s></code>, select: <code><C-w>ns</code>, <code><space>wns</code>, <code><C-w>n<C-s></code>, <code><space>wn<C-s></code></td></tr>
|
|
<tr><td><code>vsplit</code></td><td>Vertical right split</td><td>normal: <code><C-w>v</code>, <code><space>wv</code>, <code><C-w><C-v></code>, <code><space>w<C-v></code>, select: <code><C-w>v</code>, <code><space>wv</code>, <code><C-w><C-v></code>, <code><space>w<C-v></code></td></tr>
|
|
<tr><td><code>vsplit_new</code></td><td>Vertical right split scratch buffer</td><td>normal: <code><C-w>nv</code>, <code><space>wnv</code>, <code><C-w>n<C-v></code>, <code><space>wn<C-v></code>, select: <code><C-w>nv</code>, <code><space>wnv</code>, <code><C-w>n<C-v></code>, <code><space>wn<C-v></code></td></tr>
|
|
<tr><td><code>wclose</code></td><td>Close window</td><td>normal: <code><C-w>q</code>, <code><space>wq</code>, <code><C-w><C-q></code>, <code><space>w<C-q></code>, select: <code><C-w>q</code>, <code><space>wq</code>, <code><C-w><C-q></code>, <code><space>w<C-q></code></td></tr>
|
|
<tr><td><code>wonly</code></td><td>Close windows except current</td><td>normal: <code><C-w>o</code>, <code><space>wo</code>, <code><C-w><C-o></code>, <code><space>w<C-o></code>, select: <code><C-w>o</code>, <code><space>wo</code>, <code><C-w><C-o></code>, <code><space>w<C-o></code></td></tr>
|
|
<tr><td><code>select_register</code></td><td>Select register</td><td>normal: <code>"</code>, select: <code>"</code></td></tr>
|
|
<tr><td><code>insert_register</code></td><td>Insert register</td><td>insert: <code><C-r></code></td></tr>
|
|
<tr><td><code>align_view_middle</code></td><td>Align view middle</td><td>normal: <code>Zm</code>, <code>zm</code>, select: <code>Zm</code>, <code>zm</code></td></tr>
|
|
<tr><td><code>align_view_top</code></td><td>Align view top</td><td>normal: <code>Zt</code>, <code>zt</code>, select: <code>Zt</code>, <code>zt</code></td></tr>
|
|
<tr><td><code>align_view_center</code></td><td>Align view center</td><td>normal: <code>Zc</code>, <code>Zz</code>, <code>zc</code>, <code>zz</code>, select: <code>Zc</code>, <code>Zz</code>, <code>zc</code>, <code>zz</code></td></tr>
|
|
<tr><td><code>align_view_bottom</code></td><td>Align view bottom</td><td>normal: <code>Zb</code>, <code>zb</code>, select: <code>Zb</code>, <code>zb</code></td></tr>
|
|
<tr><td><code>scroll_up</code></td><td>Scroll view up</td><td>normal: <code>Zk</code>, <code>zk</code>, <code>Z<up></code>, <code>z<up></code>, select: <code>Zk</code>, <code>zk</code>, <code>Z<up></code>, <code>z<up></code></td></tr>
|
|
<tr><td><code>scroll_down</code></td><td>Scroll view down</td><td>normal: <code>Zj</code>, <code>zj</code>, <code>Z<down></code>, <code>z<down></code>, select: <code>Zj</code>, <code>zj</code>, <code>Z<down></code>, <code>z<down></code></td></tr>
|
|
<tr><td><code>match_brackets</code></td><td>Goto matching bracket</td><td>normal: <code>mm</code>, select: <code>mm</code></td></tr>
|
|
<tr><td><code>surround_add</code></td><td>Surround add</td><td>normal: <code>ms</code>, select: <code>ms</code></td></tr>
|
|
<tr><td><code>surround_replace</code></td><td>Surround replace</td><td>normal: <code>mr</code>, select: <code>mr</code></td></tr>
|
|
<tr><td><code>surround_delete</code></td><td>Surround delete</td><td>normal: <code>md</code>, select: <code>md</code></td></tr>
|
|
<tr><td><code>select_textobject_around</code></td><td>Select around object</td><td>normal: <code>ma</code>, select: <code>ma</code></td></tr>
|
|
<tr><td><code>select_textobject_inner</code></td><td>Select inside object</td><td>normal: <code>mi</code>, select: <code>mi</code></td></tr>
|
|
<tr><td><code>goto_next_function</code></td><td>Goto next function</td><td>normal: <code>]f</code>, select: <code>]f</code></td></tr>
|
|
<tr><td><code>goto_prev_function</code></td><td>Goto previous function</td><td>normal: <code>[f</code>, select: <code>[f</code></td></tr>
|
|
<tr><td><code>goto_next_class</code></td><td>Goto next type definition</td><td>normal: <code>]t</code>, select: <code>]t</code></td></tr>
|
|
<tr><td><code>goto_prev_class</code></td><td>Goto previous type definition</td><td>normal: <code>[t</code>, select: <code>[t</code></td></tr>
|
|
<tr><td><code>goto_next_parameter</code></td><td>Goto next parameter</td><td>normal: <code>]a</code>, select: <code>]a</code></td></tr>
|
|
<tr><td><code>goto_prev_parameter</code></td><td>Goto previous parameter</td><td>normal: <code>[a</code>, select: <code>[a</code></td></tr>
|
|
<tr><td><code>goto_next_comment</code></td><td>Goto next comment</td><td>normal: <code>]c</code>, select: <code>]c</code></td></tr>
|
|
<tr><td><code>goto_prev_comment</code></td><td>Goto previous comment</td><td>normal: <code>[c</code>, select: <code>[c</code></td></tr>
|
|
<tr><td><code>goto_next_test</code></td><td>Goto next test</td><td>normal: <code>]T</code>, select: <code>]T</code></td></tr>
|
|
<tr><td><code>goto_prev_test</code></td><td>Goto previous test</td><td>normal: <code>[T</code>, select: <code>[T</code></td></tr>
|
|
<tr><td><code>goto_next_entry</code></td><td>Goto next pairing</td><td>normal: <code>]e</code>, select: <code>]e</code></td></tr>
|
|
<tr><td><code>goto_prev_entry</code></td><td>Goto previous pairing</td><td>normal: <code>[e</code>, select: <code>[e</code></td></tr>
|
|
<tr><td><code>goto_next_paragraph</code></td><td>Goto next paragraph</td><td>normal: <code>]p</code>, select: <code>]p</code></td></tr>
|
|
<tr><td><code>goto_prev_paragraph</code></td><td>Goto previous paragraph</td><td>normal: <code>[p</code>, select: <code>[p</code></td></tr>
|
|
<tr><td><code>dap_launch</code></td><td>Launch debug target</td><td>normal: <code><space>Gl</code>, select: <code><space>Gl</code></td></tr>
|
|
<tr><td><code>dap_restart</code></td><td>Restart debugging session</td><td>normal: <code><space>Gr</code>, select: <code><space>Gr</code></td></tr>
|
|
<tr><td><code>dap_toggle_breakpoint</code></td><td>Toggle breakpoint</td><td>normal: <code><space>Gb</code>, select: <code><space>Gb</code></td></tr>
|
|
<tr><td><code>dap_continue</code></td><td>Continue program execution</td><td>normal: <code><space>Gc</code>, select: <code><space>Gc</code></td></tr>
|
|
<tr><td><code>dap_pause</code></td><td>Pause program execution</td><td>normal: <code><space>Gh</code>, select: <code><space>Gh</code></td></tr>
|
|
<tr><td><code>dap_step_in</code></td><td>Step in</td><td>normal: <code><space>Gi</code>, select: <code><space>Gi</code></td></tr>
|
|
<tr><td><code>dap_step_out</code></td><td>Step out</td><td>normal: <code><space>Go</code>, select: <code><space>Go</code></td></tr>
|
|
<tr><td><code>dap_next</code></td><td>Step to next</td><td>normal: <code><space>Gn</code>, select: <code><space>Gn</code></td></tr>
|
|
<tr><td><code>dap_variables</code></td><td>List variables</td><td>normal: <code><space>Gv</code>, select: <code><space>Gv</code></td></tr>
|
|
<tr><td><code>dap_terminate</code></td><td>End debug session</td><td>normal: <code><space>Gt</code>, select: <code><space>Gt</code></td></tr>
|
|
<tr><td><code>dap_edit_condition</code></td><td>Edit breakpoint condition on current line</td><td>normal: <code><space>G<C-c></code>, select: <code><space>G<C-c></code></td></tr>
|
|
<tr><td><code>dap_edit_log</code></td><td>Edit breakpoint log message on current line</td><td>normal: <code><space>G<C-l></code>, select: <code><space>G<C-l></code></td></tr>
|
|
<tr><td><code>dap_switch_thread</code></td><td>Switch current thread</td><td>normal: <code><space>Gst</code>, select: <code><space>Gst</code></td></tr>
|
|
<tr><td><code>dap_switch_stack_frame</code></td><td>Switch stack frame</td><td>normal: <code><space>Gsf</code>, select: <code><space>Gsf</code></td></tr>
|
|
<tr><td><code>dap_enable_exceptions</code></td><td>Enable exception breakpoints</td><td>normal: <code><space>Ge</code>, select: <code><space>Ge</code></td></tr>
|
|
<tr><td><code>dap_disable_exceptions</code></td><td>Disable exception breakpoints</td><td>normal: <code><space>GE</code>, select: <code><space>GE</code></td></tr>
|
|
<tr><td><code>shell_pipe</code></td><td>Pipe selections through shell command</td><td>normal: <code>|</code>, select: <code>|</code></td></tr>
|
|
<tr><td><code>shell_pipe_to</code></td><td>Pipe selections into shell command ignoring output</td><td>normal: <code><A-|></code>, select: <code><A-|></code></td></tr>
|
|
<tr><td><code>shell_insert_output</code></td><td>Insert shell command output before selections</td><td>normal: <code>!</code>, select: <code>!</code></td></tr>
|
|
<tr><td><code>shell_append_output</code></td><td>Append shell command output after selections</td><td>normal: <code><A-!></code>, select: <code><A-!></code></td></tr>
|
|
<tr><td><code>shell_keep_pipe</code></td><td>Filter selections with shell predicate</td><td>normal: <code>$</code>, select: <code>$</code></td></tr>
|
|
<tr><td><code>suspend</code></td><td>Suspend and return to shell</td><td>normal: <code><C-z></code>, select: <code><C-z></code></td></tr>
|
|
<tr><td><code>rename_symbol</code></td><td>Rename symbol</td><td>normal: <code><space>r</code>, select: <code><space>r</code></td></tr>
|
|
<tr><td><code>increment</code></td><td>Increment item under cursor</td><td>normal: <code><C-a></code>, select: <code><C-a></code></td></tr>
|
|
<tr><td><code>decrement</code></td><td>Decrement item under cursor</td><td>normal: <code><C-x></code>, select: <code><C-x></code></td></tr>
|
|
<tr><td><code>record_macro</code></td><td>Record macro</td><td>normal: <code>Q</code>, select: <code>Q</code></td></tr>
|
|
<tr><td><code>replay_macro</code></td><td>Replay macro</td><td>normal: <code>q</code>, select: <code>q</code></td></tr>
|
|
<tr><td><code>command_palette</code></td><td>Open command palette</td><td>normal: <code><space>?</code>, select: <code><space>?</code></td></tr>
|
|
<tr><td><code>goto_word</code></td><td>Jump to a two-character label</td><td>normal: <code>gw</code></td></tr>
|
|
<tr><td><code>extend_to_word</code></td><td>Extend to a two-character label</td><td>select: <code>gw</code></td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
</main>
|
|
|
|
<nav class="nav-wrapper" aria-label="Page navigation">
|
|
<!-- Mobile navigation buttons -->
|
|
<a rel="prev" href="keymap.html" class="mobile-nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
<a rel="next prefetch" href="lang-support.html" class="mobile-nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
|
|
<div style="clear: both"></div>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
|
|
<nav class="nav-wide-wrapper" aria-label="Page navigation">
|
|
<a rel="prev" href="keymap.html" class="nav-chapters previous" title="Previous chapter" aria-label="Previous chapter" aria-keyshortcuts="Left">
|
|
<i class="fa fa-angle-left"></i>
|
|
</a>
|
|
|
|
<a rel="next prefetch" href="lang-support.html" class="nav-chapters next" title="Next chapter" aria-label="Next chapter" aria-keyshortcuts="Right">
|
|
<i class="fa fa-angle-right"></i>
|
|
</a>
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
window.playground_copyable = true;
|
|
</script>
|
|
|
|
|
|
<script src="elasticlunr.min.js"></script>
|
|
<script src="mark.min.js"></script>
|
|
<script src="searcher.js"></script>
|
|
|
|
<script src="clipboard.min.js"></script>
|
|
<script src="highlight.js"></script>
|
|
<script src="book.js"></script>
|
|
|
|
<!-- Custom JS scripts -->
|
|
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|