mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:00:04 +08:00
docs(core): update doc for core layer
This commit is contained in:
parent
8ccdee05c1
commit
d245875994
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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 = ''
|
||||
```
|
||||
|
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user