Commit Graph

5 Commits

Author SHA1 Message Date
280c00b272 Add keymap to format whole file with gw
Introduces `<leader>gw` to format the entire buffer using the internal
formatting operator gw. It preserves the current window view (cursor
position and scroll) during the operation.
2026-02-02 20:30:45 +00:00
8b4258408e Add :CheckboxToggle and mapping 2024-07-11 20:09:43 +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
f5ab986397 Set vim.g.mapleader as early as possible 2024-05-14 22:45:20 +01:00
500e786a70 Move mappings.lua to plugin directory 2024-05-14 22:35:41 +01:00