aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2023-10-09 18:47:10 +0800
committerglepnir <glephunter@gmail.com>2023-10-10 21:17:08 +0800
commit372aa2eb3db375385cf19dc0a6571f790b858241 (patch)
tree6c90cc4a0c9aa152c46ebf7d7c2bc2c6bb7239e8 /runtime
parent9abced6ad95f6300ae80cd8b8aa124ebcf511b50 (diff)
downloadrneovim-372aa2eb3db375385cf19dc0a6571f790b858241.tar.gz
rneovim-372aa2eb3db375385cf19dc0a6571f790b858241.tar.bz2
rneovim-372aa2eb3db375385cf19dc0a6571f790b858241.zip
feat(float): add fclose command
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/index.txt1
-rw-r--r--runtime/doc/news.txt2
-rw-r--r--runtime/doc/windows.txt5
3 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/index.txt b/runtime/doc/index.txt
index b0ead51d0c..9e34cb5eab 100644
--- a/runtime/doc/index.txt
+++ b/runtime/doc/index.txt
@@ -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
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index b0f3b76587..ceacb2e5da 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -188,6 +188,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*
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt
index e0c0772f18..eb3c4df511 100644
--- a/runtime/doc/windows.txt
+++ b/runtime/doc/windows.txt
@@ -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*