]> git.rmz.io Git - dotfiles.git/blobdiff - awesome/bindings.lua
vim: do not set pastetoggle in nvim
[dotfiles.git] / awesome / bindings.lua
index 50e723107cc21ae36b1436bfd46b8a185b590785..be64d76b6f3947343be925bccf7724b5862f66cd 100644 (file)
@@ -168,7 +168,11 @@ globalkeys = gears.table.join(globalkeys,
     -- 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"})
+              {description = "paste primary selection", group = "awesome"}),
+    -- utf8 picker
+    -- TODO: the mapping is similar to kitty's <C-S-u>, but worth changing maybe?
+    awful.key({ modkey, "Shift"}, "u", function () awful.spawn('rofimoji') end,
+              { description = "select utf8 character", group = "awesome"})
 )
 
 -- Client keys {{{1