Mercurial > vim
diff runtime/doc/usr_41.txt @ 16604:1e0a5f09fdf1 v8.1.1305
patch 8.1.1305: there is no easy way to manipulate environment variables
commit https://github.com/vim/vim/commit/691ddeefb545d8488e5a495af61caba2e57b3de9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 9 14:52:41 2019 +0200
patch 8.1.1305: there is no easy way to manipulate environment variables
Problem: There is no easy way to manipulate environment variables.
Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
closes #2875)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 May 2019 15:00:07 +0200 |
parents | bcc343175103 |
children | 1eaf34420bb3 |
line wrap: on
line diff
--- a/runtime/doc/usr_41.txt +++ b/runtime/doc/usr_41.txt @@ -774,6 +774,9 @@ System functions and manipulation of fil rename() rename a file system() get the result of a shell command as a string systemlist() get the result of a shell command as a list + environ() get all environment variables + getenv() get one environment variable + setenv() set an environment variable hostname() name of the system readfile() read a file into a List of lines readdir() get a List of file names in a directory @@ -903,6 +906,7 @@ GUI: *gui-functions* getwinposy() Y position of the Vim window balloon_show() set the balloon content balloon_split() split a message for a balloon + balloon_gettext() get the text in the balloon Vim server: *server-functions* serverlist() return the list of server names