mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 01:40:05 +08:00
Add doc for incsearch layer
This commit is contained in:
parent
c23199317c
commit
bdfa90c948
@ -1,3 +1,27 @@
|
|||||||
|
""
|
||||||
|
" @section incsearch, layer-incsearch
|
||||||
|
" @parentsection layers
|
||||||
|
" This layer improved incremental searching for neovim/vim
|
||||||
|
"
|
||||||
|
" mappings
|
||||||
|
" >
|
||||||
|
" key mode description
|
||||||
|
" / n/v incsearch forward
|
||||||
|
" ? n/v incsearch backward
|
||||||
|
" g/ n/v incsearch stay
|
||||||
|
" n n nohlsearch n
|
||||||
|
" N n nohlsearch N
|
||||||
|
" * n nohlsearch *
|
||||||
|
" g* n nohlsearch g*
|
||||||
|
" # n nohlsearch #
|
||||||
|
" g# n nohlsearch g#
|
||||||
|
" z/ n incsearch fuzzy /
|
||||||
|
" z? n incsearch fuzzy ?
|
||||||
|
" zg? n incsearch fuzzy g?
|
||||||
|
" <space>/ n incsearch easymotion
|
||||||
|
" <
|
||||||
|
|
||||||
|
|
||||||
function! SpaceVim#layers#incsearch#plugins() abort
|
function! SpaceVim#layers#incsearch#plugins() abort
|
||||||
let plugins = []
|
let plugins = []
|
||||||
call add(plugins, ['haya14busa/incsearch.vim', {'merged' : 0}])
|
call add(plugins, ['haya14busa/incsearch.vim', {'merged' : 0}])
|
||||||
|
@ -58,7 +58,6 @@ augroup Terminal
|
|||||||
au!
|
au!
|
||||||
au TermOpen * let g:last_terminal_job_id = b:terminal_job_id | IndentLinesDisable
|
au TermOpen * let g:last_terminal_job_id = b:terminal_job_id | IndentLinesDisable
|
||||||
au BufWinEnter term://* startinsert | IndentLinesDisable
|
au BufWinEnter term://* startinsert | IndentLinesDisable
|
||||||
"au TermClose * exec &buftype == 'terminal' ? 'bd!' : ''
|
|
||||||
au TermClose * exe expand('<abuf>').'bd!'
|
au TermClose * exe expand('<abuf>').'bd!'
|
||||||
augroup END
|
augroup END
|
||||||
augroup nvimrc_aucmd
|
augroup nvimrc_aucmd
|
||||||
|
@ -25,19 +25,20 @@ CONTENTS *SpaceVim-contents*
|
|||||||
3. checkers....................................|SpaceVim-layer-checkers|
|
3. checkers....................................|SpaceVim-layer-checkers|
|
||||||
4. colorscheme....................................|SpaceVim-colorscheme|
|
4. colorscheme....................................|SpaceVim-colorscheme|
|
||||||
5. exprfold....................................|SpaceVim-layer-exprfold|
|
5. exprfold....................................|SpaceVim-layer-exprfold|
|
||||||
6. indentmove................................|SpaceVim-layer-indentmove|
|
6. incsearch..................................|SpaceVim-layer-incsearch|
|
||||||
7. lang#c........................................|SpaceVim-layer-lang-c|
|
7. indentmove................................|SpaceVim-layer-indentmove|
|
||||||
8. lang#elixir..............................|SpaceVim-layer-lang-elixir|
|
8. lang#c........................................|SpaceVim-layer-lang-c|
|
||||||
9. lang#go......................................|SpaceVim-layer-lang-go|
|
9. lang#elixir..............................|SpaceVim-layer-lang-elixir|
|
||||||
10. lang#java.................................|SpaceVim-layer-lang-java|
|
10. lang#go.....................................|SpaceVim-layer-lang-go|
|
||||||
11. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
11. lang#java.................................|SpaceVim-layer-lang-java|
|
||||||
12. lang#php...................................|SpaceVim-layer-lang-php|
|
12. lang#ocaml...............................|SpaceVim-layer-lang-ocaml|
|
||||||
13. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
13. lang#php...................................|SpaceVim-layer-lang-php|
|
||||||
14. lang#python.............................|SpaceVim-layer-lang-python|
|
14. lang#puppet.............................|SpaceVim-layer-lang-puppet|
|
||||||
15. lang#rust.................................|SpaceVim-layer-lang-rust|
|
15. lang#python.............................|SpaceVim-layer-lang-python|
|
||||||
16. lang#xml...................................|SpaceVim-layer-lang-xml|
|
16. lang#rust.................................|SpaceVim-layer-lang-rust|
|
||||||
17. shell.........................................|SpaceVim-layer-shell|
|
17. lang#xml...................................|SpaceVim-layer-lang-xml|
|
||||||
18. tmux...........................................|SpaceVim-layer-tmux|
|
18. shell.........................................|SpaceVim-layer-shell|
|
||||||
|
19. tmux...........................................|SpaceVim-layer-tmux|
|
||||||
5. FAQ........................................................|SpaceVim-faq|
|
5. FAQ........................................................|SpaceVim-faq|
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
@ -452,6 +453,29 @@ Mappings:
|
|||||||
ZC normal Fold block comment
|
ZC normal Fold block comment
|
||||||
<
|
<
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
INCSEARCH *SpaceVim-layer-incsearch*
|
||||||
|
|
||||||
|
This layer improved incremental searching for neovim/vim
|
||||||
|
|
||||||
|
mappings
|
||||||
|
>
|
||||||
|
key mode description
|
||||||
|
/ n/v incsearch forward
|
||||||
|
? n/v incsearch backward
|
||||||
|
g/ n/v incsearch stay
|
||||||
|
n n nohlsearch n
|
||||||
|
N n nohlsearch N
|
||||||
|
* n nohlsearch *
|
||||||
|
g* n nohlsearch g*
|
||||||
|
# n nohlsearch #
|
||||||
|
g# n nohlsearch g#
|
||||||
|
z/ n incsearch fuzzy /
|
||||||
|
z? n incsearch fuzzy ?
|
||||||
|
zg? n incsearch fuzzy g?
|
||||||
|
<space>/ n incsearch easymotion
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
INDENTMOVE *SpaceVim-layer-indentmove*
|
INDENTMOVE *SpaceVim-layer-indentmove*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user