From f49d54af598500d77797c88aba745ea0c482d4f6 Mon Sep 17 00:00:00 2001 From: Dan Date: Sat, 18 Jan 2020 14:31:01 -0500 Subject: [PATCH] Clarify documentation. --- README.md | 5 ++--- autoload/win.vim | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 99910d7..85f07b0 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,9 @@ Enter `vim-win` with `w` or `:Win`. These can be customized (see - *Left* movements decrease width and *right* movements increase width. - *Down* movements decrease height and *up* movements increase height. * Press `s` or `S` followed by a movement key or window number, to swap buffers. - - `s` switches the active window, and `S` retains the active window. -* Press `s` followed by a movement key or window number, to swap buffers. + - The active window changes with `s` and is retained with `S`. * Press `?` to show a help message. -* Press `` to leave `vim-win` or go back (where applicable). +* Press `` to leave `vim-win` (or go back, where applicable). ## Configuration diff --git a/autoload/win.vim b/autoload/win.vim index 5eeac66..b90b467 100644 --- a/autoload/win.vim +++ b/autoload/win.vim @@ -269,8 +269,8 @@ function! s:ShowHelp() \ ' - Left movements decrease width and right movements increase width.', \ ' - Down movements decrease height and up movements increase height.', \ '* Press s or S followed by a movement key or window number, to swap buffers.', - \ ' - s switches the active window, and S retains the active window.', - \ '* Press to leave vim-win or go back (where applicable).', + \ ' - The active window changes with s and is retained with S.', + \ '* Press to leave vim-win (or go back, where applicable).', \ ] let l:echo_list = [] call add(l:echo_list, ['Title', "vim-win help\n"])