-- VimWiki
awful.key({ modkey }, "i", function ()
utils.spawn_terminal("vim -c 'call vimwiki#base#goto_index(v:count1)'", { instance = "vimwiki"})
- end)
+ end),
+ -- clipboard
+ -- requires a little sleep before simulating shift+Insert, otherwise I
+ -- believe the focus is still on awful and not the current window
+ awful.key({ modkey }, "\\", function () awful.spawn('xdotool sleep 0.2 key --clearmodifiers shift+Insert') end,
+ {description = "paste primary selection", group = "awesome"})
)
-- Client keys {{{1