23 Commits

Author SHA1 Message Date
14709a12a7 Remove unicode from statusline
Some terminals use more characters than others for to display certain
unicode code points, this resulted the statusline to "leak" past the end
of the line causing characters at the next line to be highlighted
incorrectly.
2025-03-05 10:48:56 +00:00
dc78a25253 Add :DiagnosticToggle command to quickly (dis,en)able diagnositcs 2024-11-22 14:20:59 +00:00
cd5cd3ba69 Update comments in commands.lua 2024-09-21 10:32:18 +01:00
7963c56fd9 Add :Tac command to replace :!tac & be cross-platform 2024-09-21 10:26:46 +01:00
0434fc3ac2 Don't use compdb on Windows since its borked 2024-09-18 10:22:22 +01:00
Kenneth Benzie (Benie)
2cd7d34375 Actually fix restarting the LSP in :BuildDir job callback 2024-08-06 17:29:36 +01:00
d1f83a05b9 Use LspStop and LspStart instead of LspRestart 2024-07-19 20:58:27 +01:00
8b4258408e Add :CheckboxToggle and mapping 2024-07-11 20:09:43 +01:00
Kenneth Benzie (Benie)
aa7da3dfe2 Don't be clever with number/relativenumber in terminals 2024-07-08 14:12:14 +01:00
c3fe8e033a Remove stray print in :Rg command 2024-05-25 23:32:14 +01:00
fcd5cfbd54 Extend :Rg to support visual select mode
Also move away from using the telescope builtin grep for word under
cursor mapping by extending the `:Rg` command to work in the following
circumstances:

* `:Rg text to search for`
* `:Rg` word under cursor
* `'<,'>Rg` visual selection
2024-05-25 11:03:06 +01:00
1996e631a3 Add :PreProcIfWrap command and C/C++ mappings
Quickly wrap a line or range in `#if 0`/`#endif` to quickly disable
compilation of sections of code.
2024-05-25 11:02:57 +01:00
Kenneth Benzie (Benie)
aba1664d09 Cleanup unused arg in statusline implementation 2024-05-24 16:04:23 +01:00
48ad466bd3 Vanquish ftdetect, long live vim.filetype.add() 2024-05-22 21:29:36 +01:00
4499dee3d6 Move statusline.lua to plugin directory 2024-05-22 21:08:27 +01:00
5da8a3c2f6 Move ui.lua to plugin directory 2024-05-14 22:50:55 +01:00
75f9b205bd Move build.lua to plugin directory 2024-05-14 22:45:48 +01:00
f5ab986397 Set vim.g.mapleader as early as possible 2024-05-14 22:45:20 +01:00
4ee7596ffc Move autocmds.lua to plugin directory 2024-05-14 22:42:09 +01:00
19d7ac86f2 Move netrw.lua to plugin directory 2024-05-14 22:41:06 +01:00
3ff031990a Move commands.lua to plugin directory 2024-05-14 22:39:12 +01:00
9de31c4c59 Move settings.lua to plugin directory 2024-05-14 22:36:48 +01:00
500e786a70 Move mappings.lua to plugin directory 2024-05-14 22:35:41 +01:00