summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinijackson <minijackson@riseup.net>2024-10-19 11:00:25 +0200
committerMinijackson <minijackson@riseup.net>2024-10-19 11:00:25 +0200
commit87a995aa3b61c63919529ef6f1709249b86bdbf2 (patch)
treed0bff61c27b28fb85cc006bd589d2e47fbff871d
parent7ebf20bfa4ae683d85ba3df83e7676190733fda5 (diff)
downloadnixos-config-reborn-87a995aa3b61c63919529ef6f1709249b86bdbf2.tar.gz
nixos-config-reborn-87a995aa3b61c63919529ef6f1709249b86bdbf2.zip
common/nixvim: fix pasting with registers
-rw-r--r--common/nixvim.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/nixvim.nix b/common/nixvim.nix
index e6bb937..5e87ad9 100644
--- a/common/nixvim.nix
+++ b/common/nixvim.nix
@@ -647,7 +647,13 @@ in
647 end, 647 end,
648 }) 648 })
649 649
650 require('highlight-undo').setup() 650 require('highlight-undo').setup({
651 keymaps = {
652 -- Right now messes up registers
653 paste = { disabled = true, },
654 Paste = { disabled = true, },
655 },
656 })
651 657
652 -- For fugitive's :GBrowse 658 -- For fugitive's :GBrowse
653 vim.api.nvim_create_user_command("Browse", function(opts) 659 vim.api.nvim_create_user_command("Browse", function(opts)