Add screenkey
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m0s
Details
Test Neovim config on push / build (ubuntu-20.04) (push) Failing after 1m0s
Details
This commit is contained in:
parent
4aa297662c
commit
af28c12ea7
|
@ -50,6 +50,9 @@ vim.g.gitblame_date_format = "%r"
|
|||
-- Floating terminal
|
||||
vim.keymap.set("n", "<C-t>", ":FloatermNew --height=0.9 --width=0.9 --wintype=float --name=terminal <CR>")
|
||||
|
||||
-- Key plugin
|
||||
require("screenkeyconfig")
|
||||
|
||||
-- Set default colorscheme
|
||||
-- vim.cmd("colo vim-monokai-tasty")
|
||||
vim.cmd("colo sonokai")
|
||||
|
|
|
@ -57,7 +57,7 @@ return {
|
|||
"dense-analysis/ale",
|
||||
"f-person/git-blame.nvim",
|
||||
"dstein64/vim-startuptime",
|
||||
"tamton-aquib/keys.nvim",
|
||||
"NStefan002/screenkey.nvim",
|
||||
|
||||
-- Themes
|
||||
"folke/tokyonight.nvim",
|
||||
|
|
|
@ -0,0 +1,65 @@
|
|||
require("screenkey").setup({
|
||||
win_opts = {
|
||||
row = vim.o.lines - vim.o.cmdheight - 1,
|
||||
col = vim.o.columns - 1,
|
||||
relative = "editor",
|
||||
anchor = "SE",
|
||||
width = 40,
|
||||
height = 3,
|
||||
border = "single",
|
||||
title = "Screenkey",
|
||||
title_pos = "center",
|
||||
style = "minimal",
|
||||
focusable = false,
|
||||
noautocmd = true,
|
||||
},
|
||||
compress_after = 3,
|
||||
clear_after = 3,
|
||||
disable = {
|
||||
filetypes = {},
|
||||
buftypes = {},
|
||||
events = false,
|
||||
},
|
||||
show_leader = true,
|
||||
group_mappings = false,
|
||||
display_infront = {},
|
||||
display_behind = {},
|
||||
filter = function(keys)
|
||||
return keys
|
||||
end,
|
||||
keys = {
|
||||
["<TAB>"] = "",
|
||||
["<CR>"] = "",
|
||||
["<ESC>"] = "Esc",
|
||||
["<SPACE>"] = "␣",
|
||||
["<BS>"] = "",
|
||||
["<DEL>"] = "Del",
|
||||
["<LEFT>"] = "",
|
||||
["<RIGHT>"] = "",
|
||||
["<UP>"] = "",
|
||||
["<DOWN>"] = "",
|
||||
["<HOME>"] = "Home",
|
||||
["<END>"] = "End",
|
||||
["<PAGEUP>"] = "PgUp",
|
||||
["<PAGEDOWN>"] = "PgDn",
|
||||
["<INSERT>"] = "Ins",
|
||||
["<F1>"] = "",
|
||||
["<F2>"] = "",
|
||||
["<F3>"] = "",
|
||||
["<F4>"] = "",
|
||||
["<F5>"] = "",
|
||||
["<F6>"] = "",
|
||||
["<F7>"] = "",
|
||||
["<F8>"] = "",
|
||||
["<F9>"] = "",
|
||||
["<F10>"] = "",
|
||||
["<F11>"] = "",
|
||||
["<F12>"] = "",
|
||||
["CTRL"] = "Ctrl",
|
||||
["ALT"] = "Alt",
|
||||
["SUPER"] = "",
|
||||
["<leader>"] = "<leader>",
|
||||
},
|
||||
})
|
||||
|
||||
vim.cmd("Screenkey")
|
Loading…
Reference in New Issue