aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <pml31@protonmail.com>2024-04-24 12:10:40 +0200
committerpml68 <pml31@protonmail.com>2024-04-24 12:10:40 +0200
commit6c31d0fa77d7e628b9e52733cd9e6022c1c28fde (patch)
tree26540229b96f3a68d04a948b3d2041586dd4e19b
parentfeat: automatically install Mason extras on first run (diff)
downloadnvim-6c31d0fa77d7e628b9e52733cd9e6022c1c28fde.tar.gz
feat: add screenkey.nvim plugin + <leader>sk remap
Diffstat (limited to '')
-rw-r--r--lua/pml68/plugins.lua6
-rw-r--r--lua/pml68/remap.lua3
2 files changed, 9 insertions, 0 deletions
diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua
index 4e4b440..4e18e13 100644
--- a/lua/pml68/plugins.lua
+++ b/lua/pml68/plugins.lua
@@ -201,6 +201,12 @@ local plugins = {
"stevearc/dressing.nvim",
event = "VeryLazy",
},
+ {
+ "NStefan002/screenkey.nvim",
+ cmd = "Screenkey",
+ version = "*",
+ config = true
+ },
--Formatting
{
"nvimdev/guard.nvim",
diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua
index 89a7dcf..6d35236 100644
--- a/lua/pml68/remap.lua
+++ b/lua/pml68/remap.lua
@@ -10,6 +10,9 @@ vim.keymap.set("n", "<leader>fo", "=ap")
vim.keymap.set("n", "<leader>ll", "<cmd>VimtexCompile<CR>")
vim.keymap.set("n", "<leader>vl", "<cmd>VimtexView<CR>")
+-- Screenkey
+vim.keymap.set("n", "<leader>sk", "<cmd>Screenkey<CR>")
+
-- switch between windows
vim.keymap.set("n", "<C-h>", "<C-w>h")
vim.keymap.set("n", "<C-l>", "<C-w>l")