import vim hotkeys from user config, not hotkeys_popup module (#1432)
This commit is contained in:
parent
52170f575f
commit
c1cd968803
|
@ -11,6 +11,8 @@ local beautiful = require("beautiful")
|
||||||
local naughty = require("naughty")
|
local naughty = require("naughty")
|
||||||
local menubar = require("menubar")
|
local menubar = require("menubar")
|
||||||
local hotkeys_popup = require("awful.hotkeys_popup").widget
|
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
|
-- {{{ Error handling
|
||||||
-- @DOC_ERROR_HANDLING@
|
-- @DOC_ERROR_HANDLING@
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
local hotkeys_popup = {
|
local hotkeys_popup = {
|
||||||
widget = require("awful.hotkeys_popup.widget"),
|
widget = require("awful.hotkeys_popup.widget"),
|
||||||
keys = require("awful.hotkeys_popup.keys")
|
|
||||||
}
|
}
|
||||||
hotkeys_popup.show_help = hotkeys_popup.widget.show_help
|
hotkeys_popup.show_help = hotkeys_popup.widget.show_help
|
||||||
return hotkeys_popup
|
return hotkeys_popup
|
||||||
|
|
Loading…
Reference in New Issue