mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
docs(projectmanager): update doc for :OpenProject
This commit is contained in:
parent
a9c4268f8b
commit
f4997db25d
@ -1338,6 +1338,14 @@ let g:spacevim_smartcloseignoreft = [
|
|||||||
\ ]
|
\ ]
|
||||||
let g:_spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
let g:_spacevim_altmoveignoreft = ['Tagbar' , 'vimfiler']
|
||||||
let g:spacevim_enable_javacomplete2_py = 0
|
let g:spacevim_enable_javacomplete2_py = 0
|
||||||
|
""
|
||||||
|
" @section src_root, options-src_root
|
||||||
|
" @parentsection options
|
||||||
|
" set default sources root of all your projects. default is `E:\sources\`.
|
||||||
|
" >
|
||||||
|
" src_root = 'E:\sources\'
|
||||||
|
" <
|
||||||
|
|
||||||
let g:spacevim_src_root = 'E:\sources\'
|
let g:spacevim_src_root = 'E:\sources\'
|
||||||
""
|
""
|
||||||
" The host file url. This option is for Chinese users who can not use
|
" The host file url. This option is for Chinese users who can not use
|
||||||
|
@ -65,7 +65,8 @@ function! SpaceVim#commands#load() abort
|
|||||||
command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
|
command! DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
|
||||||
\ | wincmd p | diffthis
|
\ | wincmd p | diffthis
|
||||||
command! -nargs=* -complete=custom,SpaceVim#plugins#complete_plugs Plugin :call SpaceVim#plugins#Plugin(<f-args>)
|
command! -nargs=* -complete=custom,SpaceVim#plugins#complete_plugs Plugin :call SpaceVim#plugins#Plugin(<f-args>)
|
||||||
"command for open project
|
""
|
||||||
|
" Open specific project in @section(options-src_root)
|
||||||
command! -nargs=+ -complete=custom,SpaceVim#plugins#projectmanager#complete_project OpenProject :call SpaceVim#plugins#projectmanager#OpenProject(<f-args>)
|
command! -nargs=+ -complete=custom,SpaceVim#plugins#projectmanager#complete_project OpenProject :call SpaceVim#plugins#projectmanager#OpenProject(<f-args>)
|
||||||
|
|
||||||
command! -nargs=* -complete=custom,SpaceVim#plugins#pmd#complete PMD :call SpaceVim#plugins#pmd#run(<f-args>)
|
command! -nargs=* -complete=custom,SpaceVim#plugins#pmd#complete PMD :call SpaceVim#plugins#pmd#run(<f-args>)
|
||||||
|
@ -75,22 +75,23 @@ CONTENTS *SpaceVim-contents*
|
|||||||
55. search_tools.........................|SpaceVim-options-search_tools|
|
55. search_tools.........................|SpaceVim-options-search_tools|
|
||||||
56. sidebar_width.......................|SpaceVim-options-sidebar_width|
|
56. sidebar_width.......................|SpaceVim-options-sidebar_width|
|
||||||
57. snippet_engine.....................|SpaceVim-options-snippet_engine|
|
57. snippet_engine.....................|SpaceVim-options-snippet_engine|
|
||||||
58. statusline_iseparator.......|SpaceVim-options-statusline_iseparator|
|
58. src_root.................................|SpaceVim-options-src_root|
|
||||||
59. statusline_left...................|SpaceVim-options-statusline_left|
|
59. statusline_iseparator.......|SpaceVim-options-statusline_iseparator|
|
||||||
60. statusline_right.................|SpaceVim-options-statusline_right|
|
60. statusline_left...................|SpaceVim-options-statusline_left|
|
||||||
61. statusline_separator.........|SpaceVim-options-statusline_separator|
|
61. statusline_right.................|SpaceVim-options-statusline_right|
|
||||||
62. statusline_unicode.............|SpaceVim-options-statusline_unicode|
|
62. statusline_separator.........|SpaceVim-options-statusline_separator|
|
||||||
63. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape|
|
63. statusline_unicode.............|SpaceVim-options-statusline_unicode|
|
||||||
64. todo_labels...........................|SpaceVim-options-todo_labels|
|
64. terminal_cursor_shape.......|SpaceVim-options-terminal_cursor_shape|
|
||||||
65. todo_prefix...........................|SpaceVim-options-todo_prefix|
|
65. todo_labels...........................|SpaceVim-options-todo_labels|
|
||||||
66. vim_help_language...............|SpaceVim-options-vim_help_language|
|
66. todo_prefix...........................|SpaceVim-options-todo_prefix|
|
||||||
67. vimcompatible.......................|SpaceVim-options-vimcompatible|
|
67. vim_help_language...............|SpaceVim-options-vim_help_language|
|
||||||
68. warning_symbol.....................|SpaceVim-options-warning_symbol|
|
68. vimcompatible.......................|SpaceVim-options-vimcompatible|
|
||||||
69. wildignore.............................|SpaceVim-options-wildignore|
|
69. warning_symbol.....................|SpaceVim-options-warning_symbol|
|
||||||
70. windisk_encoding.................|SpaceVim-options-windisk_encoding|
|
70. wildignore.............................|SpaceVim-options-wildignore|
|
||||||
71. windows_index_type.............|SpaceVim-options-windows_index_type|
|
71. windisk_encoding.................|SpaceVim-options-windisk_encoding|
|
||||||
72. windows_leader.....................|SpaceVim-options-windows_leader|
|
72. windows_index_type.............|SpaceVim-options-windows_index_type|
|
||||||
73. windows_smartclose.............|SpaceVim-options-windows_smartclose|
|
73. windows_leader.....................|SpaceVim-options-windows_leader|
|
||||||
|
74. windows_smartclose.............|SpaceVim-options-windows_smartclose|
|
||||||
3. Configuration...........................................|SpaceVim-config|
|
3. Configuration...........................................|SpaceVim-config|
|
||||||
4. Commands..............................................|SpaceVim-commands|
|
4. Commands..............................................|SpaceVim-commands|
|
||||||
5. Public functions.....................................|SpaceVim-functions|
|
5. Public functions.....................................|SpaceVim-functions|
|
||||||
@ -799,6 +800,14 @@ ultisnips:
|
|||||||
snippet_engine = "ultisnips"
|
snippet_engine = "ultisnips"
|
||||||
<
|
<
|
||||||
|
|
||||||
|
==============================================================================
|
||||||
|
SRC_ROOT *SpaceVim-options-src_root*
|
||||||
|
|
||||||
|
set default sources root of all your projects. default is `E:\sources\`.
|
||||||
|
>
|
||||||
|
src_root = 'E:\sources\'
|
||||||
|
<
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
STATUSLINE_ISEPARATOR *SpaceVim-options-statusline_iseparator*
|
STATUSLINE_ISEPARATOR *SpaceVim-options-statusline_iseparator*
|
||||||
|
|
||||||
@ -1564,6 +1573,9 @@ COMMANDS *SpaceVim-commands*
|
|||||||
:SPInstall *:SPInstall*
|
:SPInstall *:SPInstall*
|
||||||
Command for install plugins.
|
Command for install plugins.
|
||||||
|
|
||||||
|
:OpenProject *:OpenProject*
|
||||||
|
Open specific project in |SpaceVim-options-src_root|
|
||||||
|
|
||||||
:A[!] {type} *:A*
|
:A[!] {type} *:A*
|
||||||
Switch to alternate file based on {type}.
|
Switch to alternate file based on {type}.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user