mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00

committed by
GitHub

parent
b9e6fa7ec8
commit
c6cc937512
@@ -1222,10 +1222,10 @@ Thus you can resize the command-line window, but not others.
|
|||||||
The |getcmdwintype()| function returns the type of the command-line being
|
The |getcmdwintype()| function returns the type of the command-line being
|
||||||
edited as described in |cmdwin-char|.
|
edited as described in |cmdwin-char|.
|
||||||
|
|
||||||
Nvim defines this default CmdWinEnter autocmd in the "nvim_cmdwin" group: >
|
Nvim defines this default CmdWinEnter autocmd in the "nvim.cmdwin" group: >
|
||||||
autocmd CmdWinEnter [:>] syntax sync minlines=1 maxlines=1
|
autocmd CmdWinEnter [:>] syntax sync minlines=1 maxlines=1
|
||||||
<
|
<
|
||||||
You can disable this in your config with "autocmd! nvim_cmdwin". |default-autocmds|
|
You can disable this in your config with "autocmd! nvim.cmdwin". |default-autocmds|
|
||||||
|
|
||||||
|
|
||||||
AUTOCOMMANDS
|
AUTOCOMMANDS
|
||||||
|
@@ -170,7 +170,7 @@ DEFAULT AUTOCOMMANDS
|
|||||||
Default autocommands exist in the following groups. Use ":autocmd! {group}" to
|
Default autocommands exist in the following groups. Use ":autocmd! {group}" to
|
||||||
remove them and ":autocmd {group}" to see how they're defined.
|
remove them and ":autocmd {group}" to see how they're defined.
|
||||||
|
|
||||||
nvim_terminal:
|
nvim.terminal:
|
||||||
- BufReadCmd: Treats "term://" buffers as |terminal| buffers. |terminal-start|
|
- BufReadCmd: Treats "term://" buffers as |terminal| buffers. |terminal-start|
|
||||||
- TermClose: A |terminal| buffer started with no arguments (which thus uses
|
- TermClose: A |terminal| buffer started with no arguments (which thus uses
|
||||||
'shell') and which exits with no error is closed automatically.
|
'shell') and which exits with no error is closed automatically.
|
||||||
@@ -193,10 +193,10 @@ nvim_terminal:
|
|||||||
- 'winhighlight' uses |hl-StatusLineTerm| and |hl-StatusLineTermNC| in
|
- 'winhighlight' uses |hl-StatusLineTerm| and |hl-StatusLineTermNC| in
|
||||||
place of |hl-StatusLine| and |hl-StatusLineNC|
|
place of |hl-StatusLine| and |hl-StatusLineNC|
|
||||||
|
|
||||||
nvim_cmdwin:
|
nvim.cmdwin:
|
||||||
- CmdwinEnter: Limits syntax sync to maxlines=1 in the |cmdwin|.
|
- CmdwinEnter: Limits syntax sync to maxlines=1 in the |cmdwin|.
|
||||||
|
|
||||||
nvim_swapfile:
|
nvim.swapfile:
|
||||||
- SwapExists: Skips the swapfile prompt (sets |v:swapchoice| to "e") when the
|
- SwapExists: Skips the swapfile prompt (sets |v:swapchoice| to "e") when the
|
||||||
swapfile is owned by a running Nvim process. Shows |W325| "Ignoring
|
swapfile is owned by a running Nvim process. Shows |W325| "Ignoring
|
||||||
swapfile…" message.
|
swapfile…" message.
|
||||||
|
Reference in New Issue
Block a user