dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit aa19d32490511875e4b8f4d2702272b1a335423f
parent 058c0b6aae2c9039a0ffa39f1fbc793dec616e29
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon, 25 May 2026 23:02:54 +0900

nvim: add descriptions for terminal split commands

Diffstat:
M.config/nvim/lua/config/keymaps.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua @@ -14,12 +14,12 @@ vim.keymap.set('t', '<C-]>', '<C-\\><C-n>') -- Launch a terminal in a new vertical split, focus it and enter insert mode. vim.keymap.set('n', '<leader>t', '<cmd>vsplit | wincmd l | set nonumber | terminal<CR><cmd>startinsert<CR>', - { noremap = true, silent = true }) + { noremap = true, silent = true, desc = "Launch terminal in vertical split" }) -- Launch a terminal in a new horizontal split, focus it and enter insert mode. vim.keymap.set('n', '<leader>T', '<cmd>split | wincmd j | set nonumber | terminal<CR><cmd>startinsert<CR>', - { noremap = true, silent = true }) + { noremap = true, silent = true, desc = "Launch terminal in horizontal split" }) -- Retain selection on <,>. vim.keymap.set('v', '<', '<gv')