change keybindings for Emacs
This commit is contained in:
@@ -35,7 +35,7 @@ pravitekeys = awful.util.table.join(
|
|||||||
|
|
||||||
awful.key({ modkey }, "e",
|
awful.key({ modkey }, "e",
|
||||||
function ()
|
function ()
|
||||||
run_or_raise("emacs", {class = "Emacs"})
|
run_or_raise("emacsclient -a '' -c -n", {class = "Emacs"})
|
||||||
end),
|
end),
|
||||||
|
|
||||||
awful.key({ modkey, "Shift" }, "e",
|
awful.key({ modkey, "Shift" }, "e",
|
||||||
|
|||||||
@@ -335,8 +335,8 @@ globalkeys = awful.util.table.join(
|
|||||||
awful.client.focus.bydirection("right")
|
awful.client.focus.bydirection("right")
|
||||||
if client.focus then client.focus:raise() end
|
if client.focus then client.focus:raise() end
|
||||||
end),
|
end),
|
||||||
awful.key({ modkey, }, "w", function () awful.util.mymainmenu:show() end,
|
-- awful.key({ modkey, }, "w", function () awful.util.mymainmenu:show() end,
|
||||||
{description = "show main menu", group = "awesome"}),
|
-- {description = "show main menu", group = "awesome"}),
|
||||||
|
|
||||||
-- Layout manipulation
|
-- Layout manipulation
|
||||||
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
|
awful.key({ modkey, "Shift" }, "j", function () awful.client.swap.byidx( 1) end,
|
||||||
|
|||||||
@@ -36,3 +36,4 @@ fcitx -d
|
|||||||
#sudo java -jar tcpspeed_client.jar -b &
|
#sudo java -jar tcpspeed_client.jar -b &
|
||||||
#cd
|
#cd
|
||||||
#sudo service shadowsocks.client start
|
#sudo service shadowsocks.client start
|
||||||
|
emacs --daemon
|
||||||
|
|||||||
Reference in New Issue
Block a user