diff --git a/autoload/SpaceVim/layers/core.vim b/autoload/SpaceVim/layers/core.vim index 98d7be2a2..be6e23cf4 100644 --- a/autoload/SpaceVim/layers/core.vim +++ b/autoload/SpaceVim/layers/core.vim @@ -21,6 +21,8 @@ scriptencoding utf-8 " 3. `enable_filetree_gitstatus`: enable/disable git status column in filetree. " 4. `enable_filetree_filetypeicon`: enable/disable filetype icons in filetree. " 5. `enable_netrw`: enable/disable netrw, disabled by default. +" 6. `enable_quickfix_key_bindings`: enable/disable quickfix.nvim, mappings +" for neovim quickfix window. This option is only for neovim. " " NOTE: the `enable_vimfiler_gitstatus` and `enable_filetree_gitstatus` option " has been deprecated. Use layer option instead. diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index 088e9db6e..050f70c63 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -2285,6 +2285,8 @@ OPTIONS 4. `enable_filetree_filetypeicon`: enable/disable filetype icons in filetree. 5. `enable_netrw`: enable/disable netrw, disabled by default. + 6. `enable_quickfix_key_bindings`: enable/disable quickfix.nvim, mappings +for neovim quickfix window. This option is only for neovim. NOTE: the `enable_vimfiler_gitstatus` and `enable_filetree_gitstatus` option has been deprecated. Use layer option instead. diff --git a/docs/cn/layers/core.md b/docs/cn/layers/core.md index a38714c3f..4d4712d82 100644 --- a/docs/cn/layers/core.md +++ b/docs/cn/layers/core.md @@ -27,10 +27,16 @@ nerdtree 或者 vimfiler,默认为 vimfiler,由 `filemanager` 选项控制 - `filetree_show_hidden`: 在文件树内显示隐藏的文件,默认是 false。 - `enable_smooth_scrolling`: 启用或者禁用平滑滚屏快捷键,默认已启用。 +- `enable_filetree_gitstatus`: 在文件树内显示 Git 文件状态 +- `enable_filetree_filetypeicon`: 在文件树内显示文件类型图标 +- `enable_netrw`: 启用或者禁用 netrw +- `enable_quickfix_key_bindings`: 启用或者禁用 quickfix 窗口内常用快捷键 ```toml [[layers]] name = 'core' filetree_show_hidden = true enable_smooth_scrolling = true + filetree_opened_icon = '' + filetree_closed_icon = '' ``` diff --git a/docs/layers/core.md b/docs/layers/core.md index 69b2cf5c8..da0f1386e 100644 --- a/docs/layers/core.md +++ b/docs/layers/core.md @@ -38,6 +38,7 @@ To use defx, please add following snippet into your configuration file. - `enable_filetree_gitstatus`: enable/disable git status column in filetree. - `enable_filetree_filetypeicon`: enable/disable filetype icons in filetree. - `enable_netrw`: enable/disable netrw, disabled by default. +- `enable_quickfix_key_bindings`: enable/disable quickfix.nvim, mappings for neovim quickfix window. This option is only for neovim. ```toml [[layers]]