diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-10 21:22:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-10 21:22:58 +0200 |
commit | d20dcb3d011da6111153109f6e46fbd5c7fe9fb6 (patch) | |
tree | 177b708d63b5bdace192c344b5a431298a575df2 /src/evalfunc.c | |
parent | 410e98a70bc00ea4bed51e55a8fe20e56a72c087 (diff) |
patch 8.1.2020: it is not easy to change the window layoutv8.1.2020
Problem: It is not easy to change the window layout.
Solution: Add win_splitmove(). (Andy Massimino, closes #4561)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index dafd3b6af2..438aac8eac 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -850,6 +850,7 @@ static funcentry_T global_functions[] = {"win_id2tabwin", 1, 1, FEARG_1, f_win_id2tabwin}, {"win_id2win", 1, 1, FEARG_1, f_win_id2win}, {"win_screenpos", 1, 1, FEARG_1, f_win_screenpos}, + {"win_splitmove", 2, 3, FEARG_1, f_win_splitmove}, {"winbufnr", 1, 1, FEARG_1, f_winbufnr}, {"wincol", 0, 0, 0, f_wincol}, {"winheight", 1, 1, FEARG_1, f_winheight}, |