mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Remove doc in readme
This commit is contained in:
parent
abc44750f5
commit
93e8299903
593
README.md
593
README.md
@ -16,55 +16,55 @@ See the [documentation](https://spacevim.org/documentation) or [the list of laye
|
||||
|
||||
[![Throughput Graph](https://graphs.waffle.io/SpaceVim/SpaceVim/throughput.svg)](https://waffle.io/SpaceVim/SpaceVim/metrics/throughput)
|
||||
|
||||
### Table of Contents
|
||||
**Table of Contents**
|
||||
|
||||
- [Introduction](#introduction)
|
||||
- [Features](#features)
|
||||
- [Documentation](#documentation)
|
||||
- [Getting Help](#getting-help)
|
||||
- [Prerequisites](#prerequisites)
|
||||
- neovim
|
||||
- Linux distros
|
||||
- macOS
|
||||
- Windows
|
||||
- vim
|
||||
- Linux distros
|
||||
- macOS
|
||||
- Windows
|
||||
- Install
|
||||
- Update
|
||||
- Contributions
|
||||
- [Community](#community)
|
||||
- [Quick start](#quick-start)
|
||||
- [Install](#install)
|
||||
- [Linux/Mac](#linuxmac)
|
||||
- [Windows support](#windows-support)
|
||||
- [Custom configuration](#custom-configuration)
|
||||
- [File Structure](#file-structure)
|
||||
- Features
|
||||
- [Awesome ui](#awesome-ui)
|
||||
- [Language specific mode](#language-specific-mode)
|
||||
- [c/c++ support](#cc-support)
|
||||
- [python support](#python-support)
|
||||
- [go support](#go-support)
|
||||
- lua support
|
||||
- perl support
|
||||
- [php support](#php-support)
|
||||
- rust support
|
||||
- [Unite centric work-flow](#unite-centric-work-flow)
|
||||
- [Neovim centric - Dark powered mode](#neovim-centric---dark-powered-mode-of-spacevim)
|
||||
- [multiple leader mode](#multiple-leader-mode)
|
||||
- [Modular configuration](#modular-configuration)
|
||||
- Lazy-load 90% of plugins with [dein.vim]
|
||||
- Robust, yet light weight
|
||||
- Extensive Neocomplete setup
|
||||
- Central location for tags
|
||||
- Lightweight simple status/tabline
|
||||
- Premium color-schemes
|
||||
- [Support SpaceVim](#support-spacevim)
|
||||
- [Report bugs](#report-bugs)
|
||||
- [contribute to SpaceVim](#contribute-to-spacevim)
|
||||
- Write post about SpaceVim
|
||||
- [Credits & Thanks](#credits--thanks)
|
||||
|
||||
#### Introduction
|
||||
## Introduction
|
||||
|
||||
![2017-02-05_1359x721](https://cloud.githubusercontent.com/assets/13142418/22622826/f88881a8-eb80-11e6-880b-b12e0430689a.png)
|
||||
|
||||
[SpaceVim](https://github.com/SpaceVim/SpaceVim) is a Modular configuration, a bundle of custom settings and plugins for Vim,
|
||||
here we call them layers, each layer has different plugins and config, users just need
|
||||
[SpaceVim](https://github.com/SpaceVim/SpaceVim) is a community-driven vim distribution with a bundle of modular configuration,
|
||||
here we call these modules as layers, each layer has different plugins and config, users just need
|
||||
to select the layers they need. It got inspired by [spacemacs](https://github.com/syl20bnr/spacemacs). If you use SpaceVim,
|
||||
please star it on github. It's a great way of getting feedback and gives me the kick to
|
||||
put more time into development.
|
||||
|
||||
If you encounter any bugs or have feature requests, just open an issue
|
||||
report on Github.
|
||||
![2017-02-05_1359x721](https://cloud.githubusercontent.com/assets/13142418/22622826/f88881a8-eb80-11e6-880b-b12e0430689a.png)
|
||||
|
||||
For learning about Vim in general, read [vim-galore](https://github.com/mhinz/vim-galore).
|
||||
If you are new to vim, you should learning about Vim in general, read [vim-galore](https://github.com/mhinz/vim-galore).
|
||||
|
||||
## Features
|
||||
|
||||
- **Great documentation:** access documentation in Vim with
|
||||
<kbd>:h SpaceVim</kbd>.
|
||||
- **Beautiful GUI:** you'll love the awesome UI and its useful features.
|
||||
- **Mnemonic key bindings:** commands have mnemonic prefixes like
|
||||
<kbd>[Window]</kbd> for all the window and buffer commands or <kbd>[Unite]</kbd> for the
|
||||
unite work flow commands.
|
||||
- **Lazy load plugins:** Lazy-load 90% of plugins with [dein.vim]
|
||||
- **Batteries included:** discover hundreds of ready-to-use packages nicely
|
||||
organised in configuration layers following a set of
|
||||
[conventions](http://spacevim.org/development/).
|
||||
|
||||
#### Community
|
||||
Try these Neovim hangouts for any questions, problems or comments.
|
||||
@ -116,57 +116,6 @@ git clone https://github.com/SpaceVim/SpaceVim.git vimfiles
|
||||
git clone https://github.com/SpaceVim/SpaceVim.git AppData\Local\nvim
|
||||
```
|
||||
|
||||
#### File Structure
|
||||
- [autoload/](./autoload)
|
||||
- [SpaceVim.vim](./autoload/SpaceVim.vim) - SpaceVim options init
|
||||
- [SpaceVim/layers](./autoload/SpaceVim/layers) - SpaceVim layers
|
||||
- [SpaceVim/api](./autoload/SpaceVim/api) - SpaceVim apis
|
||||
- [SpaceVim/default.vim](./autoload/SpaceVim/default.vim) - SpaceVim default status
|
||||
- [config](./config)/ - Configuration
|
||||
- [general.vim](./config/general.vim) - General configuration
|
||||
- [init.vim](./config/init.vim) - `runtimepath` initialization
|
||||
- [neovim.vim](./config/neovim.vim) - Neovim specific setup
|
||||
- [commands.vim](./config/commands.vim) - Commands
|
||||
- [functions.vim](./config/functions.vim) - Functions
|
||||
- [main.vim](./config/main.vim) - Main config
|
||||
- [ftplugin](./ftplugin)/ - Language specific custom settings
|
||||
- [snippets](./snippets)/ - Code snippets
|
||||
- [filetype.vim](./filetype.vim) - Custom filetype detection
|
||||
- [init.vim](./init.vim) - Sources `config/main.vim`
|
||||
- [vimrc](./vimrc) - Sources `config/main.vim`
|
||||
|
||||
|
||||
#### Features
|
||||
|
||||
##### Awesome ui
|
||||
|
||||
- outline + filemanager + checker
|
||||
![2017-02-01_1360x721](https://cloud.githubusercontent.com/assets/13142418/22506638/84705532-e8bc-11e6-8b72-edbdaf08426b.png)
|
||||
|
||||
##### Language specific mode
|
||||
|
||||
###### c/c++ support
|
||||
|
||||
1. code completion: autocompletion and fuzzy match.
|
||||
![2017-02-01_1359x720](https://cloud.githubusercontent.com/assets/13142418/22505960/df9068de-e8b8-11e6-943e-d79ceca095f1.png)
|
||||
2. syntax check: Asynchronous linting and make framework.
|
||||
![2017-02-01_1359x722](https://cloud.githubusercontent.com/assets/13142418/22506340/e28b4782-e8ba-11e6-974b-ca29574dcc1f.png)
|
||||
|
||||
###### go support
|
||||
1. code completion:
|
||||
![2017-02-01_1360x721](https://cloud.githubusercontent.com/assets/13142418/22508345/8215c5e4-e8c4-11e6-95ec-f2a6e1e2f4d2.png)
|
||||
2. syntax check:
|
||||
![2017-02-01_1359x720](https://cloud.githubusercontent.com/assets/13142418/22509944/108b6508-e8cb-11e6-8104-6310a29ae796.png)
|
||||
|
||||
###### python support
|
||||
1. code completion:
|
||||
![2017-02-02_1360x724](https://cloud.githubusercontent.com/assets/13142418/22537799/7d1d47fe-e948-11e6-8168-a82e3f688554.png)
|
||||
2. syntax check:
|
||||
![2017-02-02_1358x720](https://cloud.githubusercontent.com/assets/13142418/22537883/36de7b5e-e949-11e6-866f-73c48e8f59aa.png)
|
||||
|
||||
###### php support
|
||||
1. code completion:
|
||||
[![asciicast](https://asciinema.org/a/4dzyyjymrguylqt21igxlhhqx.png)](https://asciinema.org/a/4dzyyjymrguylqt21igxlhhqx)
|
||||
|
||||
##### Neovim centric - Dark powered mode of SpaceVim.
|
||||
|
||||
@ -225,392 +174,6 @@ set wildignore+=\*/node_modules/\*
|
||||
set guifont=Wingdings:h10
|
||||
```
|
||||
|
||||
#### Multiple leader mode
|
||||
##### Global origin vim leader, default : `\`
|
||||
Vim's origin global leader can be used in all modes.
|
||||
##### Local origin vim leader, default : `,`
|
||||
Vim's origin local leader can be used in all the mode.
|
||||
##### Windows function leader, default : `s`
|
||||
Windows function leader can only be used in normal mode.
|
||||
For the list of mappings see the [link](#window-management)
|
||||
##### Unite work flow leader, default : `f`
|
||||
Unite work flow leader can only be used in normal mode. Unite leader need unite groups.
|
||||
|
||||
#### Unite centric work-flow
|
||||
- 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`
|
||||
![2017-01-21_1358x725](https://cloud.githubusercontent.com/assets/13142418/22175019/ce42d902-e027-11e6-89cd-4f44f70a10cd.png)
|
||||
|
||||
- List all the mappings and description: `f<space>`
|
||||
![2017-02-01_1359x723](https://cloud.githubusercontent.com/assets/13142418/22507351/24af0d74-e8c0-11e6-985e-4a1404b629ed.png)
|
||||
|
||||
- List all the starred repos in github.com, fuzzy find and open the website of the repo. default key is `<leader>ls`
|
||||
![2017-02-01_1359x722](https://cloud.githubusercontent.com/assets/13142418/22506915/deb99caa-e8bd-11e6-9b80-316281ddb48c.png)
|
||||
|
||||
#### 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.
|
||||
|
||||
_Note_ that 90% of the plugins are **[lazy-loaded]**.
|
||||
[lazy-loaded]: ./config/plugins.vim
|
||||
|
||||
#### Non Lazy-Loaded Plugins
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[dein.vim] | Dark powered Vim/Neovim plugin manager
|
||||
[vimproc] | Interactive command execution
|
||||
[colorschemes] | Awesome color-schemes
|
||||
[file-line] | Allow opening a file in a given line
|
||||
[neomru] | MRU source for Unite
|
||||
[cursorword] | Underlines word under cursor
|
||||
[gitbranch] | Lightweight git branch detection
|
||||
[gitgutter] | Shows git diffs in the gutter
|
||||
[tinyline] | Tiny great looking statusline
|
||||
[tagabana] | Central location for all tags
|
||||
[bookmarks] | Bookmarks, works independently from vim marks
|
||||
[tmux-navigator] | Seamless navigation between tmux panes and vim splits
|
||||
|
||||
#### Lazy-Loaded Plugins
|
||||
|
||||
##### Language
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[html5] | HTML5 omnicomplete and syntax
|
||||
[mustache] | Mustache and handlebars syntax
|
||||
[markdown] | Markdown syntax highlighting
|
||||
[ansible-yaml] | Additional support for Ansible
|
||||
[jinja] | Jinja support in vim
|
||||
[less] | Syntax for LESS
|
||||
[css3-syntax] | CSS3 syntax support to vim's built-in `syntax/css.vim`
|
||||
[csv] | Handling column separated data
|
||||
[pep8-indent] | Nicer Python indentation
|
||||
[logstash] | Highlights logstash configuration files
|
||||
[tmux] | vim plugin for tmux.conf
|
||||
[json] | Better JSON support
|
||||
[toml] | Syntax for TOML
|
||||
[i3] | i3 window manager config syntax
|
||||
[Dockerfile] | syntax and snippets for Dockerfile
|
||||
[go] | Go development
|
||||
[jedi-vim] | Python jedi autocompletion library
|
||||
[ruby] | Ruby configuration files
|
||||
[portfile] | Macports portfile configuration files
|
||||
[javascript] | Enhanced Javascript syntax
|
||||
[javascript-indent] | Javascript indent script
|
||||
[tern] | Provides Tern-based JavaScript editing support
|
||||
[php] | Up-to-date PHP syntax file
|
||||
[phpcd] | PHP Completion Daemon for Vim/NeoVim
|
||||
[phpfold] | PHP folding
|
||||
[phpindent] | PHP official indenting
|
||||
[phpspec] | PhpSpec integration
|
||||
|
||||
##### Commands
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[vimfiler] | Powerful file explorer
|
||||
[nerdcommenter] | Comment tool - no comment necessary
|
||||
[vinarise] | Hex editor
|
||||
[syntastic] | Syntax checking hacks
|
||||
[gita] | An awesome git handling plugin
|
||||
[gista] | Manipulate gists in Vim
|
||||
[undotree] | Ultimate undo history visualizer
|
||||
[incsearch] | Improved incremental searching
|
||||
[expand-region] | Visually select increasingly larger regions of text
|
||||
[open-browser] | Open URI with your favorite browser
|
||||
[prettyprint] | Pretty-print vim variables
|
||||
[quickrun] | Run commands quickly
|
||||
[ref] | Integrated reference viewer
|
||||
[dictionary] | Dictionary.app interface
|
||||
[vimwiki] | Personal Wiki for Vim
|
||||
[thesaurus] | Look up words in an online thesaurus
|
||||
|
||||
##### Commands
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[goyo] | Distraction-free writing
|
||||
[limelight] | Hyperfocus-writing
|
||||
[matchit] | Intelligent pair matching
|
||||
[indentline] | Display vertical indention lines
|
||||
[choosewin] | Choose window to use, like tmux's 'display-pane'
|
||||
|
||||
##### Completion
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[delimitmate] | Insert mode auto-completion for quotes, parenthesis, brackets
|
||||
[echodoc] | Print objects' documentation in echo area
|
||||
[deoplete] | Neovim: Dark powered asynchronous completion framework
|
||||
[neocomplete] | Next generation completion framework
|
||||
[neosnippet] | Contains neocomplete snippets source
|
||||
|
||||
##### Unite
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[unite] | Unite and create user interfaces
|
||||
[unite-colorscheme] | Browse colorschemes
|
||||
[unite-filetype] | Select file type
|
||||
[unite-history] | Browse history of command/search
|
||||
[unite-build] | Build with Unite interface
|
||||
[unite-outline] | File "outline" source for unite
|
||||
[unite-tag] | Tags source for Unite
|
||||
[unite-quickfix] | Quickfix source for Unite
|
||||
[neossh] | SSH interface for plugins
|
||||
[unite-pull-request] | GitHub pull-request source for Unite
|
||||
[junkfile] | Create temporary files for memo and testing
|
||||
[unite-issue] | Issue manager for JIRA and GitHub
|
||||
|
||||
##### Operators & Text Objects
|
||||
|
||||
Name | Description
|
||||
-------------- | ----------------------
|
||||
[operator-user] | Define your own operator easily
|
||||
[operator-replace] | Operator to replace text with register content
|
||||
[operator-surround] | Operator to enclose text objects
|
||||
[textobj-user] | Create your own text objects
|
||||
[textobj-multiblock] | Handle multiple brackets objects
|
||||
|
||||
|
||||
#### Custom Key bindings
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`y` | visual | Copy selection to X11 clipboard ("+y)
|
||||
`Ctrl`+`c` | Normal | Copy full path of current buffer to X11 clipboard
|
||||
`<leader>`+`Ctrl`+`c` | Normal | Copy github.com url of current buffer to X11 clipboard(if it is a github repo)
|
||||
`<leader>`+`Ctrl`+`l` | Normal/visual | Copy github.com url of current lines to X11 clipboard(if it is a github repo)
|
||||
`<leader>`+`p` | Normal/visual | Paste selection from X11 clipboard ("+p)
|
||||
`Ctrl`+`f` | Normal | Smart page forward (C-f/C-d)
|
||||
`Ctrl`+`b` | Normal | Smart page backwards (C-b/C-u)
|
||||
`Ctrl`+`e` | Normal | Smart scroll down (3C-e/j)
|
||||
`Ctrl`+`y` | Normal | Smart scroll up (3C-y/k)
|
||||
`Ctrl`+`q` | Normal | `Ctrl`+`w`
|
||||
`Ctrl`+`x` | Normal | Switch buffer and placement
|
||||
`Up,Down` | Normal | Smart up and down
|
||||
`}` | Normal | After paragraph motion go to first non-blank char (}^)
|
||||
`<` | Visual/Normal | Indent to left and re-select
|
||||
`>` | Visual/Normal | Indent to right and re-select
|
||||
`Tab` | Visual | Indent to right and re-select
|
||||
`Shift`+`Tab` | Visual | Indent to left and re-select
|
||||
`gp` | Normal | Select last paste
|
||||
`Q`/`gQ` | Normal | Disable EX-mode (<Nop>)
|
||||
`Ctrl`+`a` | Command | Navigation in command line
|
||||
`Ctrl`+`b` | Command | Move cursor backward in command line
|
||||
`Ctrl`+`f` | Command | Move cursor forward in command line
|
||||
|
||||
##### File Operations
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`cd` | Normal | Switch to the directory of the open buffer
|
||||
`<leader>`+`w` | Normal/visual | Write (:w)
|
||||
`Ctrl`+`s` | Normal/visual/Command | Write (:w)
|
||||
`:w!!` | Command | Write as root (%!sudo tee > /dev/null %)
|
||||
|
||||
##### Editor UI
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`F2` | _All_ | Toggle tagbar
|
||||
`F3` | _All_ | Toggle Vimfiler
|
||||
`<leader>`+`ts` | Normal | Toggle spell-checker (:setlocal spell!)
|
||||
`<leader>`+`tn` | Normal | Toggle line numbers (:setlocal nonumber!)
|
||||
`<leader>`+`tl` | Normal | Toggle hidden characters (:setlocal nolist!)
|
||||
`<leader>`+`th` | Normal | Toggle highlighted search (:set hlsearch!)
|
||||
`<leader>`+`tw` | Normal | Toggle wrap (:setlocal wrap! breakindent!)
|
||||
`g0` | Normal | Go to first tab (:tabfirst)
|
||||
`g$` | Normal | Go to last tab (:tablast)
|
||||
`gr` | Normal | Go to previous tab (:tabprevious)
|
||||
`Ctrl`+`<Dow>` | Normal | Move to split below (<C-w>j)
|
||||
`Ctrl`+`<Up>` | Normal | Move to upper split (<C-w>k)
|
||||
`Ctrl`+`<Left>` | Normal | Move to left split (<C-w>h)
|
||||
`Ctrl`+`<Right>` | Normal | Move to right split (<C-w>l)
|
||||
`*` | Visual | Search selection forwards
|
||||
`#` | Visual | Search selection backwards
|
||||
`,`+`Space` | Normal | Remove all spaces at EOL
|
||||
`Ctrl`+`r` | Visual | Replace selection
|
||||
`<leader>`+`lj` | Normal | Next on location list
|
||||
`<leader>`+`lk` | Normal | Previous on location list
|
||||
`<leader>`+`S` | Normal/visual | Source selection
|
||||
|
||||
##### Window Management
|
||||
|
||||
default `[Window]` key is `s`, and it is setup by `g:spacevim_windows_leader`.
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`q` | Normal | Smart close current window
|
||||
`[Window]`+`p` | Normal | Split nicely
|
||||
`[Window]`+`v` | Normal | :split
|
||||
`[Window]`+`g` | Normal | :vsplit
|
||||
`[Window]`+`t` | Normal | Open new tab (:tabnew)
|
||||
`[Window]`+`o` | Normal | Close other windows (:only)
|
||||
`[Window]`+`x` | Normal | Remove buffer, leave blank window
|
||||
`[Window]`+`q` | Normal | Closes current buffer (:close)
|
||||
`[Widnow]`+`Q` | Normal | Removes current buffer (:bdelete)
|
||||
`[Window]`+`c` | Normal | Clear up all of other buffers and windows
|
||||
`Tab` | Normal | Next window or tab (:wincmd w)
|
||||
`Shift`+`Tab` | Normal | Previous window or tab (:wincmd p)
|
||||
`<leader>`+`sv` | Normal | Split with previous buffer
|
||||
`<leader>`+`sg` | Normal | Vertical split with previous buffer
|
||||
|
||||
##### Plugin: Unite
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`[unite]` | Normal | unite leader, default is `f`, `:h g:spacevim_unite_leader`
|
||||
`[unite]`+`r` | Normal | Resumes Unite window
|
||||
`[unite]`+`f` | Normal | Opens Unite file recursive search
|
||||
`[unite]`+`i` | Normal | Opens Unite git file search
|
||||
`[unite]`+`g` | Normal | Opens Unite grep with ag (the_silver_searcher)
|
||||
`[unite]`+`u` | Normal | Opens Unite source
|
||||
`[unite]`+`t` | Normal | Opens Unite tag
|
||||
`[unite]`+`T` | Normal | Opens Unite tag/include
|
||||
`[unite]`+`l` | Normal | Opens Unite location list
|
||||
`[unite]`+`q` | Normal | Opens Unite quick fix
|
||||
`[unite]`+`e` | Normal | Opens Unite register
|
||||
`[unite]`+`j` | Normal | Opens Unite jump, change
|
||||
`[unite]`+`h` | Normal | Opens Unite history/yank
|
||||
`[unite]`+`s` | Normal | Opens Unite session
|
||||
`[unite]`+`n` | Normal | Opens Unite session/new
|
||||
`[unite]`+`o` | Normal | Opens Unite outline
|
||||
`[unite]`+`c` | Normal | Opens Unite buffer bookmark file in current directory
|
||||
`[unite]`+`b` | Normal | Opens Unite buffer bookmark file in buffer directory
|
||||
`[unite]`+`ma` | Normal | Opens Unite mapping
|
||||
`[unite]`+`<space>` | Normal | Opens Unite menu:CustomKeyMaps
|
||||
`[unite]`+`me` | Normal | Opens Unite output messages
|
||||
`<leader>`+`bl` | Normal | Opens Unite buffers, mru, bookmark
|
||||
`<leader>`+`ta` | Normal | Opens Unite tab
|
||||
`<leader>`+`ugf` | Normal | Opens Unite file with word at cursor
|
||||
`<leader>`+`ugt` | Normal/visual | Opens Unite tag with word at cursor
|
||||
| **Within _Unite_ buffers** |||
|
||||
`Ctrl`+`h/k/l/r` | Normal | Un-map
|
||||
`Ctrl`+`r` | Normal | Redraw
|
||||
`Ctrl`+`j` | Insert | Select next line
|
||||
`Ctrl`+`k` | Insert | Select previous line
|
||||
`'` | Normal | Toggle mark current candidate, up
|
||||
`e` | Normal | Run default action
|
||||
`Ctrl`+`v` | Normal | Open in a split
|
||||
`Ctrl`+`s` | Normal | Open in a vertical split
|
||||
`Ctrl`+`t` | Normal | Open in a new tab
|
||||
`Tab` | Normal | `Ctrl`+`w`+`w`
|
||||
`Escape` | Normal | Exit unite
|
||||
`jj` | Insert | Leave Insert mode
|
||||
`r` | Normal | Replace ('search' profile) or rename
|
||||
`Tab` | Insert | Unite autocompletion
|
||||
`Ctrl`+`z` | Normal/insert | Toggle transpose window
|
||||
`Ctrl`+`w` | Insert | Delete backward path
|
||||
|
||||
##### Plugin: VimFiler
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<F3>` | Normal | Toggle file explorer
|
||||
| **Within _VimFiler_ buffers** |||
|
||||
`Ctrl`+`j` | Normal | Un-map
|
||||
`Ctrl`+`l` | Normal | Un-map
|
||||
`E` | Normal | Un-map
|
||||
`sv` | Normal | Split edit
|
||||
`sg` | Normal | Vertical split edit
|
||||
`p` | Normal | Preview
|
||||
`i` | Normal | Switch to directory history
|
||||
`v` | Normal | Quick look
|
||||
`gx` | Normal | Execute with vimfiler associated
|
||||
`'` | Normal | Toggle mark current line
|
||||
`V` | Normal | Clear all marks
|
||||
`Ctrl`+`r` | Normal | Redraw
|
||||
|
||||
##### Plugin: neocomplete
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`Enter` | Insert | Smart snippet expansion
|
||||
`Ctrl`+`space` | Insert | Autocomplete with Unite
|
||||
`Tab` | Insert/select | Smart tab movement or completion
|
||||
`Ctrl`+`j/k/f/b` | Insert | Movement in popup
|
||||
`Ctrl`+`g` | Insert | Undo completion
|
||||
`Ctrl`+`l` | Insert | Complete common string
|
||||
`Ctrl`+`o` | Insert | Expand snippet
|
||||
`Ctrl`+`y` | Insert | Close pop-up
|
||||
`Ctrl`+`e` | Insert | Close pop-up
|
||||
`Ctrl`+`l` | Insert | Complete common string
|
||||
`Ctrl`+`d` | Insert | Scroll down
|
||||
`Ctrl`+`u` | Insert | Scroll up
|
||||
|
||||
##### Plugin: NERD Commenter
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`cc` | Normal/visual | Comment out the current line or text selected in visual mode.
|
||||
`<leader>`+`cn` | Normal/visual | Same as cc but forces nesting.
|
||||
`<leader>`+`cu` | Normal/visual | Uncomments the selected line(s).
|
||||
`<leader>`+`cs` | Normal/visual | Comments out the selected lines with a pretty block formatted layout.
|
||||
`<leader>`+`cy` | Normal/visual | Same as cc except that the commented line(s) are yanked first.
|
||||
|
||||
##### Plugin: Goyo and Limelight
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`G` | Normal | Toggle distraction-free writing
|
||||
|
||||
##### Plugin: ChooseWin
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`-` | Normal | Choose a window to edit
|
||||
`<leader>`+`-` | Normal | Switch editing window with selected
|
||||
|
||||
##### Plugin: Bookmarks
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`m`+`a` | Normal | Show list of all bookmarks
|
||||
`m`+`m` | Normal | Toggle bookmark in current line
|
||||
`m`+`n` | Normal | Jump to next bookmark
|
||||
`m`+`p` | Normal | Jump to previous bookmark
|
||||
`m`+`i` | Normal | Annotate bookmark
|
||||
|
||||
##### Plugin: Gita
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`gs` | Normal | Git status
|
||||
`<leader>`+`gd` | Normal | Git diff
|
||||
`<leader>`+`gc` | Normal | Git commit
|
||||
`<leader>`+`gb` | Normal | Git blame
|
||||
`<leader>`+`gp` | Normal | Git push
|
||||
|
||||
##### Plugin: vim-signify
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`hj` / `]c` | Normal | Jump to next hunk
|
||||
`<leader>`+`hk` / `[c` | Normal | Jump to previous hunk
|
||||
`<leader>`+`hJ` / `]C` | Normal | Jump to last hunk
|
||||
`<leader>`+`hK` / `[C` | Normal | Jump to first hunk
|
||||
|
||||
##### Misc Plugins
|
||||
|
||||
Key | Mode | Action
|
||||
----- |:----:| ------------------
|
||||
`<leader>`+`gu` | Normal | Open undo tree
|
||||
`<leader>`+`i` | Normal | Toggle indentation lines
|
||||
`<leader>`+`j` | Normal | Start smalls
|
||||
`<leader>`+`r` | Normal | Quickrun
|
||||
`<leader>`+`?` | Normal | Dictionary
|
||||
`<leader>`+`W` | Normal | Wiki
|
||||
`<leader>`+`K` | Normal | Thesaurus
|
||||
|
||||
#### Custom configuration
|
||||
SpaceVim use `~/.SpaceVim.d/init.vim` as default global init file. you can set
|
||||
@ -652,89 +215,3 @@ If you get any issues, please open an issue with the ISSUE_TEMPLATE. It is usefu
|
||||
- [vimdoc](https://github.com/google/vimdoc) generate doc file for SpaceVim
|
||||
- [Rafael Bodill](https://github.com/rafi) and his vim-config
|
||||
- [Bailey Ling](https://github.com/bling) and his dotvim
|
||||
|
||||
|
||||
<!-- plublic links -->
|
||||
[dein.vim]: https://github.com/Shougo/dein.vim
|
||||
[vimproc]: https://github.com/Shougo/vimproc.vim
|
||||
[colorschemes]: https://github.com/rafi/awesome-vim-colorschemes
|
||||
[file-line]: https://github.com/bogado/file-line
|
||||
[neomru]: https://github.com/Shougo/neomru.vim
|
||||
[cursorword]: https://github.com/itchyny/vim-cursorword
|
||||
[gitbranch]: https://github.com/itchyny/vim-gitbranch
|
||||
[gitgutter]: https://github.com/airblade/vim-gitgutter
|
||||
[bookmarks]: https://github.com/MattesGroeger/vim-bookmarks
|
||||
[tmux-navigator]: https://github.com/christoomey/vim-tmux-navigator
|
||||
[tinyline]: https://github.com/rafi/vim-tinyline
|
||||
[tagabana]: https://github.com/rafi/vim-tagabana
|
||||
|
||||
[html5]: https://github.com/othree/html5.vim
|
||||
[mustache]: https://github.com/mustache/vim-mustache-handlebars
|
||||
[markdown]: https://github.com/rcmdnk/vim-markdown
|
||||
[ansible-yaml]: https://github.com/chase/vim-ansible-yaml
|
||||
[jinja]: https://github.com/mitsuhiko/vim-jinja
|
||||
[less]: https://github.com/groenewege/vim-less
|
||||
[css3-syntax]: https://github.com/hail2u/vim-css3-syntax
|
||||
[csv]: https://github.com/chrisbra/csv.vim
|
||||
[pep8-indent]: https://github.com/hynek/vim-python-pep8-indent
|
||||
[logstash]: https://github.com/robbles/logstash.vim
|
||||
[tmux]: https://github.com/tmux-plugins/vim-tmux
|
||||
[json]: https://github.com/elzr/vim-json
|
||||
[toml]: https://github.com/cespare/vim-toml
|
||||
[i3]: https://github.com/PotatoesMaster/i3-vim-syntax
|
||||
[Dockerfile]: https://github.com/ekalinin/Dockerfile.vim
|
||||
[go]: https://github.com/fatih/vim-go
|
||||
[jedi-vim]: https://github.com/davidhalter/jedi-vim
|
||||
[ruby]: https://github.com/vim-ruby/vim-ruby
|
||||
[portfile]: https://github.com/jstrater/mpvim
|
||||
[javascript]: https://github.com/jelera/vim-javascript-syntax
|
||||
[javascript-indent]: https://github.com/jiangmiao/simple-javascript-indenter
|
||||
[tern]: https://github.com/marijnh/tern_for_vim
|
||||
[php]: https://github.com/StanAngeloff/php.vim
|
||||
[phpfold]: https://github.com/lvht/phpfold.vim
|
||||
[phpcd]: https://github.com/lvht/phpcd.vim
|
||||
[phpindent]: https://github.com/2072/PHP-Indenting-for-VIm
|
||||
[phpspec]: https://github.com/rafi/vim-phpspec
|
||||
[vimfiler]: https://github.com/Shougo/vimfiler.vim
|
||||
[tinycomment]: https://github.com/rafi/vim-tinycomment
|
||||
[vinarise]: https://github.com/Shougo/vinarise.vim
|
||||
[syntastic]: https://github.com/scrooloose/syntastic
|
||||
[gita]: https://github.com/lambdalisue/vim-gita
|
||||
[gista]: https://github.com/lambdalisue/vim-gista
|
||||
[undotree]: https://github.com/mbbill/undotree
|
||||
[incsearch]: https://github.com/haya14busa/incsearch.vim
|
||||
[expand-region]: https://github.com/terryma/vim-expand-region
|
||||
[open-browser]: https://github.com/tyru/open-browser.vim
|
||||
[prettyprint]: https://github.com/thinca/vim-prettyprint
|
||||
[quickrun]: https://github.com/thinca/vim-quickrun
|
||||
[ref]: https://github.com/thinca/vim-ref
|
||||
[dictionary]: https://github.com/itchyny/dictionary.vim
|
||||
[vimwiki]: https://github.com/vimwiki/vimwiki
|
||||
[thesaurus]: https://github.com/beloglazov/vim-online-thesaurus
|
||||
[goyo]: https://github.com/junegunn/goyo.vim
|
||||
[limelight]: https://github.com/junegunn/limelight.vim
|
||||
[matchit]: http://www.vim.org/scripts/script.php?script_id=39
|
||||
[indentline]: https://github.com/Yggdroot/indentLine
|
||||
[choosewin]: https://github.com/t9md/vim-choosewin
|
||||
[delimitmate]: https://github.com/Raimondi/delimitMate
|
||||
[echodoc]: https://github.com/Shougo/echodoc.vim
|
||||
[deoplete]: https://github.com/Shougo/deoplete.nvim
|
||||
[neocomplete]: https://github.com/Shougo/neocomplete.vim
|
||||
[neosnippet]: https://github.com/Shougo/neosnippet.vim
|
||||
[unite]: https://github.com/Shougo/unite.vim
|
||||
[unite-colorscheme]: https://github.com/ujihisa/unite-colorscheme
|
||||
[unite-filetype]: https://github.com/osyo-manga/unite-filetype
|
||||
[unite-history]: https://github.com/thinca/vim-unite-history
|
||||
[unite-build]: https://github.com/Shougo/unite-build
|
||||
[unite-outline]: https://github.com/h1mesuke/unite-outline
|
||||
[unite-tag]: https://github.com/tsukkee/unite-tag
|
||||
[unite-quickfix]: https://github.com/osyo-manga/unite-quickfix
|
||||
[neossh]: https://github.com/Shougo/neossh.vim
|
||||
[unite-pull-request]: https://github.com/joker1007/unite-pull-request
|
||||
[junkfile]: https://github.com/Shougo/junkfile.vim
|
||||
[unite-issue]: https://github.com/rafi/vim-unite-issue
|
||||
[operator-user]: https://github.com/kana/vim-operator-user
|
||||
[operator-replace]: https://github.com/kana/vim-operator-replace
|
||||
[operator-surround]: https://github.com/rhysd/vim-operator-surround
|
||||
[textobj-user]: https://github.com/kana/vim-textobj-user
|
||||
[textobj-multiblock]: https://github.com/osyo-manga/vim-textobj-multiblock
|
||||
|
Loading…
Reference in New Issue
Block a user