]> git.madduck.net Git - etc/lazyvim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

restore abbreviation expansion in addition to undo break
authormartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:15:45 +0000 (11:15 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:57:17 +0000 (11:57 +0200)
.config/lazyvim/lua/config/keymaps.lua

index 12c48409b112ae7326458ed5eac56c64189d35de..c36aaf89dd42f5b756a3b72db0a2e1c122ef9e70 100644 (file)
@@ -3,3 +3,9 @@
 -- Add any additional keymaps here
 
 local map = vim.keymap.set
 -- Add any additional keymaps here
 
 local map = vim.keymap.set
+
+-- restore abbreviation expansion in addition to undo break
+-- (see https://github.com/LazyVim/LazyVim/discussions/5967#discussioncomment-12859255)
+map("i", ",", "<c-]>,<c-g>u")
+map("i", ".", "<c-]>.<c-g>u")
+map("i", ";", "<c-]>;<c-g>u")