~whynothugo/dotfiles

ed3237a94897d5da5be772680ec7fe9557c89f27 — Hugo Osvaldo Barrera a month ago 84e54c0
nvim: Add slight delay for which-key
1 files changed, 3 insertions(+), 1 deletions(-)

M home/.config/nvim/init.lua
M home/.config/nvim/init.lua => home/.config/nvim/init.lua +3 -1
@@ 113,7 113,9 @@ vim.api.nvim_set_keymap(

-- Show a nice pop-up for mappings.
require("which-key").setup()
vim.opt.timeoutlen = 0
-- Use a slight delay. Does not flash when using something like `dd`,
-- but does show up pretty fast when it's actually needed.
vim.opt.timeoutlen = 200

-- Appearance =================================================================
local util = require("tokyonight.util")