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§
- Bdelete
Command - Delete (close) the active buffer.
- Bnext
Command - Switch to the next buffer in the buffer list.
- Bprevious
Command - Switch to the previous buffer in the buffer list.
- Colorscheme
Command - Colorscheme command - switch color theme.
- Commands
Module - Commands module instance.
- Detach
Command - Detach from the current server session.
- Edit
Command - Edit command - open a file in the current buffer.
- Kill
Server Command - Kill the current server.
- Quit
AllCommand - Quit all clients (shut down the server).
- Quit
Command - Quit command - exit the editor.
- Servers
Command - List running server instances.
- SetCommand
- Set command - modify editor options.
- Substitute
Command - Substitute command —
:s/pattern/replacement/flags. - Write
Command - Write command - save the buffer to disk.
- Write
Quit Command - Write and quit command - save and exit.
Functions§
- command_
handlers - Returns all command handlers provided by this module.