aboutsummaryrefslogtreecommitdiffstats
path: root/neovim/.config/nvim/nvim.log
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-10 22:25:18 +0200
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2026-09-10 22:25:18 +0200
commitd8beb7892e78474511899202972a145e8fbb9762 (patch)
treea6a6669bbb773054abb82e534e2ebd3553eb0974 /neovim/.config/nvim/nvim.log
parentcd3b426b15ace7d35c71bdee593163e09994c76f (diff)
downloaddotfiles-d8beb7892e78474511899202972a145e8fbb9762.tar.gz
dotfiles-d8beb7892e78474511899202972a145e8fbb9762.tar.bz2
dotfiles-d8beb7892e78474511899202972a145e8fbb9762.zip
Make <C-hjkl> window nav work from terminal buffers too
<C-w><direction> only works in Normal mode; a terminal buffer (e.g. claude-code.nvim's split) is in Terminal mode by default, where keystrokes go straight to the running process instead of Neovim. Add terminal-mode versions of the existing <C-hjkl> mappings that escape to Normal mode (<C-\><C-n>) before running the window command, so leaving a terminal split works the same one-chord way as moving between any other windows. Deliberately not mapping <Esc> to escape terminal mode (the vimrc had this commented out too) - many programs run inside a terminal buffer (claude included) and need to receive a real Escape keypress.
Diffstat (limited to 'neovim/.config/nvim/nvim.log')
0 files changed, 0 insertions, 0 deletions