A community-driven vim distribution
This layer is a customized wrapper for CtrlSpace, a plugin dedicated to project navigation and workflow management, rather than a traditional fuzzy finder like Denite or FZF. CtrlSpace strictly manages 5 source lists only:
CtrlSpace has the unique property of allowing users to stay within it after it has been invoked once (similar to SpaceVim’s own Transient Modes). Thereby granting you the ability to open multiple files, move/copy many buffers to new tabs, change to your various project bookmarks, and any combinations of its various actions, all without needing to reinvoke it.
To use the CtrlSpace layer, add the following to your configuration file.
[[layers]] name = "ctrlspace"
<C-Space>) - keybinding to enter CtrlSpace’s home menu, which displays the buffers list
true) - enable to autosave current workspace on switching WS and exiting SpaceVim
false) - enable to autoload last workspace on starting SpaceVim
For more granular CtrlSpace options, refer to the plugin’s GitHub page.
false) - enable to make available SpaceVim styled keybindings.
Note: when disabled, another traditional fuzzy finder layer (such as Denite or FZF) may still be used without concerns of keybinding conflicts.
From Vim’s Normal mode,
<home-mapping-key> enters CtrlSpace in its home
(buffers) list. Then using the following key shortcuts, all 5 lists can
be accessed via any of the other 4. Press
? to show key reference for
the current list and mode (ex. search mode of files list).
||toggle view home (buffers) list|
||enter home (buffers) list in search|
||toggle view project files list|
||enter project files in search|
||toggle view tabs list|
||enter tabs search in search|
||toggle view workspaces list|
||enter workspaces list in search|
||toggle view bookmarks list|
||enter bookmarks list in search|
||toggle search mode for current list|
||display help for current list and mode|
To exit CtrlSpace, press
For more comprehensive documentation of CtrlSpace’s keys, features and functionalities, refer to this guide.
For those who prefer to use SpaceVim’s style of fuzzy finding
buffers/files/projects, the following keybindings can be optionally
enable-spacevim-styled-keys = true.
||list tab-local buffers|
||search tab-local buffers|
||list all buffers|
||search all buffers|
||list files in dir of current buffer|
||search files in dir of current buffer|
||list project files|
||search project files|
||list project bookmarks|
||search project bookmarks|
Note: to be consistent with other fuzzy finder layers in SpaceVim, uppercased final keys will list the source, while lowercased ones will search. This is opposite to CtrlSpace’s default shortcuts.
Hosted on GitHub, Help improve this page — Theme by mattgraham,