update keybindings
This commit is contained in:
parent
34f210646e
commit
2f25e69509
|
@ -74,8 +74,8 @@ local progmap = {
|
||||||
|
|
||||||
local home = os.getenv("HOME")
|
local home = os.getenv("HOME")
|
||||||
local docmap = {
|
local docmap = {
|
||||||
{"p", binder.spawn("docopen " .. home .. "/ pdf"), "Alle PDF-Dokumente" },
|
{"p", binder.spawn("docopen -e pdf " .. home), "Alle PDF-Dokumente" },
|
||||||
{"b", binder.spawn("docopen " .. home .. "/doc/books pdf epub mobi txt lit html htm"), "Bücher" },
|
{"b", binder.spawn("docopen -e pdf -e epub -e mobi -e txt -e lit -e html -e htm " .. home .. "/doc/books "), "Bücher" },
|
||||||
{"t", binder.spawn("dmtexdoc"), "Texdoc" },
|
{"t", binder.spawn("dmtexdoc"), "Texdoc" },
|
||||||
{"j", binder.spawn("dmjavadoc"), "Javadoc" }
|
{"j", binder.spawn("dmjavadoc"), "Javadoc" }
|
||||||
}
|
}
|
||||||
|
|
|
@ -215,8 +215,10 @@ local default_bindings = awful.util.table.join(
|
||||||
awful.key({ modkey, "Shift" }, "k", function ()
|
awful.key({ modkey, "Shift" }, "k", function ()
|
||||||
awful.client.swap.byidx( -1)
|
awful.client.swap.byidx( -1)
|
||||||
end),
|
end),
|
||||||
awful.key({ modkey, }, "h", screen_focus_wrapdir("left")),
|
--awful.key({ modkey, }, "h", screen_focus_wrapdir("left")),
|
||||||
awful.key({ modkey, }, "l", screen_focus_wrapdir("right")),
|
--awful.key({ modkey, }, "l", screen_focus_wrapdir("right")),
|
||||||
|
awful.key({ modkey, }, "h", function() awful.screen.focus_relative(1) end),
|
||||||
|
awful.key({ modkey, }, "l", function() awful.screen.focus_relative(-1) end),
|
||||||
--}}}
|
--}}}
|
||||||
|
|
||||||
--{{{ Modal mappings
|
--{{{ Modal mappings
|
||||||
|
|
Loading…
Reference in a new issue