摆脱鼠标操作 - vscode - vim - 官方说明文档 github上的,防止打不开,这里发一个
Key
- command done
- command done with VS Code specific customization
️ - some variations of the command are not supported
- work in progress
️ - command is low priority; open an issue (or thumbs up the relevant issue) if you want to see it sooner
- command impossible with current VSCode API
- command accepts numeric prefix
Roadmap
These are the big Vim features, put generally in the order in which we plan to implement them.
Status | Command |
---|---|
Normal Mode | |
Insert Mode | |
Visual Mode | |
Visual Line Mode | |
Number Prefixes | |
. Operator | |
Searching with / and ? | |
Correct Undo/Redo | |
️ | Command Remapping |
️ | Marks |
Text Objects | |
Visual Block Mode | |
Replace Mode | |
Multiple Select Mode | |
️ | Macros |
️ | Buffer/Window/Tab |
Now follows an exhaustive list of every known Vim command that we could find.
Custom commands
gh
- show the hover tooltip.gb
- add an additional cursor at the next place that matches*
.
Left-right motions
Status | Command | Description |
---|---|---|
h | left (also: CTRL-H, BS, or Left key) | |
l | right (also: Space or Right key) | |
0 | to first character in the line (also: Home key) | |
^ | to first non-blank character in the line | |
$ | to the last character in the line (N-1 lines lower) (also: End key) | |
g0 | to first character in screen line (differs from "0" when lines wrap) | |
g^ | to first non-blank character in screen line (differs from "^" when lines wrap) | |
g$ | to last character in screen line (differs from "$" when lines wrap) | |
gm | to middle of the screen line | |
| | to column N (default: 1) | |
f | to the Nth occurrence of {char} to the right | |
F | to the Nth occurrence of {char} to the left | |
t | till before the Nth occurrence of {char} to the right | |
T | till before the Nth occurrence of {char} to the left | |
; | repeat the last "f", "F", "t", or "T" N times | |
, | repeat the last "f", "F", "t", or "T" N times in opposite direction |
Up-down motions
Status | Command | Description |
---|---|---|
k | up N lines (also: CTRL-P and Up) | |
j | down N lines (also: CTRL-J, CTRL-N, NL, and Down) | |
- | up N lines, on the first non-blank character | |
+ | down N lines, on the first non-blank character (also: CTRL-M and CR) | |
_ | down N-1 lines, on the first non-blank character | |
G | goto line N (default: last line), on the first non-blank character | |
gg | goto line N (default: first line), on the first non-blank character | |
% | goto line N percentage down in the file; N must be given, otherwise it is the % command |
|
gk | up N screen lines (differs from "k" when line wraps) | |
gj | down N screen lines (differs from "j" when line wraps) |
Text object motions
Status | Command | Description |
---|---|---|
w | N words forward | |
W | N blank-separated WORDs forward | |
e | N words forward to the end of the Nth word | |
E | N words forward to the end of the Nth blank-separated WORD | |
b | N words backward | |
B | N blank-separated WORDs backward | |
ge | N words backward to the end of the Nth word | |
gE | N words backward to the end of the Nth blank-separated WORD | |
) | N sentences forward | |
( | N sentences backward | |
} | N paragraphs forward | |
{ | N paragraphs backward | |
]] | N sections forward, at start of section | |
[[ | N sections backward, at start of section | |
][ | N sections forward, at end of section | |
[] | N sections backward, at end of section | |
[( | N times back to unclosed '(' | |
[{ | N times back to unclosed '{' | |
️ | [m | N times back to start of method (for Java) |
️ | [M | N times back to end of method (for Java) |
]) | N times forward to unclosed ')' | |
]} | N times forward to unclosed '}' | |
️ | ]m | N times forward to start of method (for Java) |
️ | ]M | N times forward to end of method (for Java) |
️ | [# | N times back to unclosed "#if" or "#else" |
️ | ]# | N times forward to unclosed "#else" or "#endif" |
️ | [* | N times back to start of a C comment "/*" |
️ | ]* | N times forward to end of a C comment "*/" |
Pattern searches
Status | Command | Description | Note |
---|---|---|---|
/{pattern}[/[offset]]<CR> |
search forward for the Nth occurrence of | Currently we only support JavaScript Regex but not Vim's in-house Regex engine. | |
?{pattern}[?[offset]]<CR> |
search backward for the Nth occurrence of | Currently we only support JavaScript Regex but not Vim's in-house Regex engine. | |
️ | /<CR> |
repeat last search, in the forward direction | {count} is not supported. |
️ | ?<CR> |
repeat last search, in the backward direction | {count} is not supported. |
n | repeat last search | ||
N | repeat last search, in opposite direction | ||
* | search forward for the identifier under the cursor | ||
# | search backward for the identifier under the cursor | ||
g* | like "*", but also find partial matches | ||
g# | like "#", but also find partial matches | ||
gd | goto local declaration of identifier under the cursor | ||
️ | gD | goto global declaration of identifier under the cursor |
Marks and motions
Status | Command | Description |
---|---|---|
m | mark current position with mark | |
` | go to mark {a-z} within current file | |
` | go to mark {A-Z} in any file | |
` | go to the position where Vim was previously exited | |
`` | go to the position before the last jump | |
️ | `" | go to the position when last editing this file |
`[ | go to the start of the previously operated or put text | |
'[ | go to the start of the previously operated or put text | |
`] | go to the end of the previously operated or put text | |
'] | go to the end of the previously operated or put text | |
️ | `< | go to the start of the (previous) Visual area |
️ | `> | go to the end of the (previous) Visual area |
`. | go to the position of the last change in this file | |
'. | go to the position of the last change in this file | |
️ | ' | same as `, but on the first non-blank in the line |
️ | :marks | print the active marks |
CTRL-O | go to Nth older position in jump list | |
CTRL-I | go to Nth newer position in jump list | |
️ | :ju[mps] | print the jump list |
Various motions
Status | Command | Description |
---|---|---|
% | find the next brace, bracket, comment, or "#if"/ "#else"/"#endif" in this line and go to its match | |
H | go to the Nth line in the window, on the first non-blank | |
M | go to the middle line in the window, on the first non-blank | |
L | go to the Nth line from the bottom, on the first non-blank | |
️ | go | go to Nth byte in the buffer |
️ | :[range]go[to][off] | go to [off] byte in the buffer |
Using tags
The following are all marked low priority because VSCode has very good support for tags with Goto Symbol. Try it from the command palette if you haven't yet!
Status | Command | Description |
---|---|---|
️ | :ta[g][!] | jump to tag |
️ | :[count]ta[g][!] | jump to [count]'th newer tag in tag list |
️ | CTRL-] | jump to the tag under cursor, unless changes have been made |
️ | :ts[elect][!] [tag] | list matching tags and select one to jump to |
️ | :tj[ump][!] [tag] | jump to tag [tag] or select from list when there are multiple matches |
️ | :lt[ag][!] [tag] | jump to tag [tag] and add matching tags to the location list |
️ | :tagsa | print tag list |
️ | CTRL-T | jump back from Nth older tag in tag list |
️ | :[count]po[p][!] | jump back from [count]'th older tag in tag list |
️ | :[count]tn[ext][!] | jump to [count]'th next matching tag |
️ | :[count]tp[revious][!] | jump to [count]'th previous matching tag |
️ | :[count]tr[ewind][!] | jump to [count]'th matching tag |
️ | :tl[ast][!] | jump to last matching tag |
️ | :pt[ag] | open a preview window to show tag |
️ | CTRL-W } | like CTRL-] but show tag in preview window |
️ | :pts[elect] | like ":tselect" but show tag in preview window |
️ | :ptj[ump] | like ":tjump" but show tag in preview window |
️ | :pc[lose] | close tag preview window |
️ | CTRL-W z | close tag preview window` |
Scrolling
Status | Command | Description |
---|---|---|
CTRL-E | window N lines downwards (default: 1) | |
CTRL-D | window N lines Downwards (default: 1/2 window) | |
CTRL-F | window N pages Forwards (downwards) | |
CTRL-Y | window N lines upwards (default: 1) | |
CTRL-U | window N lines Upwards (default: 1/2 window) | |
CTRL-B | window N pages Backwards (upwards) | |
z CR or zt | redraw, current line at top of window | |
z. or zz | redraw, current line at center of window | |
z- or zb | redraw, current line at bottom of window |
These only work when 'wrap' is off:
Status | Command | Description | Note |
---|---|---|---|
zh | scroll screen N characters to the right | In Code, the cursor will always move when you run this command, whether the horizontal scrollbar moves or not. | |
zl | scroll screen N characters to the left | As above | |
zH | scroll screen half a screenwidth to the right | As above | |
zL | scroll screen half a screenwidth to the left | As above |
Inserting text
Status | Command | Description |
---|---|---|
a | append text after the cursor (N times) | |
A | append text at the end of the line (N times) | |
i | insert text before the cursor (N times) (also: Insert) | |
I | insert text before the first non-blank in the line (N times) | |
gI | insert text in column 1 (N times) | |
gi | insert at the end of the last change | |
o | open a new line below the current line, append text (N times) | |
O | open a new line above the current line, append text (N times) |
in Visual block mode:
Status | Command | Description |
---|---|---|
I | insert the same text in front of all the selected lines | |
A | append the same text after all the selected lines |
Insert mode keys
leaving Insert mode:
Status | Command | Description |
---|---|---|
Esc | end Insert mode, back to Normal mode | |
CTRL-C | like Esc, but do not use an abbreviation | |
CTRL-O | execute {command} and return to Insert mode |
moving around:
Status | Command | Description |
---|---|---|
cursor keys | move cursor left/right/up/down | |
shift-left/right | one word left/right | |
shift-up/down | one screenful backward/forward | |
End | cursor after last character in the line | |
Home | cursor to first character in the line |
Special keys in Insert mode
Status | Command | Description | Note |
---|---|---|---|
️ | CTRL-V {char}.. | insert character literally, or enter decimal byte value | |
️ | NL or CR or CTRL-M or CTRL-J | begin new line | CTRL-M and CTRL-J are not supported |
CTRL-E | insert the character from below the cursor | ||
CTRL-Y | insert the character from above the cursor | ||
CTRL-A | insert previously inserted text | We apply previously document change made in previous Insert session and we only apply changes that happen under cursor | |
CTRL-@ | insert previously inserted text and stop Insert mode | As above | |
CTRL-R | insert the contents of a register | ||
CTRL-N | insert next match of identifier before the cursor | ||
CTRL-P | insert previous match of identifier before the cursor | ||
️ | CTRL-X ... | complete the word before the cursor in various ways | |
BS or CTRL-H | delete the character before the cursor | ||
Del | delete the character under the cursor | ||
CTRL-W | delete word before the cursor | ||
CTRL-U | delete all entered characters in the current line | ||
CTRL-T | insert one shiftwidth of indent in front of the current line | ||
CTRL-D | delete one shiftwidth of indent in front of the current line | ||
️ | 0 CTRL-D | delete all indent in the current line | |
️ | ^ CTRL-D | delete all indent in the current line, restore indent in next line |
Digraphs
Status | Command | Description |
---|---|---|
:dig[raphs] | show current list of digraphs | |
️ | :dig[raphs] {char1}{char2} {number} ... | add digraph(s) to the list |
Special inserts
Status | Command | Description |
---|---|---|
️ | :r [file] | insert the contents of [file] below the cursor |
️ | :r! | insert the standard output of {command} below the cursor |
Deleting text
Status | Command | Description |
---|---|---|
x | delete N characters under and after the cursor | |
Del | delete N characters under and after the cursor | |
X | delete N characters before the cursor | |
d | delete the text that is moved over with | |
{visual}d | delete the highlighted text | |
dd | delete N lines | |
D | delete to the end of the line (and N-1 more lines) | |
J | join N-1 lines (delete EOLs) | |
{visual}J | join the highlighted lines | |
gJ | like "J", but without inserting spaces | |
{visual}gJ | like "{visual}J", but without inserting spaces | |
:[range]d [x] | delete [range] lines [into register x] |
Copying and moving text
Status | Command | Description |
---|---|---|
" | use register {char} for the next delete, yank, or put | |
"* | use register * to access system clipboard |
|
:reg | show the contents of all registers | |
:reg | show the contents of registers mentioned in | |
y | yank the text moved over with {motion} into a register | |
{visual}y | yank the highlighted text into a register | |
yy | yank N lines into a register | |
Y | yank N lines into a register | |
p | put a register after the cursor position (N times) | |
P | put a register before the cursor position (N times) | |
]p | like p, but adjust indent to current line | |
[p | like P, but adjust indent to current line | |
gp | like p, but leave cursor after the new text | |
gP | like P, but leave cursor after the new text |
Changing text
Status | Command | Description | Note |
---|---|---|---|
r | replace N characters with | ||
️ | gr | replace N characters without affecting layout | |
R | enter Replace mode (repeat the entered text N times) | {count} is not supported | |
️ | gR | enter virtual Replace mode: Like Replace mode but without affecting layout | |
{visual}r | in Visual block, visual, or visual line modes: Replace each char of the selected text with |
(change = delete text and enter Insert mode)
Status | Command | Description |
---|---|---|
c | change the text that is moved over with | |
{visual}c | change the highlighted text | |
cc | change N lines | |
S | change N lines | |
C | change to the end of the line (and N-1 more lines) | |
s | change N characters | |
{visual}c | in Visual block mode: Change each of the selected lines with the entered text | |
{visual}C | in Visual block mode: Change each of the selected lines until end-of-line with the entered text | |
{visual}~ | switch case for highlighted text | |
{visual}u | make highlighted text lowercase | |
{visual}U | make highlighted text uppercase | |
g~ | switch case for the text that is moved over with | |
gu | make the text that is moved over with {motion} lowercase | |
gU | make the text that is moved over with {motion} uppercase | |
{visual}g? | perform rot13 encoding on highlighted text | |
g? | perform rot13 encoding on the text that is moved over with | |
CTRL-A | add N to the number at or after the cursor | |
CTRL-X | subtract N from the number at or after the cursor | |
< | move the lines that are moved over with {motion} one shiftwidth left | |
<< | move N lines one shiftwidth left | |
> | move the lines that are moved over with {motion} one shiftwidth right | |
>> | move N lines one shiftwidth right | |
gq | format the lines that are moved over with {motion} to 'textwidth' length | |
️ | :[range]ce[nter][width] | center the lines in [range] |
️ | :[range]le[ft][indent] | left-align the lines in [range] (with [indent]) |
️ | :[range]ri[ght][width] | right-align the lines in [range] |
Complex changes
Status | Command | Description | Note |
---|---|---|---|
️ | !{motion}{command}<CR> |
filter the lines that are moved over through | |
️ | !!{command}<CR> |
filter N lines through | |
️ | {visual}!{command}<CR> |
filter the highlighted lines through | |
️ | :[range]! {command}<CR> |
filter [range] lines through | |
= | filter the lines that are moved over through 'equalprg' | ||
== | filter N lines through 'equalprg' | ||
{visual}= | filter the highlighted lines through 'equalprg' | ||
️ | :[range]s[ubstitute]/{pattern}/{string}/[g][c] | substitute {pattern} by {string} in [range] lines; with [g], replace all occurrences of {pattern}; with [c], confirm each replacement | Currently we only support JavaScript Regex and only options gi are implemented |
️ | :[range]s[ubstitute][g][c] | repeat previous "" with new range and options | |
️ | & | Repeat previous "" on current line without options | |
️ | :[range]ret[ab][!] [tabstop] | set 'tabstop' to new value and adjust white space accordingly |
Visual mode
Status | Command | Description |
---|---|---|
v | start highlighting characters or stop highlighting | |
V | start highlighting linewise or stop highlighting | |
CTRL-V | start highlighting blockwise or stop highlighting | |
o | exchange cursor position with start of highlighting | |
gv | start highlighting on previous visual area |
Text objects (only in Visual mode or after an operator)
Status | Command | Description |
---|---|---|
aw | Select "a word" | |
iw | Select "inner word" | |
aW | Select "a WORD" | |
iW | Select "inner WORD" | |
as | Select "a sentence" | |
is | Select "inner sentence" | |
ap | Select "a paragraph" | |
ip | Select "inner paragraph" | |
a], a[ | select '[' ']' blocks | |
i], i[ | select inner '[' ']' blocks | |
ab, a(, a) | Select "a block" (from "[(" to "])") | |
ib, i), i( | Select "inner block" (from "[(" to "])") | |
a>, a< | Select "a <> block" | |
i>, i< | Select "inner <> block" | |
aB, a | Select "a Block" (from "[{" to "]}") | |
iB, i | Select "inner Block" (from "[{" to "]}") | |
at | Select "a tag block" (from <aaa> to </aaa>) | |
it | Select "inner tag block" (from <aaa> to </aaa>) | |
a' | Select "a single quoted string" | |
i' | Select "inner single quoted string" | |
a" | Select "a double quoted string" | |
i" | Select "inner double quoted string" | |
a` | Select "a backward quoted string" | |
i` | Select "inner backward quoted string" | |
ia | Select "inner argument" from the targets.vim plugin | |
aa | Select "an argument" from the targets.vim plugin |
Repeating commands
Status | Command | Description | Note |
---|---|---|---|
. | repeat last change (with count replaced with N) | Content changes that don't happen under cursor can not be repeated. | |
q | record typed characters into register | ||
️ | q | record typed characters, appended to register | |
q | stop recording | ||
@ | execute the contents of register {a-z} (N times) | ||
@@ | repeat previous @{a-z} (N times) | ||
️ | execute the contents of register {a-z} as an Ex command | ||
️ | @ | repeat previous | |
️ | :[range]g[lobal]/{pattern}/[cmd] | execute Ex command cmd on the lines within [range] where {pattern} matches | |
️ | :[range]g[lobal]!/{pattern}/[cmd] | execute Ex command cmd on the lines within [range] where {pattern} does NOT match | |
️ | :so[urce] | read Ex commands from | |
️ | :so[urce]! | read Vim commands from | |
️ | :sl[eep][sec] | don't do anything for [sec] seconds | |
️ | gs | goto Sleep for N seconds |
options
Status | Command | Description | Note |
---|---|---|---|
️ | :se[t] | show all modified options | |
️ | :se[t] all | show all non-termcap options | |
️ | :se[t] termcap | show all termcap options | |
:se[t] | set boolean option (switch it on), show string or number option | ||
:se[t] no | reset boolean option (switch it off) | ||
:se[t] inv | invert boolean option | ||
:se[t] {option}= | set string/number option to | ||
:se[t] {option}+= | append {value} to string option, add {value} to number option | ||
:se[t] {option}-= | remove {value} to string option, subtract {value} from number option | We don't support string option here. | |
:se[t] {option}? | show value of | ||
️ | :se[t] {option}& | reset {option} to its default value | |
️ | :setl[ocal] | like ":set" but set the local value for options that have one | |
️ | :setg[lobal] | like ":set" but set the global value of a local option | |
️ | :fix[del] | set value of 't_kD' according to value of 't_kb' | |
️ | :opt[ions] | open a new window to view and set options, grouped by functionality, a one line explanation and links to the help |
Since the list is too long, now we just put those already supported options here.
Status | Command | Default Value | Description |
---|---|---|---|
tabstop (ts) | 4. we use Code's default value tabSize instead of Vim |
number of spaces that <Tab> in file uses | |
hlsearch (hls) | false | When there is a previous search pattern, highlight all its matches. | |
ignorecase (ic) | true | Ignore case in search patterns. | |
smartcase (scs) | true | Override the 'ignorecase' option if the search pattern contains upper case characters. | |
iskeyword (isk) | @,48-57,_,128-167,224-235 |
keywords contain alphanumeric characters and '_'. If there is no user setting for iskeyword , we use editor.wordSeparators properties. |
|
scroll (scr) | 20 | Number of lines to scroll with CTRL-U and CTRL-D commands. | |
expandtab (et) | True. we use Code's default value insertSpaces instead of Vim |
use spaces when <Tab> is inserted | |
autoindent | true | Keep indentation when doing cc or S in normal mode to replace a line. |
Undo/Redo commands
Status | Command | Description | Note |
---|---|---|---|
u | undo last N changes | Current implementation may not cover every case perfectly. | |
CTRL-R | redo last N undone changes | As above. | |
U | restore last changed line |
External commands
Status | Command | Description |
---|---|---|
:sh[ell] | start a shell | |
:! | execute {command} with a shell | |
️ | K | lookup keyword under the cursor with 'keywordprg' program (default: "man") |
Ex ranges
Status | Command | Description | Note |
---|---|---|---|
, | separates two line numbers | ||
; | idem, set cursor to the first line number before interpreting the second one | The cursor movement is not included. | |
an absolute line number | |||
. | the current line | ||
$ | the last line in the file | ||
% | equal to 1,$ (the entire file) | ||
* | equal to '<,'> (visual area) | ||
't | position of mark t | ||
️ | /{pattern}[/] | the next line where {pattern} matches | |
️ | ?{pattern}[?] | the previous line where {pattern} matches | |
+[num] | add [num] to the preceding line number (default: 1) | ||
-[num] | subtract [num] from the preceding line number (default: 1) |
Editing a file
Status | Command | Description | Note |
---|---|---|---|
:e[dit] | Edit {file}. | We will open file in a new Tab of current Grouped Editor instead of opening in current tab. |
Multi-window commands
Status | Command | Description | Note |
---|---|---|---|
:e[dit] | Edit {file}. | We will open file in a new Tab of current Grouped Editor instead of opening in current tab. | |
<ctrl-w> hl | Switching between windows. | As we don't have the concept of Window in VS Code, we are mapping these commands to switching between Grouped Editors. | |
:sp | Split current window in two. | ||
:vsp | Split vertically current window in two. | ||
<ctrl-w> s | Split current window in two. | ||
<ctrl-w> v | Split vertically current window in two. | ||
<ctrl-w> o | Close other editor groups. | ||
:new | Create a new window horizontally and start editing an empty file in it. | ||
:vne[w] | Create a new window vertically and start editing an empty file in it. |
Tabs
Status | Command | Description | Note |
---|---|---|---|
:tabn[ext] | Go to next tab page or tab page {count}. The first tab page has number one. | ||
{count}<C-PageDown>, {count}gt | Same as above | ||
:tabp[revious] | Go to the previous tab page. Wraps around from the first one to the last one. | ||
:tabN[ext] | Same as above | ||
{count}<C-PageUp>, {count}gT | Same as above | ||
:tabfir[st] | Go to the first tab page. | ||
:tabl[ast] | Go to the last tab page. | ||
:tabe[dit] | Open a new tab page with an empty window, after the current tab page | ||
️ | :[count]tabe[dit], :[count]tabnew | Same as above | [count] is not supported. |
:tabnew | Open a new tab page with an empty window, after the current tab page | ||
️ | :[count]tab | Execute {cmd} and when it opens a new window open a new tab page instead. | |
:tabc[lose][!] | Close current tab page or close tab page {count}. | Code will close tab directly without saving. | |
:tabo[nly][!] | Close all other tab pages. | ! is not supported, Code will close tab directly without saving. |
|
:tabm[ove][n] | Move the current tab page to after tab page N. | ||
️ | :tabs | List the tab pages and the windows they contain. | You can always use Code's built-in shortcut: cmd/ctrl+p |
️ | :tabd[o] | Execute {cmd} in each tab page. |
Folding
Fold methods
The folding method can be set with the 'foldmethod' option. This is currently not possible as we are relying on Code's Fold logic.
Fold commands
Pretty much everything fold-related is blocked by this issue.
Status | Command | Description |
---|---|---|
️ | zf{motion} or {Visual}zf | Operator to create a fold. |
️ | zF | Create a fold for [count] lines. Works like "zf". |
️ | zd | Delete one fold at the cursor. |
️ | zD | Delete folds recursively at the cursor. |
️ | zE | Eliminate all folds in the window. |
zo | Open one fold under the cursor.When a count is given, that many folds deep will be opened. | |
zO | Open all folds under the cursor recursively. | |
zc | Close one fold under the cursor. When a count is given, that many folds deep are closed. | |
zC | Close all folds under the cursor recursively. | |
za | When on a closed fold: open it. When on an open fold: close it and set 'foldenable'. | |
️ | zA | When on a closed fold: open it recursively. When on an open fold: close it recursively and set 'foldenable'. |
️ | zv | View cursor line: Open just enough folds to make the line in which the cursor is located not folded. |
️ | zx | Update folds: Undo manually opened and closed folds: re-apply 'foldlevel', then do "zv": View cursor line. |
️ | zX | Undo manually opened and closed folds |
️ | zm | Fold more: Subtract one from 'foldlevel'. |
zM | Close all folds: set 'foldlevel' to 0. 'foldenable' will be set. | |
️ | zr | Reduce folding: Add one to 'foldlevel'. |
zR | Open all folds. This sets 'foldlevel' to highest fold level. | |
️ | zn | Fold none: reset 'foldenable'. All folds will be open. |
️ | zN | Fold normal: set 'foldenable'. All folds will be as they were before. |
️ | zi | Invert 'foldenable'. |
️ | [z | Move to the start of the current open fold. |
️ | ]z | Move to the end of the current open fold. |
️ | zj | Move downwards to the start of the next fold. |
️ | zk | Move upwards to the end of the previous fold. |
Fold options
Currently we don't support any fold option and we are following Code configurations.
摆脱鼠标操作 - vscode - vim - 官方说明文档 github上的,防止打不开,这里发一个的更多相关文章
- SWFUpload 2.5.0版 官方说明文档 中文翻译版
原文地址:http://www.cnblogs.com/youring2/archive/2012/07/13/2590010.html#setFileUploadLimit SWFUpload v2 ...
- SpringMVC的API和Spring的官方说明文档的地址。
SpringMVC的API和Spring的官方说明文档的地址. 1.SpringMVC的API的URL: http://docs.spring.io/spring/docs/current/javad ...
- 【转】SWFUpload 官方说明文档(2.5.0版)
原文出自:http://www.runoob.com/w3cnote/swfupload-document.html SWFUpload使用指南请查阅:http://www.w3cschool.cc/ ...
- Dokan官方说明文档
Dokan 库Copyright(c) Hiroki Asakawa http://dokan-dev.net/en 什么是Dokan库================================ ...
- locust===官方说明文档,关于tasks
安装: >>> pip install locust locust在官方simple_code中如下: from locust import HttpLocust, TaskSet ...
- vscode + vim 全键盘操作高效搭配方案
基础知识 vscode-vim vscode-vim是一款vim模拟器,它将vim的大部分功能都集成在了vscode中,你可以将它理解为一个嵌套在vscode中的vim. 由于该vim是被模拟的的非真 ...
- [转载]从MyEclipse到IntelliJ IDEA-让你摆脱鼠标,全键盘操作
从MyEclipse转战到IntelliJ IDEA的经历 注转载址:http://blog.csdn.net/luoweifu/article/details/13985835 我一个朋友写了一篇“ ...
- Highcharts选项配置详细说明文档(zz)
http://www.helloweba.com/view-blog-156.html Highcharts提供大量的选项配置参数,您可以轻松定制符合用户要求的图表,目前官网只提供英文版的开发配置说明 ...
- ICE中间件说明文档
ICE中间件说明文档 1 ICE中间件简介 2 平台核心功能 2.1 接口描述语言(Slice) 2.2 ICE运行时 2.2.1 ...
- BasicExcel说明文档
BasicExcel说明文档 BasicExcel原始链接:http://www.codeproject.com/Articles/13852/BasicExcel-A-Class-to-Read-a ...
随机推荐
- 驱动开发:Win10枚举完整SSDT地址表
在前面的博文<驱动开发:Win10内核枚举SSDT表基址>中已经教大家如何寻找SSDT表基地址了,找到后我们可根据序号获取到指定SSDT函数的原始地址,而如果需要输出所有SSDT表信息,则 ...
- CE修改器入门:寻找指针基址
上一步阐述了如何使用代码替换功能对付变化位置的数据地址,但这种方法往往不能达到预期的效果,所以我们需要学习如何利用指针,在本关的 Tutorial.exe 窗口下面有两个按钮,一个会改变数值,另一个不 ...
- django批量插入,遇到错误改为逐条插入
为了提升插入数据的效率,通常采用批量插入的方式,当一批数据中有错误数据时,该批次数据报错,都插入失败.如何跳过引起报错的数据,将其他正确的数据插入,实现方式如下代码. data_to_insert = ...
- 苹果打破12年惯例:iPad一整年未更新
1月2日消息,据媒体报道,自2010年首次亮相以来,苹果一直保持着每年至少发布一款新型号的传统. 但是在过去的2023年,苹果没有发布iPad,2023年苹果发布的唯一与iPad相关的产品是USB-C ...
- macOS 上 常用的操作
首先 mac上 若使用的是windows的键盘,那么需要把ctrl 键,设置成 cmd键,因为mac上大多数操作都是 基于cmd键. 1.将ctrl键,修改为cmd键,这样后 复制.粘贴.剪切.全选等 ...
- 线性SVM决策过程的可视化
线性 SVM 决策过程的可视化 导入模块 from sklearn.datasets import make_blobs from sklearn.svm import SVC import matp ...
- 从零开始的 dbt 入门教程 (dbt core 开发进阶篇)
引 在上一篇文章中,我们花了专门的篇幅介绍了 dbt 更多实用的命令,那么我们继续按照之前的约定来聊 dbt 中你可能会遇到的疑惑以及有用的概念,如果你是 dbt 初学者,我相信如下知识点一定会对你有 ...
- NC19989 [HAOI2012]容易题(EASY)
题目链接 题目 题目描述 为了使得大家高兴,小Q特意出个自认为的简单题(easy)来满足大家,这道简单题是描述如下: 有一个数列A已知对于所有的A[i]都是1~n的自然数,并且知道对于一些A[i]不能 ...
- 【Unity3D】动画回调函数、动画事件、动画曲线
1 动画回调函数 动画回调函数是指动画在开始时.执行中.结束时回调的函数,主要有:OnStateEnter.OnStateUpdate.OnStateExit.OnStateMove.OnStat ...
- 使用多层RNN-LSTM网络实现MNIST数据集分类及常见坑汇总
1 前言 循环神经网络(Recurrent Neural Network, RNN)又称递归神经网络,出现于20世纪80年代,其雏形见于美国物理学家J.J.Hopfield于1982年提出的可作联想存 ...