LuaKit, a Vim-style Ultra Speed Browser!
Luakit is a web browser aimed at advanced users, developers, users who want to better fix Vim/Neovim commands .
It is mainly aimed at advanced users, developers, users who want to evolve and better stick Vim/Neovim commands, and anyone who wants to have fine-grained control over their web browser’s behavior and interface.
To install LuaKit you can use your distro’s package manager, examples:
- On Gentoo:
- On Debian or Ubuntu:
sudo apt luakit
- In Arch Linux:
pacman -S luakit
- On FreeBSD:
pkg install luakit
- On OpenBSD:
And among others.
You can also install on other Linux operating systems/distributions building from scratch, but first you will need to have the dependencies: Git, GMake, GCC, GTK3, WebKit2GTK, Lua 5.1/LuaJIT, Lua File System and SQLite3 .
After that, just clone the repository, enter it, build and install:
Once properly installed, just look for LuaKit on your dashboard and open it, so that the home page is precisely LuaKit’s official website. Now let’s see some commands and tips for using LuaKit.
Commands and Shortcuts
LuaKit has the following modes: Command(by pressing
ESC) and Insertion(by pressing the letter
i, for example, to type in input, textarea and others) fields.
To navigate the command options press
ESCto enter command mode and then press TAB to navigate down through the available command hints and
Shift + Tabto go up through the options.
If you choose
:help, for example, it will open the help page at
luakit://binds/in a new tab, you can switch between tabs by clicking at the top of each tab or simply hitting
Ctrl + Tab.
To open a URL, run the command
:open <url-name>or simply type the letter
o google.comin command mode, it will open the URL in the TAB where you typed the command.
If you want to open a URL in a new tab, type:
:tabopen URLor type
To open a new empty TAB (no URL), press:
Ctrl + tor use the command:
:tabopenwithout providing URL.
To close a TAB run the command
:closeor the key combination:
Ctrl + wor just
To reopen a closed tab, press
You can navigate a page using the mouse or the arrow keys:
jfor up and down respectively and
lfor left and right respectively.
To go to the beginning of the page is identical to Vim, just type:
gg, and to go to the end
You can also navigate between tabs by pressing
Alt + <tab-order-number>and to reorder the position of the tabs, use
Pressing the letter
fdisplays and numbers the links on the page and to click on the number you want to type it and then press
To browse the history backwards press
Shift + hand forward
Shift + l
If you want to display the history, run the command
:historyor type the letter
uin command mode. You can clear the history by clicking
Searching for some word or content is also the same as Vim, just press
/and then type what you want to search, typing
nit finds the next occurrence of what was typed.
To refresh a page press
rwhich would be the
F5of conventional browsers.
Print a page or a document, use the command:
Bookmark a page run:
:bookmarkand to see your bookmarks use the same plural word:
To create snippets and run Lua commands, run:
To inspect the DOM and run commands on the console, use:
Settings can be made by running the
:settings command. It is possible to configure and define values for Lua metatables or just by clicking on the options. Actions such as:
- Disable or re-enable
- Enable save session as default
- Install plugins in
~/.config/luakit/plugins, plugins can be developed by yourself or cloned from the repository: https://github.com/luakit/luakit-plugins
And among several other settings.
- To exit Luakit, just run
:quitor simply press
Shift + zand then
Shift + q. If you want to exit and save the session of open pages to be reopened as soon as you open again run the command:
Shift + ztwice.
For more usage tips, commands and settings:
- Access the official documentation at:
luakit://bindsor via the website:
- Or run in the terminal:
- Or using the manual with the command in the terminal:
If you want a guide to the Lua Programming Language, go to:
Watch the video
The video is in Brazilian Portuguese, but it is possible to understand the usage, as the commands are universal.