Major Mode

Major mode offers dynamic menu and functions based on the active buffer. You can access key bindings specific to the current major mode by pressing <spc> m or , if you want to save one keystroke.

tip

If , isn't bound, you might need to update your settings. You can add the necessary keybindings to your settings.json by pressing Ctrl+Shift+p and running the command "VSpaceCode: Configure Default Settings". More information can be found in the Installation for instructions.

note

The default configuration uses , as the shortcut to major mode, that will override the vim "find previous match" after a f{character}. You can follow the instructions in Troubleshooting to remove or modify this shortcut.

For example, you can press <spc> m x b to make the text bold in a markdown buffer.

To find the active language mode of your current buffer, you can look at the bottom right of the status bar.

major mode position

The major mode is using which-key's conditional bindings. If you want to modify the default bindings, check out the conditional bindings docs.

The vast majority of major mode specific key bindings will require the installation of additional extensions in order to work properly. The section below lists all the extensions required by each major mode.

In the following you can see all the currently available major modes. If your favorite one is missing, please contribute!

Clojure

Required extensions:

Documentation:

C++

Required extensions:

C#

Required extensions:

Go

Required extensions:

F#

Required extensions:

Markdown

Required extensions:

Python

Required extensions:

Ruby

Required extensions:

Rust

Required extensions:

LaTeX

Required extensions: