mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-04-14 23:49:19 +08:00
Fix remark setting
This commit is contained in:
parent
c7539c8d32
commit
8157e53b3d
@ -65,7 +65,7 @@ function! s:generate_remarkrc() abort
|
||||
\ ' settings: {',
|
||||
\ ]
|
||||
" TODO add settings
|
||||
call add(conf, " listItemIndent: '" . s:md_listItemIndent . "'")
|
||||
call add(conf, " listItemIndent: '" . s:md_listItemIndent . "',")
|
||||
if s:md_enableWcwidth
|
||||
call add(conf, " stringLength: require('wcwidth'),")
|
||||
endif
|
||||
|
@ -249,14 +249,14 @@ Windows 下用户如果不方便编译,可以在qq群文件里面下载相应
|
||||
|
||||
### 显著特性
|
||||
|
||||
- **详细的文档:** 在 SpaceVim 通过 <kbd>:h SpaceVim</kbd> 来访问 SpaceVim 帮助文档。
|
||||
- **优雅简洁的界面:** 你将会喜欢这样的优雅而实用的界面。
|
||||
- **确保手指不离开主键盘区域:** 使用 Space 作为前缀键,合理组织快捷键,确保手指不离开主键盘区域。
|
||||
- **快捷键辅助系统:** SpaceVim 所有快捷键无需记忆,当输入出现停顿,会实时提示可用按键及其功能。
|
||||
- **更快的启动时间:** 得益于 dein.vim, SpaceVim 中90% 的插件都是按需载入的。
|
||||
- **更少的肌肉损伤:** 频繁使用空格键,取代 `ctrl`,`shift` 等按键,大大减少了手指的肌肉损伤。
|
||||
- **更易扩展:** 依照一些[约定](http://spacevim.org/development/),很容易将现有的插件集成到 SpaceVim 中来。
|
||||
- **完美支持Neovim:** 依赖于 Neovim 的 romote 插件以及 异步 API,SpaceVim 运行在 Neovim 下将有更加完美的体验。
|
||||
- **详细的文档:** 在 SpaceVim 通过 <kbd>:h SpaceVim</kbd> 来访问 SpaceVim 帮助文档。
|
||||
- **优雅简洁的界面:** 你将会喜欢这样的优雅而实用的界面。
|
||||
- **确保手指不离开主键盘区域:** 使用 Space 作为前缀键,合理组织快捷键,确保手指不离开主键盘区域。
|
||||
- **快捷键辅助系统:** SpaceVim 所有快捷键无需记忆,当输入出现停顿,会实时提示可用按键及其功能。
|
||||
- **更快的启动时间:** 得益于 dein.vim, SpaceVim 中90% 的插件都是按需载入的。
|
||||
- **更少的肌肉损伤:** 频繁使用空格键,取代 `ctrl`,`shift` 等按键,大大减少了手指的肌肉损伤。
|
||||
- **更易扩展:** 依照一些[约定](http://spacevim.org/development/),很容易将现有的插件集成到 SpaceVim 中来。
|
||||
- **完美支持Neovim:** 依赖于 Neovim 的 romote 插件以及 异步 API,SpaceVim 运行在 Neovim 下将有更加完美的体验。
|
||||
|
||||
### 快捷键导航
|
||||
|
||||
@ -292,11 +292,11 @@ Neovim 运行在 iTerm2 上,采用 SpaceVim,配色为:_base16-solarized-da
|
||||
|
||||
### 谁将从 SpaceVim 中获益?
|
||||
|
||||
- **初级** Vim 用户.
|
||||
- 追求优雅界面的 Vim 用户
|
||||
- 追求更少[肌肉损伤](http://en.wikipedia.org/wiki/Repetitive_strain_injury)的 Vim 用户
|
||||
- 想要学习一种不一样的编辑文件方式的 Vim 用户
|
||||
- 追求简单但是可高度配置系统的 Vim 用户
|
||||
- **初级** Vim 用户.
|
||||
- 追求优雅界面的 Vim 用户
|
||||
- 追求更少[肌肉损伤](http://en.wikipedia.org/wiki/Repetitive_strain_injury)的 Vim 用户
|
||||
- 想要学习一种不一样的编辑文件方式的 Vim 用户
|
||||
- 追求简单但是可高度配置系统的 Vim 用户
|
||||
|
||||
### 更新和回滚
|
||||
|
||||
@ -469,14 +469,14 @@ let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11'
|
||||
|
||||
状态栏和工具栏是高度定制的模块,提供了如下特性:
|
||||
|
||||
- 展示 buffer 或者 Tab 的序列号
|
||||
- 展示当前模式
|
||||
- 展示 git 相关信息
|
||||
- 展示语法检查信息
|
||||
- 展示 trailing line 的行号
|
||||
- 展示当前 SpaceVim 已启用的功能
|
||||
- 展示文件信息
|
||||
- 展示搜索结果序号
|
||||
- 展示 buffer 或者 Tab 的序列号
|
||||
- 展示当前模式
|
||||
- 展示 git 相关信息
|
||||
- 展示语法检查信息
|
||||
- 展示 trailing line 的行号
|
||||
- 展示当前 SpaceVim 已启用的功能
|
||||
- 展示文件信息
|
||||
- 展示搜索结果序号
|
||||
|
||||
| 快捷键 | 描述 |
|
||||
| ----------- | ------------------ |
|
||||
@ -486,12 +486,12 @@ let g:spacevim_guifont = 'DejaVu\ Sans\ Mono\ for\ Powerline\ 11'
|
||||
|
||||
`core#statusline` 模块提供了一个高度定制的状态栏,提供如下特性,这一模块的灵感来自于 spacemacs 的状态栏。
|
||||
|
||||
- 展示窗口序列号
|
||||
- 通过不同颜色展示当前模式
|
||||
- 展示搜索结果序列号
|
||||
- 显示/隐藏语法检查信息
|
||||
- 显示/隐藏电池信息
|
||||
- 显示/隐藏 SpaceVim 功能启用状态
|
||||
- 展示窗口序列号
|
||||
- 通过不同颜色展示当前模式
|
||||
- 展示搜索结果序列号
|
||||
- 显示/隐藏语法检查信息
|
||||
- 显示/隐藏电池信息
|
||||
- 显示/隐藏 SpaceVim 功能启用状态
|
||||
|
||||
默认主题 gruvbox 的状态栏颜色和模式对照表:
|
||||
|
||||
@ -1092,11 +1092,11 @@ after pressing prefix `z` in normal mode, if you do not remember the mappings, y
|
||||
|
||||
SpaceVim can be interfaced with different searching tools like:
|
||||
|
||||
- [rg - ripgrep](https://github.com/BurntSushi/ripgrep)
|
||||
- [ag - the silver searcher](https://github.com/ggreer/the_silver_searcher)
|
||||
- [pt - the platinum searcher](https://github.com/monochromegane/the_platinum_searcher)
|
||||
- [ack](https://beyondgrep.com/)
|
||||
- grep
|
||||
- [rg - ripgrep](https://github.com/BurntSushi/ripgrep)
|
||||
- [ag - the silver searcher](https://github.com/ggreer/the_silver_searcher)
|
||||
- [pt - the platinum searcher](https://github.com/monochromegane/the_platinum_searcher)
|
||||
- [ack](https://beyondgrep.com/)
|
||||
- grep
|
||||
|
||||
The search commands in SpaceVim are organized under the `SPC s` prefix with the next key is the tool to use and the last key is the scope. For instance `SPC s a b` will search in all opened buffers using `ag`.
|
||||
|
||||
@ -1126,8 +1126,8 @@ It is possible to search in the current file by double pressing the second key o
|
||||
|
||||
Notes:
|
||||
|
||||
- `rg`, `ag` and `pt` are optimized to be used in a source control repository but they can be used in an arbitrary directory as well.
|
||||
- It is also possible to search in several directories at once by marking them in the unite buffer.
|
||||
- `rg`, `ag` and `pt` are optimized to be used in a source control repository but they can be used in an arbitrary directory as well.
|
||||
- It is also possible to search in several directories at once by marking them in the unite buffer.
|
||||
|
||||
**Beware** if you use `pt`, [TCL parser tools](https://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/apps/pt.html) also install a command line tool called `pt`.
|
||||
|
||||
@ -1369,10 +1369,10 @@ Comments are handled by [nerdcommenter](https://github.com/scrooloose/nerdcommen
|
||||
|
||||
SpaceVim use utf-8 as default encoding. there are four options for these case:
|
||||
|
||||
- fileencodings (fencs): ucs-bom,utf-8,default,latin1
|
||||
- fileencoding (fenc): utf-8
|
||||
- encoding (enc): utf-8
|
||||
- termencoding (tenc): utf-8 (only supported in vim)
|
||||
- fileencodings (fencs): ucs-bom,utf-8,default,latin1
|
||||
- fileencoding (fenc): utf-8
|
||||
- encoding (enc): utf-8
|
||||
- termencoding (tenc): utf-8 (only supported in vim)
|
||||
|
||||
to fix messy display: `SPC e a` is the mapping for auto detect the file encoding. after detecting file encoding, you can run the command below to fix the encoding:
|
||||
|
||||
@ -1443,7 +1443,7 @@ project manager commands start with `p`:
|
||||
|
||||
### Awesome ui
|
||||
|
||||
- outline + filemanager + checker
|
||||
- outline + filemanager + checker
|
||||
|
||||

|
||||
|
||||
@ -1468,37 +1468,37 @@ Key bindings are organized using mnemonic prefixes like b for buffer, p for proj
|
||||
|
||||
### c/c++ support
|
||||
|
||||
1. code completion: autocompletion and fuzzy match.
|
||||

|
||||
2. syntax check: Asynchronous linting and make framework.
|
||||

|
||||
1. code completion: autocompletion and fuzzy match.
|
||||

|
||||
2. syntax check: Asynchronous linting and make framework.
|
||||

|
||||
|
||||
### go support
|
||||
|
||||
1. code completion:
|
||||

|
||||
2. syntax check:
|
||||

|
||||
1. code completion:
|
||||

|
||||
2. syntax check:
|
||||

|
||||
|
||||
### python support
|
||||
|
||||
1. code completion:
|
||||

|
||||
2. syntax check:
|
||||

|
||||
1. code completion:
|
||||

|
||||
2. syntax check:
|
||||

|
||||
|
||||
## Neovim centric - Dark powered mode of SpaceVim.
|
||||
|
||||
By default, SpaceVim use these dark powered plugins:
|
||||
|
||||
1. [deoplete.nvim](https://github.com/Shougo/deoplete.nvim) - Dark powered asynchronous completion framework for neovim
|
||||
2. [dein.vim](https://github.com/Shougo/dein.vim) - Dark powered Vim/Neovim plugin manager
|
||||
1. [deoplete.nvim](https://github.com/Shougo/deoplete.nvim) - Dark powered asynchronous completion framework for neovim
|
||||
2. [dein.vim](https://github.com/Shougo/dein.vim) - Dark powered Vim/Neovim plugin manager
|
||||
|
||||
TODO:
|
||||
|
||||
1. [defx.nvim](https://github.com/Shougo/defx.nvim) - Dark powered file explorer
|
||||
2. [deoppet.nvim](https://github.com/Shougo/deoppet.nvim) - Dark powered snippet plugin
|
||||
3. [denite.nvim](https://github.com/Shougo/denite.nvim) - Dark powered asynchronous unite all interfaces for Neovim/Vim8
|
||||
1. [defx.nvim](https://github.com/Shougo/defx.nvim) - Dark powered file explorer
|
||||
2. [deoppet.nvim](https://github.com/Shougo/deoppet.nvim) - Dark powered snippet plugin
|
||||
3. [denite.nvim](https://github.com/Shougo/denite.nvim) - Dark powered asynchronous unite all interfaces for Neovim/Vim8
|
||||
|
||||
## Modular configuration
|
||||
|
||||
@ -1525,31 +1525,31 @@ Unite work flow leader can only be used in normal mode. Unite leader need unite
|
||||
|
||||

|
||||
|
||||
- List all the plugins has been installed, fuzzy find what you want, default action is open the github website of current plugin. default key is `<leader>lp`
|
||||

|
||||
- List all the plugins has been installed, fuzzy find what you want, default action is open the github website of current plugin. default key is `<leader>lp`
|
||||

|
||||
|
||||
- List all the mappings and description: `f<space>`
|
||||

|
||||
- List all the mappings and description: `f<space>`
|
||||

|
||||
|
||||
- List all the starred repos in github.com, fuzzy find and open the website of the repo. default key is `<leader>ls`
|
||||

|
||||
- List all the starred repos in github.com, fuzzy find and open the website of the repo. default key is `<leader>ls`
|
||||

|
||||
|
||||
#### Plugin Highlights
|
||||
|
||||
- Package management with caching enabled and lazy loading
|
||||
- Project-aware tabs and label
|
||||
- Vimfiler as file-manager + SSH connections
|
||||
- Go completion via vim-go and gocode
|
||||
- Javascript completion via Tern
|
||||
- PHP completion, indent, folds, syntax
|
||||
- Python jedi completion, pep8 convention
|
||||
- Languages: Ansible, css3, csv, json, less, markdown, mustache
|
||||
- Helpers: Undo tree, bookmarks, git, tmux navigation,
|
||||
hex editor, sessions, and much more.
|
||||
- Package management with caching enabled and lazy loading
|
||||
- Project-aware tabs and label
|
||||
- Vimfiler as file-manager + SSH connections
|
||||
- Go completion via vim-go and gocode
|
||||
- Javascript completion via Tern
|
||||
- PHP completion, indent, folds, syntax
|
||||
- Python jedi completion, pep8 convention
|
||||
- Languages: Ansible, css3, csv, json, less, markdown, mustache
|
||||
- Helpers: Undo tree, bookmarks, git, tmux navigation,
|
||||
hex editor, sessions, and much more.
|
||||
|
||||
_Note_ that 90% of the plugins are **[lazy-loaded]**.
|
||||
_Note_ that 90% of the plugins are **[lazy-loaded]**.
|
||||
|
||||
[lazy-loaded]: ./config/plugins.vim
|
||||
[lazy-loaded]: ./config/plugins.vim
|
||||
|
||||
#### Non Lazy-Loaded Plugins
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user