comparison runtime/doc/builtin.txt @ 29236:0eef32b4ebbc

Update runtime files Commit: https://github.com/vim/vim/commit/d799daa660b8821943cbe1682f00da9e812dd48c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 20 11:17:32 2022 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jun 2022 12:30:06 +0200
parents f92f658585e6
children 729a7c00fabc
comparison
equal deleted inserted replaced
29235:fbcbc953c2ec 29236:0eef32b4ebbc
1 *builtin.txt* For Vim version 8.2. Last change: 2022 Jun 16 1 *builtin.txt* For Vim version 8.2. Last change: 2022 Jun 17
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
2867 string of characters like it is used for file names on the 2867 string of characters like it is used for file names on the
2868 command line. See |filename-modifiers|. 2868 command line. See |filename-modifiers|.
2869 Example: > 2869 Example: >
2870 :echo fnamemodify("main.c", ":p:h") 2870 :echo fnamemodify("main.c", ":p:h")
2871 < results in: > 2871 < results in: >
2872 /home/mool/vim/vim/src 2872 /home/user/vim/vim/src
2873 < If {mods} is empty or an unsupported modifier is used then 2873 < If {mods} is empty or an unsupported modifier is used then
2874 {fname} is returned. 2874 {fname} is returned.
2875 Note: Environment variables don't work in {fname}, use 2875 Note: Environment variables don't work in {fname}, use
2876 |expand()| first then. 2876 |expand()| first then.
2877 2877
10019 |window-ID|. 10019 |window-ID|.
10020 10020
10021 Also see the 'buftype' option. When running a terminal in a 10021 Also see the 'buftype' option. When running a terminal in a
10022 popup window then 'buftype' is "terminal" and win_gettype() 10022 popup window then 'buftype' is "terminal" and win_gettype()
10023 returns "popup". 10023 returns "popup".
10024
10025 Return an empty string if the window cannot be found.
10026 10024
10027 Can also be used as a |method|: > 10025 Can also be used as a |method|: >
10028 GetWinid()->win_gettype() 10026 GetWinid()->win_gettype()
10029 < 10027 <
10030 win_gotoid({expr}) *win_gotoid()* 10028 win_gotoid({expr}) *win_gotoid()*