Skip to content

Commit

Permalink
Clarify documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
dstein64 committed Jan 18, 2020
1 parent 94211c3 commit f49d54a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ Enter `vim-win` with `<leader>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 `<esc>` to leave `vim-win` or go back (where applicable).
* Press `<esc>` to leave `vim-win` (or go back, where applicable).

## Configuration

Expand Down
4 changes: 2 additions & 2 deletions autoload/win.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 <esc> to leave vim-win or go back (where applicable).',
\ ' - The active window changes with s and is retained with S.',
\ '* Press <esc> to leave vim-win (or go back, where applicable).',
\ ]
let l:echo_list = []
call add(l:echo_list, ['Title', "vim-win help\n"])
Expand Down

0 comments on commit f49d54a

Please sign in to comment.