mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:10:06 +08:00
Help describe key bindings
This commit is contained in:
parent
45f63183f5
commit
a7e885d814
@ -63,6 +63,8 @@ curl -sLf https://spacevim.org/install.sh | bash -s -- -h
|
||||
- **Beautiful GUI:** you'll love the awesome UI and its useful features.
|
||||
- **Mnemonic key bindings:** all key bindings have mnemonic prefixes.
|
||||
![mapping guide](https://user-images.githubusercontent.com/13142418/31550099-c8173ff8-b062-11e7-967e-6378a9c3b467.gif)
|
||||
- **Describe key bindings:** use <kbd>SPC h d k</kbd> to describe key bindings.
|
||||
![describe key](https://user-images.githubusercontent.com/13142418/32134986-060a3b8a-bc2a-11e7-89a2-3ee4e616bf06.gif)
|
||||
- **Lazy load plugins:** Lazy-load 90% of plugins with [dein.vim](https://github.com/Shougo/dein.vim)
|
||||
![UI for dein](https://user-images.githubusercontent.com/13142418/31309093-36c01150-abb3-11e7-836c-3ad406bdd71a.gif)
|
||||
- **Neovim centric:** Dark powered mode of SpaceVim
|
||||
|
@ -376,7 +376,7 @@ let g:spacevim_enable_vimfiler_gitstatus = 0
|
||||
" Enable/Disable filetypeicon column in vimfiler buffer, default is 0.
|
||||
let g:spacevim_enable_vimfiler_filetypeicon = 0
|
||||
let g:spacevim_smartcloseignorewin = ['__Tagbar__' , 'vimfiler:default']
|
||||
let g:spacevim_smartcloseignoreft = ['help', 'tagbar', 'vimfiler', 'SpaceVimRunner', 'SpaceVimQuickFix']
|
||||
let g:spacevim_smartcloseignoreft = ['help', 'tagbar', 'vimfiler', 'SpaceVimRunner', 'SpaceVimQuickFix', 'HelpDescribe']
|
||||
let g:spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||
let g:spacevim_enable_javacomplete2_py = 0
|
||||
let g:spacevim_src_root = 'E:\sources\'
|
||||
|
@ -66,4 +66,6 @@ function! s:open_describe_buffer(desc) abort
|
||||
if lines < winheight(0)
|
||||
exe 'resize ' . lines
|
||||
endif
|
||||
setlocal nofoldenable
|
||||
nnoremap <buffer><silent> q :bd<cr>
|
||||
endfunction
|
||||
|
@ -3,6 +3,8 @@ if exists("b:current_syntax")
|
||||
endif
|
||||
let b:current_syntax = "HelpDescribe"
|
||||
syntax case ignore
|
||||
syn match FileName /[^:]*:\d\+:/
|
||||
syn match FileName /\(Definition:\ \)\@<=.*/
|
||||
syn match KeyBindings /\[.*\]/
|
||||
|
||||
hi def link FileName Comment
|
||||
hi def link KeyBindings String
|
||||
|
Loading…
Reference in New Issue
Block a user