
Luakit is an extremely fast, lightweight and flexible web browser using the webkit engine. It is customizable through lua scripts and fully usable with keyboard shortcuts.
Note: Most of the shortcuts are viewable and customizable from ~/.config/luakit/binds.lua.
Press
To quit, use the
Reorder the tabs with < and >.
lualkit is configured by files includes in ~/.config/luakit/*
globals.lua
globals = {
homepage = "about:blank",
-- ...
}
globals.lua
search_engines = {
aur = "https://aur.archlinux.org/packages.php?O=0&K=%s&do_Search=Go",
-- ...
}The variable is used as a keyword for the :open command in Luakit.
Set the defaut search engine by using this same keyword:
globals.lua search_engines.default = search_engines.aur
-- Add download support
require "downloads"
require "downloads_chrome"
-- Set download location
downloads.default_dir = os.getenv("HOME") .. "/downloads"
downloads.add_signal("download-location", function (uri, file)
if not file or file == "" then
file = (string.match(uri, "/([^/]+)$")
or string.match(uri, "^%w+://(.+)")
or string.gsub(uri, "/", "_")
or "untitled")
end
return downloads.default_dir .. "/" .. file
end)