diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-07 18:41:10 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-07 18:41:10 +0100 |
commit | 59d8e56e048eb5d384649284fb35363931fc3697 (patch) | |
tree | 3941971859628440195075acf6104cac9ef43821 /src/vim.h | |
parent | cbcd9cbd77acc8cc97c0d44683d96c01d3dd0fa7 (diff) | |
download | vim-git-59d8e56e048eb5d384649284fb35363931fc3697.tar.gz |
patch 8.2.1967: the session file does not restore the alternate filev8.2.1967
Problem: The session file does not restore the alternate file.
Solution: Add ":balt". Works like ":badd" and also sets the buffer as the
alternate file. Use it in the session file. (closes #7269,
closes #6714)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1029,6 +1029,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #define ECMD_OLDBUF 0x04 // use existing buffer if it exists #define ECMD_FORCEIT 0x08 // ! used in Ex command #define ECMD_ADDBUF 0x10 // don't edit, just add to buffer list +#define ECMD_ALTBUF 0x20 // like ECMD_ADDBUF and set the alternate file // for lnum argument in do_ecmd() #define ECMD_LASTL (linenr_T)0 // use last position in loaded file |