Mercurial > vim
comparison src/vim.h @ 30009:b97a870a7c63 v9.0.0342
patch 9.0.0342: ":wincmd =" equalizes in two directions
Commit: https://github.com/vim/vim/commit/21c3a80a7fd6b7fc250ce5dc287963511f54b86f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 17:49:14 2022 +0100
patch 9.0.0342: ":wincmd =" equalizes in two directions
Problem: ":wincmd =" equalizes in two directions.
Solution: Make ":vertical wincmd =" equalize vertically only and
":horizontal wincmd =" equalize horizontally only.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Aug 2022 19:00:04 +0200 |
parents | 6eaef7375f17 |
children | c0f0118b6790 |
comparison
equal
deleted
inserted
replaced
30008:7a1cc16aed5b | 30009:b97a870a7c63 |
---|---|
1207 #define VIM_DISCARDALL 6 | 1207 #define VIM_DISCARDALL 6 |
1208 | 1208 |
1209 /* | 1209 /* |
1210 * arguments for win_split() | 1210 * arguments for win_split() |
1211 */ | 1211 */ |
1212 #define WSP_ROOM 1 // require enough room | 1212 #define WSP_ROOM 0x01 // require enough room |
1213 #define WSP_VERT 2 // split vertically | 1213 #define WSP_VERT 0x02 // split/equalize vertically |
1214 #define WSP_TOP 4 // window at top-left of shell | 1214 #define WSP_HOR 0x04 // equalize horizontally |
1215 #define WSP_BOT 8 // window at bottom-right of shell | 1215 #define WSP_TOP 0x08 // window at top-left of shell |
1216 #define WSP_HELP 16 // creating the help window | 1216 #define WSP_BOT 0x10 // window at bottom-right of shell |
1217 #define WSP_BELOW 32 // put new window below/right | 1217 #define WSP_HELP 0x20 // creating the help window |
1218 #define WSP_ABOVE 64 // put new window above/left | 1218 #define WSP_BELOW 0x40 // put new window below/right |
1219 #define WSP_NEWLOC 128 // don't copy location list | 1219 #define WSP_ABOVE 0x80 // put new window above/left |
1220 #define WSP_NEWLOC 0x100 // don't copy location list | |
1220 | 1221 |
1221 /* | 1222 /* |
1222 * arguments for gui_set_shellsize() | 1223 * arguments for gui_set_shellsize() |
1223 */ | 1224 */ |
1224 #define RESIZE_VERT 1 // resize vertically | 1225 #define RESIZE_VERT 1 // resize vertically |