From 87a995aa3b61c63919529ef6f1709249b86bdbf2 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sat, 19 Oct 2024 11:00:25 +0200 Subject: common/nixvim: fix pasting with registers --- common/nixvim.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'common/nixvim.nix') 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 end, }) - require('highlight-undo').setup() + require('highlight-undo').setup({ + keymaps = { + -- Right now messes up registers + paste = { disabled = true, }, + Paste = { disabled = true, }, + }, + }) -- For fugitive's :GBrowse vim.api.nvim_create_user_command("Browse", function(opts) -- cgit v1.2.3