From fcce0a4b291b1e2ba3891814f6220cd6c5812347 Mon Sep 17 00:00:00 2001
From: Darius Auding <Darius.auding@gmx.de>
Date: Sat, 8 Apr 2023 13:07:54 +0200
Subject: [PATCH] change the ';' and ',' keymap in normal mode to <leader>;/,
 because of problem with motions

---
 lua/codecraft/core/keymaps.lua | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lua/codecraft/core/keymaps.lua b/lua/codecraft/core/keymaps.lua
index e6f965c..9173a55 100644
--- a/lua/codecraft/core/keymaps.lua
+++ b/lua/codecraft/core/keymaps.lua
@@ -4,8 +4,8 @@ local map = vim.keymap
 map.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
 
 -- end of line semicolon and comma
-map.set('n', ';', 'A;<ESC>')
-map.set('n', ',', 'A,<ESC>')
+map.set('n', '<leader>;', 'A;<ESC>')
+map.set('n', '<leader>,', 'A,<ESC>')
 
 -- Remap for dealing with word wrap
 -- map.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
-- 
GitLab