jdhao
9071e045eb
Make * and # search case aware
...
By default, when you press `*` to search word under the cursor, the
option `smartcase` is ignored. This means that if you press `*` when
your cursor is on `The`, the lower case one `the` is also searched.
In this commit, we translate star and # search into normal search so that
'smartcase' option is respected.
2024-08-30 01:01:04 +02:00
jdhao
acc3ed7829
show error message only when no word is under cursor
2024-08-06 05:33:24 +08:00
jdhao
e165276763
fix error when there is no cursor word
2024-08-05 06:23:18 +08:00
jdhao
e92362041c
fix hlslens issue when no pattern is found
...
The captured error message is not correct before.
2023-09-01 21:22:22 +02:00
jdhao
acb423984a
remove vim-asterisk
...
The * can now search selected text by default. The cursor stay feature
can also be simulated.
2022-10-05 12:42:45 +08:00
jdhao
aaeb6a813a
format with stylua
2022-09-10 23:55:22 +08:00
jdhao
8b3610ed3d
update hlslens conf
2022-09-09 19:21:25 +08:00
jdhao
67a322c26c
refactor: use nvim_err_writeln for error msg
2022-09-07 23:35:18 +08:00
jdhao
14860072d0
use local keymap
2022-09-06 21:53:44 +08:00
jdhao
3817525441
update hlslens conf
2022-04-29 22:00:10 +08:00
jdhao
4b4331d394
refactor: simplify hlslens conf
2022-04-29 21:51:23 +08:00
jdhao
aaafaf58d6
fix: error when pressing n/N if pattern not present in buffer
2022-04-29 02:21:05 +08:00
jdhao
1b9bd9ceef
use vim.keymap for key mappings in lua
2022-04-27 23:38:09 +08:00
jdhao
06910bac87
remove plugin vim-cool
...
nvim-hlslens can replace it if calm_down option is enabled.
2021-12-12 17:30:11 +08:00
jdhao
a466339092
update nvim-hlslens settings
2021-12-11 15:46:25 +08:00