From cf73189e12823dc1561106deb364372525f8d97a Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Tue, 5 Dec 2023 06:11:17 +0100 Subject: [PATCH] fix wierd Tmux/terminal esc-j/k line move issue More details: https://github.com/LazyVim/LazyVim/discussions/163 --- lua/lazyvim/config/options.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/lazyvim/config/options.lua b/lua/lazyvim/config/options.lua index 3c9686b1..c2e15a25 100644 --- a/lua/lazyvim/config/options.lua +++ b/lua/lazyvim/config/options.lua @@ -49,7 +49,6 @@ opt.splitkeep = "screen" opt.splitright = true -- Put new windows right of current opt.tabstop = 2 -- Number of spaces tabs count for opt.termguicolors = true -- True color support -opt.timeoutlen = 300 opt.undofile = true opt.undolevels = 10000 opt.updatetime = 200 -- Save swap file and trigger CursorHold @@ -91,3 +90,9 @@ vim.o.formatexpr = "v:lua.require'lazyvim.util'.format.formatexpr()" -- Fix markdown indentation settings vim.g.markdown_recommended_style = 0 + +-- wierd tmux esc-j/k line switch issue fix +-- https://github.com/LazyVim/LazyVim/discussions/163 +opt.timeoutlen = 1000 +opt.ttimeoutlen = 0 +