You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
give the option to redefine the `insert new line below` to also append a
\\ at end of the current line in a matrix environment. The enter is
handled by simulating a enter press call. The cursor is moved to the
current line and collum = line.length + 1. This may have unwanted
consequences, other option would be to handle the key with vim but that
relies on the vim keymap.
Copy file name to clipboardExpand all lines: DOCS.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -301,3 +301,6 @@ The shortcut should be a vim keybinding with no spaces. Some keybindings are not
301
301
Keep in mind that the shortcut from visual -> select mode only works in visual mode, and the shortcut from select -> visual mode only works when something is selected and you are in insert mode.
302
302
303
303
Macros are not yet supported for visual snippets.
304
+
305
+
### Vim matrix shortcut \\\\
306
+
Same key mapping rules apply. You can define or redefine `open a new line below` action, which also inserts \\\\ at the end of the current line if it's in a matrix environment.
@@ -527,7 +527,7 @@ export class LatexSuiteSettingTab extends PluginSettingTab {
527
527
.setName("Vim: Switch from select mode to visual mode")
528
528
.setDesc(`maps the key to switch from select mode to visual mode.
529
529
must be a vim keymap and can't contain any spaces. Example <C-g><C-A-i> = Ctrl-g + Ctrl-Alt-i.
530
-
Please check the vim keybinding first on another command like w before reporting it. Some keybindings like shift don't work due to the original vim plugin.
530
+
Please check the vim keybinding first on another command like w before reporting it. Some keybindings like shift don't work due to the original vim plugin. Use empty string to disable this feature.
0 commit comments