Permalink
Browse files

added F11 as bind for fullscreen toggling

  • Loading branch information...
1 parent 853c0f4 commit 176430f77216dcb97eff6f4c13fa08a89509f651 @karottenreibe karottenreibe committed with mason-larobina Jul 12, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 config/binds.lua
View
@@ -154,6 +154,13 @@ add_binds("normal", {
-- Zoom reset or specific zoom ([count]zZ for full content zoom)
buf("^z[zZ]$", function (w, b, m) w:zoom_set(m.count/100, b == "zZ") end, {count=100}),
+ -- Fullscreen
+ key({}, "F11", function (w)
+ w.fullscreen = not w.fullscreen
+ if w.fullscreen then w.win:fullscreen()
+ else w.win:unfullscreen() end
+ end),
+
-- Clipboard
key({}, "p", function (w)
local uri = luakit.get_selection()

0 comments on commit 176430f

Please sign in to comment.