Skip to content

Commit

Permalink
Use FixCursorHold-nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed May 21, 2024
1 parent c031c5e commit b5184dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion home/nixvim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ in {
wildmode = ["list:longest" "list:full"];
wrap = false;
winwidth = 80;
updatetime = 50;
updatetime = 4000;
switchbuf = ["useopen" "uselast"];
conceallevel = 0;
shortmess = "tToOFIWa";
Expand Down
7 changes: 7 additions & 0 deletions home/nixvim/neotest.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
pkgs,
lib,
config,
...
Expand Down Expand Up @@ -30,6 +31,12 @@ in {
};
settings.output_panel.open = "tabnew";
};
globals = {
cursorhold_updatetime = 100;
};
extraPlugins = with pkgs.vimPlugins; [
FixCursorHold-nvim
];
keymaps = [
(keymap {
key = "tf";
Expand Down

0 comments on commit b5184dc

Please sign in to comment.