mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 14:29:02 +00:00
vim-patch:185cec2: runtime(doc): Rewrite some overlength lines
closes: vim/vim#18695
185cec2b09
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
@@ -152,7 +152,7 @@ commands in CTRL-X submode *i_CTRL-X_index*
|
|||||||
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|
||||||
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
|
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
|
||||||
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|
||||||
|i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, keeping the text as-is
|
|i_CTRL-X_CTRL-Z| CTRL-X CTRL-Z stop completion, text is unchanged
|
||||||
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|
||||||
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
|i_CTRL-X_s| CTRL-X s spelling suggestions
|
||||||
|
|
||||||
|
|||||||
@@ -1503,13 +1503,13 @@ Possible attributes are:
|
|||||||
Note that -range=N and -count=N are mutually exclusive - only one should be
|
Note that -range=N and -count=N are mutually exclusive - only one should be
|
||||||
specified.
|
specified.
|
||||||
|
|
||||||
*:command-addr*
|
*:command-addr*
|
||||||
It is possible that the special characters in the range like `.`, `$` or `%`
|
It is possible that the special characters in the range like `.`, `$` or `%` which
|
||||||
which by default correspond to the current line, last line and the whole
|
by default correspond to the current line, last line and the whole buffer,
|
||||||
buffer, relate to arguments, (loaded) buffers, windows or tab pages.
|
relate to arguments, (loaded) buffers, windows or tab pages.
|
||||||
|
|
||||||
Possible values are (second column is the short name used in listing):
|
Possible values are (second column is the short name used in listing):
|
||||||
-addr=lines Range of lines (this is the default for -range)
|
-addr=lines Range of lines (the default for -range)
|
||||||
-addr=arguments arg Range for arguments
|
-addr=arguments arg Range for arguments
|
||||||
-addr=buffers buf Range for buffers (also not loaded buffers)
|
-addr=buffers buf Range for buffers (also not loaded buffers)
|
||||||
-addr=loaded_buffers load Range for loaded buffers
|
-addr=loaded_buffers load Range for loaded buffers
|
||||||
@@ -1517,12 +1517,11 @@ Possible values are (second column is the short name used in listing):
|
|||||||
-addr=tabs tab Range for tab pages
|
-addr=tabs tab Range for tab pages
|
||||||
-addr=quickfix qf Range for quickfix entries
|
-addr=quickfix qf Range for quickfix entries
|
||||||
-addr=other ? Other kind of range; can use ".", "$" and "%"
|
-addr=other ? Other kind of range; can use ".", "$" and "%"
|
||||||
as with "lines" (this is the default for
|
as with "lines" (the default for -count)
|
||||||
-count)
|
|
||||||
|
|
||||||
|
|
||||||
Incremental preview ~
|
Incremental preview ~
|
||||||
*:command-preview* {nvim-api}
|
*:command-preview* {nvim-api}
|
||||||
Commands can show an 'inccommand' (as-you-type) preview by defining a preview
|
Commands can show an 'inccommand' (as-you-type) preview by defining a preview
|
||||||
handler (only from Lua, see |nvim_create_user_command()|).
|
handler (only from Lua, see |nvim_create_user_command()|).
|
||||||
|
|
||||||
|
|||||||
@@ -145,8 +145,8 @@ This only works in a Vim script file, not when typing commands at the
|
|||||||
command line.
|
command line.
|
||||||
|
|
||||||
>
|
>
|
||||||
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_ | diffthis
|
command DiffOrig vert new | set bt=nofile | r ++edit # | 0d_
|
||||||
\ | wincmd p | diffthis
|
\ | diffthis | wincmd p | diffthis
|
||||||
|
|
||||||
This adds the ":DiffOrig" command. Use this in a modified buffer to see the
|
This adds the ":DiffOrig" command. Use this in a modified buffer to see the
|
||||||
differences with the file it was loaded from. See |diff| and |:DiffOrig|.
|
differences with the file it was loaded from. See |diff| and |:DiffOrig|.
|
||||||
@@ -290,7 +290,8 @@ when you use Vim. There are only two steps for adding a global plugin:
|
|||||||
GETTING A GLOBAL PLUGIN
|
GETTING A GLOBAL PLUGIN
|
||||||
|
|
||||||
Where can you find plugins?
|
Where can you find plugins?
|
||||||
- Some are always loaded, you can see them in the directory $VIMRUNTIME/plugin.
|
- Some are always loaded, you can see them in the directory
|
||||||
|
$VIMRUNTIME/plugin.
|
||||||
- Some come with Vim. You can find them in the directory $VIMRUNTIME/scripts
|
- Some come with Vim. You can find them in the directory $VIMRUNTIME/scripts
|
||||||
and its sub-directories and under $VIM/vimfiles/pack/dist/opt/.
|
and its sub-directories and under $VIM/vimfiles/pack/dist/opt/.
|
||||||
- Download from the net. There is a large collection on https://www.vim.org.
|
- Download from the net. There is a large collection on https://www.vim.org.
|
||||||
|
|||||||
Reference in New Issue
Block a user