diff --git a/doc/win.txt b/doc/win.txt index 92218b1..dce72f7 100644 --- a/doc/win.txt +++ b/doc/win.txt @@ -72,12 +72,6 @@ The following variables can be used to customize the behavior of |vim-win|. `Variable` Description `Default` ------------- ------- -*g:win_resize_height* `2` - Number of rows to shift when - resizing -*g:win_resize_width* `2` - Number of columns to shift when - resizing *g:win_disable_version_warning* |v:false| Set to |v:true| to disable the version warning @@ -86,6 +80,12 @@ The following variables can be used to customize the behavior of |vim-win|. |vim-win| *g:win_init_keys* `''` Initial keypresses +*g:win_resize_height* `2` + Number of rows to shift when + resizing +*g:win_resize_width* `2` + Number of columns to shift when + resizing The |g:win_ext_command_map| maps |vim-win| command keys to `vim` command strings. The *Win#exit* string can be used as a command string for exiting diff --git a/plugin/win.vim b/plugin/win.vim index b76cc2c..648b222 100644 --- a/plugin/win.vim +++ b/plugin/win.vim @@ -20,8 +20,6 @@ endif " * User Configuration " ************************************************************ -let g:win_resize_height = get(g:, 'win_resize_height', 2) -let g:win_resize_width = get(g:, 'win_resize_width', 2) let g:win_disable_version_warning = \ get(g:, 'win_disable_version_warning', v:false) " g:win_ext_command_map allows additional commands to be added to win.vim. It @@ -50,6 +48,8 @@ let g:win_disable_version_warning = " \ } let g:win_ext_command_map = get(g:, 'win_ext_command_map', {}) let g:win_init_keys = get(g:, 'win_init_keys', '') +let g:win_resize_height = get(g:, 'win_resize_height', 2) +let g:win_resize_width = get(g:, 'win_resize_width', 2) " The default highlight groups (for colors) are specified below. " Change these default colors by defining or linking the corresponding