Merge pull request #25561 from glepnir/9663

feat(float): add fclose command
This commit is contained in:
bfredl
2023-10-10 16:36:55 +02:00
committed by GitHub
7 changed files with 226 additions and 0 deletions

View File

@@ -1288,6 +1288,7 @@ tag command action ~
|:execute| :exe[cute] execute result of expressions
|:exit| :exi[t] same as ":xit"
|:exusage| :exu[sage] overview of Ex commands
|:fclose| :fc[lose] close floating window
|:file| :f[ile] show or set the current file name
|:files| :files list all files in the buffer list
|:filetype| :filet[ype] switch file type detection on/off

View File

@@ -187,6 +187,8 @@ The following new APIs and features were added.
• |$NVIM_APPNAME| can be set to a relative path instead of only a name.
• Added |:fclose| command.
==============================================================================
CHANGED FEATURES *news-changed*

View File

@@ -392,6 +392,11 @@ CTRL-W CTRL-O *CTRL-W_CTRL-O* *:on* *:only*
given, then they become hidden. But modified buffers are
never abandoned, so changes cannot get lost.
*:fc* *:fclose*
:[count]fc[lose][!]
Close [count]th floating window by zindex order. '!' to close
all floating windows.
==============================================================================
4. Moving cursor to other windows *window-move-cursor*