import vim hotkeys from user config, not hotkeys_popup module (#1432)

This commit is contained in:
Yauhen Kirylau 2017-02-07 13:50:52 +01:00 committed by GitHub
parent 52170f575f
commit c1cd968803
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,8 @@ local beautiful = require("beautiful")
local naughty = require("naughty")
local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup").widget
-- Enable VIM help for hotkeys widget when client with matching name is opened:
require("awful.hotkeys_popup.keys.vim")
-- {{{ Error handling
-- @DOC_ERROR_HANDLING@

View File

@ -9,7 +9,6 @@
local hotkeys_popup = {
widget = require("awful.hotkeys_popup.widget"),
keys = require("awful.hotkeys_popup.keys")
}
hotkeys_popup.show_help = hotkeys_popup.widget.show_help
return hotkeys_popup