From 706017b4de8f604cf0d3d4083b0ce34428bf25f3 Mon Sep 17 00:00:00 2001 From: pml68 Date: Tue, 1 Oct 2024 14:24:59 +0200 Subject: feat: change some remaps s --- lua/pml68/plugins.lua | 2 +- lua/pml68/remap.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/pml68') diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index 1a176db..0cdeb16 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -186,6 +186,7 @@ local plugins = { "python", "rust", "markdown", + "markdown_inline", "yaml", "json", "glsl", @@ -266,7 +267,6 @@ local plugins = { --JSON { "b0o/schemastore.nvim", - ft = "json", }, --Rust { diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua index 1ae3760..05d3dc3 100644 --- a/lua/pml68/remap.lua +++ b/lua/pml68/remap.lua @@ -6,15 +6,15 @@ vim.keymap.set("n", "", "nohl") vim.keymap.set("n", "x", "bd") vim.keymap.set("n", "fo", "=ap") vim.keymap.set("n", "b", "!chmod 755 %", { silent = true }) -vim.keymap.set("n", "j", "ddp") -vim.keymap.set("n", "k", "ddkP") +vim.keymap.set("n", "", "ddp") +vim.keymap.set("n", "", "ddkP") vim.keymap.set("v", "J", ":m '>+1gv=gv") vim.keymap.set("v", "K", ":m '<-2gv=gv") vim.keymap.set("n", "sl", "exec \"normal i\".nr2char(getchar()).\"\\e\"") vim.keymap.set("n", "sc", "exec \"normal a\".nr2char(getchar()).\"\\e\"") -- u/soer9459 -vim.keymap.set('n', ';', +vim.keymap.set('n', ',', function() local cursor = vim.api.nvim_win_get_cursor(0) vim.cmd('norm A;') -- cgit v1.2.3