]> 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:

enable relative line numbering (default)
authormartin f. krafft <madduck@madduck.net>
Mon, 19 May 2025 19:24:26 +0000 (21:24 +0200)
committermartin f. krafft <madduck@madduck.net>
Wed, 6 Aug 2025 09:57:17 +0000 (11:57 +0200)
.config/lazyvim/lazy-lock.json
.config/lazyvim/lua/config/options.lua
.config/lazyvim/lua/plugins/hardtime.lua [new file with mode: 0644]
.gitignore.d/lazyvim

index 00775166a240182bc914e57337407532f5651788..36fbdb930b2e7cb2912c81d5e9268e528625c223 100644 (file)
@@ -10,8 +10,9 @@
   "emoji.nvim": { "branch": "main", "commit": "a79e45d35853bb6446638f4d74c6f778ddebd8e3" },
   "flash.nvim": { "branch": "main", "commit": "3c942666f115e2811e959eabbdd361a025db8b63" },
   "friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
-  "gitsigns.nvim": { "branch": "main", "commit": "39e0d1cd44eafed5f30c372e377ab1cb1781ec9f" },
+  "gitsigns.nvim": { "branch": "main", "commit": "ee0606259ee5d5dd40398be26755048e8965086e" },
   "grug-far.nvim": { "branch": "main", "commit": "7df08fff7da6ee08006fe8eaccc3407b89da368b" },
+  "hardtime.nvim": { "branch": "main", "commit": "be3329939c14fc8a7e948eb963f632581a27ad2d" },
   "inc-rename.nvim": { "branch": "main", "commit": "2eaff20526ff6101337b84f4b0d238c11f47d7f4" },
   "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
   "lazydev.nvim": { "branch": "main", "commit": "2367a6c0a01eb9edb0464731cc0fb61ed9ab9d2c" },
index 5f934d498d8d1829fa13d32c04988ca4d8d29afc..46bc955d1aaca9d341939260a55d115584461013 100644 (file)
@@ -11,7 +11,6 @@ opt.confirm = false
 opt.mouse = ""
 opt.cursorline = false
 opt.number = false
-opt.relativenumber = false
 opt.clipboard = ""
 
 vim.g.loaded_perl_provider = false
diff --git a/.config/lazyvim/lua/plugins/hardtime.lua b/.config/lazyvim/lua/plugins/hardtime.lua
new file mode 100644 (file)
index 0000000..600d571
--- /dev/null
@@ -0,0 +1,16 @@
+return {
+  {
+    "m4xshen/hardtime.nvim",
+    lazy = false,
+    dependencies = { "MunifTanjim/nui.nvim" },
+    opts = {
+      restriction_mode = "hint",
+      disabled_keys = {
+        ["<Up>"] = false,
+        ["<Down>"] = false,
+        ["<Left>"] = false,
+        ["<Right>"] = false,
+      },
+    },
+  },
+}
index c58b6d95f02f4290165d01b2d405b2c3994cd26a..ee74051ce2f9d40a869ad22dd41f054fa687cec1 100644 (file)
@@ -32,6 +32,7 @@
 !/.config/lazyvim/lua/plugins/disable-treesitter-indenting.lua
 !/.config/lazyvim/lua/plugins/emoji.lua
 !/.config/lazyvim/lua/plugins/example.lua
+!/.config/lazyvim/lua/plugins/hardtime.lua
 !/.config/lazyvim/lua/plugins/markdown-in-mailbody.lua
 !/.config/lazyvim/lua/plugins/mini-align.lua
 !/.config/lazyvim/lua/plugins/neotest-hide-output.lua