diff options
| author | Marcelo <setanta@gmail.com> | 2025-04-10 17:24:50 -0300 |
|---|---|---|
| committer | Marcelo <setanta@gmail.com> | 2025-04-10 17:24:50 -0300 |
| commit | b86954ad293a7b8328ca0738955db10035acc05a (patch) | |
| tree | b075d19e1109fd26d6136235dcb530d39c17f9f4 /init.lua | |
| parent | 99b56d50b5eeebee345904bc157596fab5de51dd (diff) | |
Search forward a word with `<Leader>n` because `*` is harder.
Diffstat (limited to 'init.lua')
| -rw-r--r-- | init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -61,6 +61,8 @@ end, { desc = "Save all changed buffers" }) -- When I forgot that vim is o insert mode. vim.keymap.set("i", "jj", "<ESC>") +vim.keymap.set("n", "<Leader>n", "*", { desc = "Search forward for the word nearest to the cursor." }) + if vim.fn.has("termguicolors") then vim.o.termguicolors = true end |
