53 lines
1.1 KiB
Lua
53 lines
1.1 KiB
Lua
local status, keyseer = pcall(require, "keyseer")
|
|
if not status then
|
|
return
|
|
end
|
|
|
|
keyseer.setup({
|
|
debug = false,
|
|
initial_mode = "n",
|
|
include_builtin_keymaps = true,
|
|
include_global_keymaps = true,
|
|
include_buffer_keymaps = true,
|
|
include_modified_keypresses = false,
|
|
ignore_whichkey_conflicts = true,
|
|
|
|
ui = {
|
|
border = "double",
|
|
margin = { 1, 0, 1, 0 },
|
|
winblend = 0,
|
|
size = {
|
|
width = 65,
|
|
height = 10,
|
|
},
|
|
icons = {
|
|
keyseer = "",
|
|
},
|
|
show_header = true,
|
|
},
|
|
keyboard = {
|
|
layout = "qwertz",
|
|
keycap_padding = { 0, 1, 0, 1 },
|
|
highlight_padding = { 0, 0, 0, 0 },
|
|
key_labels = {
|
|
["Up"] = "↑",
|
|
["Down"] = "↓",
|
|
["Left"] = "←",
|
|
["Right"] = "→",
|
|
["<F1>"] = "F1",
|
|
["<F2>"] = "F2",
|
|
["<F3>"] = "F3",
|
|
["<F4>"] = "F4",
|
|
["<F5>"] = "F5",
|
|
["<F6>"] = "F6",
|
|
["<F7>"] = "F7",
|
|
["<F8>"] = "F8",
|
|
["<F9>"] = "F9",
|
|
["<F10>"] = "F10",
|
|
-- ["<space>"] = "SPC",
|
|
-- ["<cr>"] = "RET",
|
|
-- ["<tab>"] = "TAB",
|
|
},
|
|
},
|
|
})
|