This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---Utility for keymap creation. | |
| ---@param lhs string | |
| ---@param rhs string|function | |
| ---@param opts string|table | |
| ---@param mode? string|string[] | |
| local function keymap(lhs, rhs, opts, mode) | |
| opts = type(opts) == 'string' and { desc = opts } | |
| or vim.tbl_extend('error', opts --[[@as table]], { buffer = bufnr }) | |
| mode = mode or 'n' | |
| vim.keymap.set(mode, lhs, rhs, opts) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00:00:00.000 [INFO] [sway/main.c:338] Sway version 1.9 | |
| 00:00:00.000 [INFO] [sway/main.c:339] wlroots version 0.17.2 | |
| 00:00:00.001 [INFO] [sway/main.c:120] Linux localhost.localdomain 6.9.5-1-default #1 SMP PREEMPT_DYNAMIC Tue Jun 18 07:38:24 UTC 2024 (c9c2e24) x86_64 x86_64 x86_64 GNU/Linux | |
| 00:00:00.001 [INFO] [sway/main.c:136] Contents of /etc/os-release: | |
| 00:00:00.001 [INFO] [sway/main.c:120] NAME="openSUSE Tumbleweed" | |
| 00:00:00.001 [INFO] [sway/main.c:120] # VERSION="20240622" | |
| 00:00:00.001 [INFO] [sway/main.c:120] ID="opensuse-tumbleweed" | |
| 00:00:00.001 [INFO] [sway/main.c:120] ID_LIKE="opensuse suse" | |
| 00:00:00.001 [INFO] [sway/main.c:120] VERSION_ID="20240622" | |
| 00:00:00.001 [INFO] [sway/main.c:120] PRETTY_NAME="openSUSE Tumbleweed" |