From: Samir Benmendil Date: Wed, 12 Apr 2023 22:10:26 +0000 (+0100) Subject: nvim: set timeoutlen to 1s like default X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/1fec8ba93b7fcc520dec40acbdba237c1e67ca69?ds=inline nvim: set timeoutlen to 1s like default My slow brain got used to have this extra little time to think about what key to hit next. Maybe 1s is a little long, and I should shorten it a bit, but 300ms was too short. --- diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 757eeed..1bc95c8 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -18,6 +18,7 @@ opt.tabstop = 8 opt.sidescrolloff = 1 opt.splitbelow = false opt.splitright = true +opt.timeoutlen = 1000 -- FIXME: -- 2. settings I might want to include when disabling options works @@ -25,7 +26,6 @@ opt.pumblend = 10 -- Popup blend opt.pumheight = 10 -- Maximum number of entries in a popup opt.showmode = false -- Dont show mode since we have a statusline opt.signcolumn = "yes" -- Always show the signcolumn, otherwise it would shift the text each time -opt.timeoutlen = 300 opt.updatetime = 200 -- Save swap file and trigger CursorHold if vim.fn.has("nvim-0.9.0") == 1 then opt.splitkeep = "screen"