Переглянути джерело

nixpkgs/neovim: use demicomma for repeating motions

Thomas Dy 2 тижнів тому
батько
коміт
5195b5f1be

+ 9 - 9
.config/nixpkgs/neovim/config/lua/user/plugins/navigation.lua

@@ -1,14 +1,14 @@
-local MiniJump = require('mini.jump')
+local demicolon = require('demicolon')
 local Treewalker = require('treewalker')
 
--- repeatable f/t
-MiniJump.setup({
-  mappings = {
-    repeat_jump = '',
-  },
-  delay = {
-    highlight = 10000000,
-  },
+-- ,/; for bracket motions too
+demicolon.setup({
+  keymaps = {
+    disabled_keys = {
+      -- this is paste with indent, not a motion
+      'p',
+    }
+  }
 })
 
 -- Treesitter navigation

+ 4 - 0
.config/nixpkgs/neovim/plugins/sources.json

@@ -84,5 +84,9 @@
   "FourierTransformer/tinytoml": {
     "rev": "8fc9acf778eea141a36b7b42f55fcb6689fcfd3f",
     "sha256": "1np8gymhlvklf45f9961ksxkm0nz3ppwkxcjaw8qxzr2fgd3kq9j"
+  },
+  "mawkler/demicolon.nvim": {
+    "rev": "42eaf79845b777d3608b134f283d97ce44c87e82",
+    "sha256": "19jmf8pkcyc6yfd45xb8hk6rnksanqmbqf3alwr5axgrr9xm2rsh"
   }
 }