Skip to main content

Crate reovim_module_commands

Crate reovim_module_commands 

Source
Expand description

Ex-commands module - POLICY.

This module implements the standard ex-commands (colon commands):

  • :q / :quit - Quit the editor
  • :w / :write - Write the buffer to disk
  • :wq - Write and quit
  • :e / :edit - Open a file
  • :set - Set editor options
  • :colorscheme - Switch color theme
  • :detach - Detach from server
  • :servers - List server instances
  • :kill-server - Kill the server

Structs§

BdeleteCommand
Delete (close) the active buffer.
BnextCommand
Switch to the next buffer in the buffer list.
BpreviousCommand
Switch to the previous buffer in the buffer list.
ColorschemeCommand
Colorscheme command - switch color theme.
CommandsModule
Commands module instance.
DetachCommand
Detach from the current server session.
EditCommand
Edit command - open a file in the current buffer.
KillServerCommand
Kill the current server.
QuitAllCommand
Quit all clients (shut down the server).
QuitCommand
Quit command - exit the editor.
ServersCommand
List running server instances.
SetCommand
Set command - modify editor options.
SubstituteCommand
Substitute command — :s/pattern/replacement/flags.
WriteCommand
Write command - save the buffer to disk.
WriteQuitCommand
Write and quit command - save and exit.

Functions§

command_handlers
Returns all command handlers provided by this module.