summaryrefslogtreecommitdiffstats
path: root/init.lua
Commit message (Collapse)AuthorAgeFilesLines
* feat(cmdline): recursive :find, ripgrep :grep, quiet grep menuThomas Vanbesien4 hours1-0/+7
| | | | | | | | | - path+=** so :find searches subdirectories recursively - grepprg/grepformat drive :grep through ripgrep (--vimgrep --smart-case), with a comment on the -./-uu/-uuu opt-in flags - the auto-completion menu skips grep-family commands while their search-pattern argument is being typed, and dismisses any menu left over from completing the command name
* refactor: remove unused reload_buffer functionThomas Vanbesien5 hours1-11/+0
|
* feat(keymap): open empty vertical split with <M-v>Thomas Vanbesien5 hours1-1/+1
|
* feat(terminal): follow output by default, toggle with GThomas Vanbesien5 hours1-4/+53
| | | | | | | | Terminal buffers track their latest output by default: leaving terminal mode or the window, and re-entering the window, jumps to the bottom (G). Toggle per terminal with G in terminal mode or the :TerminalFollow command; an active follow shows as +T in the statusline.
* refactor(keymap): regroup mappings into clearer sectionsThomas Vanbesien14 hours1-13/+13
| | | | | | | - Split the Miscellaneous grab-bag into Files, Command-line and insert, and Terminal sections - Move the Terminal section last, next to the TermOpen autocmd - Drop the dead `c <C-p>` mapping (overridden by the history map)
* feat(keymap): add terminal i_CTRL-O and tidy command/insert mapsThomas Vanbesien15 hours1-15/+7
| | | | | | | | | - Add <C-o> in terminal mode (t_CTRL-\_CTRL-O): run one normal-mode command then return to the terminal - Retarget command/insert cursor nav to <Left>/<Right> - Prune redundant <Leader>b buffer maps, <M-b> tab-prev and the terminal-mode <M-n> - Add desc to the mappings that were missing one
* style(keymap): keep every mapping on one lineThomas Vanbesien15 hours1-32/+33
| | | | | | Wrap the whole keymap block in stylua ignore markers so each mapping stays on a single line, and extract the terminal <C-r> handler into a named terminal_put_register() function.
* feat(keymap): rework terminal exit and window/tab keymapsThomas Vanbesien15 hours1-31/+10
| | | | | | | | | | | - Make <Esc> the sole way out of terminal mode; add <M-[> to forward a literal <Esc> to the running terminal program - Drop terminal-mode maps that left the mode (<C-6>, <C-\><C-\>, <M-h/j/k/l> window nav) - <M-p> goes to the previous window, <C-w>p to the previous tabpage - <M-n> opens a buffer split, <M-s> a terminal, <M-t> a new tabpage, <M-v> a vertical split - Remove all <Leader>w window mappings
* feat: confirm before quitting with a running terminal jobThomas Vanbesien17 hours1-8/+0
| | | | Remove conflicting `ZZ`, `ZQ` and `ZR` keymaps.
* feat(opt): edit foldcolumnThomas Vanbesien20 hours1-1/+1
|
* feat: enter terminal mode automatically in new terminalThomas Vanbesien24 hours1-0/+4
|
* feat: add terminal short to go to alternate bufferThomas Vanbesien24 hours1-0/+1
|
* refactor: remove textwidth.gitcommit global variableThomas Vanbesien24 hours1-1/+1
|
* misc(nvim): remove netrw pluginThomas Vanbesien6 days1-0/+1
|
* misc(nvim): always show signcolumnThomas Vanbesien6 days1-1/+1
|
* misc(nvim): don't display tab charactersThomas Vanbesien12 days1-1/+1
|
* fix(nvim): rewrite fold plugin and fix text folding while editingThomas Vanbesien2026-06-131-1/+0
|
* misc(nvim): add keymap CTRL+S to save bufferThomas Vanbesien2026-06-121-0/+1
|
* misc(nvim): reformat lua files to 100 char line widthThomas Vanbesien2026-06-121-7/+37
|
* misc(nvim): lua textwidth 120 → 100Thomas Vanbesien2026-06-121-1/+1
|
* refactor(nvim): rewrite the highlight and extended marks pluginsThomas Vanbesien2026-06-121-1/+6
|
* misc(nvim): add python development environmentThomas Vanbesien2026-06-091-1/+1
|
* misc(nvim): remove "file has changed on disk" notificationThomas Vanbesien2026-06-081-8/+0
|
* misc(nvim): add key mappings to move windowsThomas Vanbesien2026-06-071-0/+4
|
* misc(nvim): add Ctrl+K mapping to kill command lineThomas Vanbesien2026-06-071-0/+5
|
* misc(nvim): update key mappingsThomas Vanbesien2026-06-071-2/+2
|
* docs(nvim): commentThomas Vanbesien2026-06-071-1/+1
|
* misc(nvim): edit popup menu heightThomas Vanbesien2026-06-071-1/+1
|
* misc(nvim): comment and reorderThomas Vanbesien2026-06-071-4/+4
|
* misc(nvim): update key mappingsThomas Vanbesien2026-06-071-10/+24
|
* refactor(nvim): make `show_buf_diff_orig()` more robustThomas Vanbesien2026-06-071-5/+18
|
* misc(nvim): remove unused parameterThomas Vanbesien2026-06-071-1/+1
|
* misc(nvim): add keymap to simulate i_CTRL-R in terminal modeThomas Vanbesien2026-06-051-0/+8
|
* fix(nvim): fix backup directoryThomas Vanbesien2026-06-021-1/+1
|
* refactor(nvim): remove unused keymap.set() callsThomas Vanbesien2026-06-021-2/+0
|
* misc(nvim): add keymap for GitBlameThomas Vanbesien2026-06-021-0/+1
|
* misc(nvim): don't start terminal mode automaticallyThomas Vanbesien2026-06-021-10/+0
| | | | | It's annoying because it scrolls to the prompt so I'd rather start insert mode manually.
* refactor(nvim): group vim.pack.add() callsThomas Vanbesien2026-05-291-6/+0
| | | | | This is to avoid getting many prompts when launching nvim and installing the packages initially.
* misc(nvim): add keymap to close current tabpageThomas Vanbesien2026-05-291-0/+1
|
* misc(nvim): prompt user for action when buffer file is edited outside of nvimThomas Vanbesien2026-05-221-7/+20
|
* misc(nvim): add shortcut to create tabpageThomas Vanbesien2026-05-221-0/+2
|
* refactor(nvim): move winbar option and use vim.optThomas Vanbesien2026-05-221-1/+1
|
* refactor(nvim): move updatetime optionThomas Vanbesien2026-05-221-1/+1
|
* refactor(nvim): remove call to winsaveview() when reloading a bufferThomas Vanbesien2026-05-221-2/+0
| | | | The call was redundant, and `winsaveview()` does not save folds.
* misc(nvim): set winbar to show cwd and pathThomas Vanbesien2026-05-221-0/+1
|
* misc(nvim): reload buffer when its file changed on diskThomas Vanbesien2026-05-221-0/+18
| | | | | | | | | | | | | Bump 'updatetime' to 1 second because it affects three things: - swap file save frequency - GitGutter signs update frequency - CursorHold and CursorHoldI trigger frequency 100ms is too high of a frequency. Enable focus events in tmux for nvim 'FocusGained' event, Add two event handlers, one for updating the buffer with `checktime`, another for logging a message when doing so.
* misc(nvim): rounded borders and default bg color for floating windowsThomas Vanbesien2026-05-221-0/+1
|
* refactor(nvim): install vim-gitgutter in 50-git.luaThomas Vanbesien2026-05-201-4/+1
|
* refactor(nvim): install link.vim package in 50-markdown.luaThomas Vanbesien2026-05-201-1/+0
|
* misc(nvim): add shortcut to copy file path to clipboardThomas Vanbesien2026-05-191-0/+1
|