X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8ef2e5beed7d47254087f6d313dcf23db6a5dde5..e8ae4a469b8b5db19a27a2bf71bb04142a68a6f0:/awesome/bindings.lua?ds=inline diff --git a/awesome/bindings.lua b/awesome/bindings.lua index e53b301..ae2ebaf 100644 --- a/awesome/bindings.lua +++ b/awesome/bindings.lua @@ -144,7 +144,12 @@ globalkeys = gears.table.join(globalkeys, -- 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