Merge pull request #2913 from actionless/add-vim-test-dep

doc(readme): add vim to test deps
This commit is contained in:
Emmanuel Lepage Vallée 2019-10-18 18:28:34 -04:00 committed by GitHub
commit 0297bfff9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -43,7 +43,6 @@ addons:
- xvfb
- zsh
- x11-apps
- vim-nox
# Need xorg-macros
- xutils-dev
# lgi.

View File

@ -107,7 +107,8 @@ Additionally, the following optional dependencies exist:
- [libRSVG](https://wiki.gnome.org/action/show/Projects/LibRsvg) for displaying
SVG files without scaling artifacts
- [wmctrl](http://tripie.sweb.cz/utils/wmctrl) for testing WM interactions
with external actions.
with external actions
- [xterm](https://invisible-island.net/xterm/) for various test cases
## Running Awesome

View File

@ -268,9 +268,10 @@ local steps = {
elseif count == 3 then
assert(not hotkeys_wibox.visible)
root.fake_input("key_release", "Super_L")
-- now let's run vim so hotkeys widget will show hotkeys for it:
test_context.hotkeys01_clients_before = #client.get()
awful.spawn("xterm -e vim")
-- imitate fake client with name "vim"
-- so hotkeys widget will offer vim hotkeys:
awful.spawn("xterm -title vim cat")
elseif not test_context.hotkeys01_count_vim then
-- if xterm with vim got already opened: