224 Commits

Author SHA1 Message Date
mohsen
2d80315010 fix: fix invalid col for before cursor (#35) 2023-08-23 07:29:20 +00:00
mohsen
877e175669 fix: fix invalid col on empty lines (#33) 2023-08-19 06:46:52 +00:00
mohsen
0b250bf412 fix:don't get current char when searching after cursor 2023-08-16 21:57:06 +03:30
Felipe Lema
5c60add246 chore: add ci action to run tests on pull requests
Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com>
2023-08-11 09:04:32 +00:00
mohsen
e41c04125f fix: remove unpack 2023-07-24 08:28:33 +03:30
mohsen
31e0e42e62 refactor!: fix lint errors (#17)
* refactor!: fix lint errors
update deprecated api calls

* refactor!: update minimum nvim version to 9.0
2023-06-22 10:27:28 +00:00
mohsen
0569092d44 fix: out of range on empty lines (#16) 2023-06-21 18:56:11 +00:00
mohsen
26b6195b7a feat:make x_bias configurable 2023-06-17 12:21:43 +03:30
mohsen
8a54ca52b7 fix:add the cursor position to jump list 2023-06-15 20:39:38 +03:30
mohsen
f37744f938 change default hint_type to overlay 2023-06-14 17:36:36 +03:30
mohsen
6197f750e5 fix:match empty lines only on line wise hints 2023-06-14 10:38:48 +03:30
mohsen
77af13fa1f fix:clear highlight namespaces before 2023-06-14 10:36:53 +03:30
mohsen
b5ba588bbf refactor:cleanup init 2023-06-14 09:59:36 +03:30
mohsen
1e346d025b fix:properly select unmatched ranges to dim 2023-06-12 20:49:49 +03:30
mohsen
a29ac72227 fix:do not hint current char 2023-06-12 20:13:26 +03:30
mohsen
37a9742b98 fix:exclude current line in linewise hints 2023-06-12 19:20:07 +03:30
mohsen
292a4abd25 refactor:cleanup jump targets 2023-06-12 17:27:35 +03:30
mohsen
325ac2f34e refactor:cleanup window context 2023-06-12 12:34:49 +03:30
mohsen
d8e495623a Merge branch 'fix-cursor-on-empty-line' 2023-06-10 10:54:03 +03:30
mohsen
c4f555f162 feat:added the command and documentations 2023-06-10 10:43:49 +03:30
mohsen
4f146ebfcf feat:paste in hinted position 2023-06-08 21:09:25 +03:30
mohsen
5edd29ef71 feat:yank the range specified by hop hints 2023-06-08 21:09:25 +03:30
mohsen
dd8a4ca9d8 refactor:replace vimscripts with lua 2023-06-08 20:47:24 +03:30
mohsen
e901f60d2f refactor:added type annotation and minor refactors 2023-06-08 18:21:15 +03:30
mohsen
90e078a825 refactor:update highlights 2023-06-08 15:40:40 +03:30
mohsen
32866676c7 feat:add a config option for user to control dimming unmatched areas 2023-06-07 17:50:50 +03:30
mohsen
74c240cabc feat:show jump hints as inline text 2023-06-07 16:53:39 +03:30
mohsen
ba390f2ee5 chore:added stylua config 2023-06-07 10:22:48 +03:30
mohsen
c35ee631aa Merge branch 'fix-invalid-window-id' 2023-06-07 10:07:45 +03:30
mohsen
4020cee85b Merge pull request #3 from aznhe21/fix-vertical
Fix vertical
2023-06-07 06:13:12 +00:00
mohsen
7a1a5dd881 Merge pull request #5 from yehuohan/feat-excluded-filetypes
Add excluded_filetypes to avoid invalid windows and buffers
2023-06-07 06:10:12 +00:00
mohsen
b488f0352c Merge pull request #4 from guangxu-li/feature/hop-camel-case
feat: add new commands for hopping camel case words
2023-06-07 06:07:35 +00:00
Grazfather
629224ae9c health: Update from deprecated health api 2023-05-17 09:34:43 -04:00
yanshay
f095a9ed49 fix issues when cursor on empty line (#351) 2023-04-08 12:15:09 +03:00
Guangxu Li
2dc28da9ef feat: add new commands for hopping camel case words #155 2022-12-13 11:16:09 +08:00
Kamil Dydo
242322b361 check if window is valid and not floating before labeling 2022-11-10 02:15:53 +01:00
aznhe21
0bf9a197a6 fix: exclude current line in hint_vertical 2022-11-08 23:50:55 +09:00
aznhe21
0b4d639102 feat: add context for additional processing in matches 2022-11-08 23:50:55 +09:00
aznhe21
9eed9b2bef fix: allow empty matches for jump targets 2022-11-08 23:50:55 +09:00
Dimitri Sabadie
68c20cdb59 feat: Lazy load everything. 2022-10-30 16:54:35 +01:00
yehuohan
65ce506384 Add excluded_filetypes to avoid invalid windows and buffers 2022-10-16 00:53:24 +08:00
Dimitri Sabadie
6591b3656b Merge pull request #297 from phaazon/fix-multi-window-floats
Fix quitting in MW when a float is present.
2022-10-09 18:31:05 +02:00
Dimitri Sabadie
ef37a76f87 Cleanup some regexes.
Extract them once instead of compiling them for every visual lines.
2022-10-09 14:05:33 +02:00
Dimitri Sabadie
39a18f21f7 Fix column out of range for HopLine*.
This commit has the disavantage of preventing people from jumping to
empty lines if they have shifted their view. However, I think it’s okay
because we cannot place a hint in a buffer that is not visible, unless
we start hacking around with the text_column thing, and I don’t think
it’s worth it for now.

Fixes #292.
2022-10-09 13:54:53 +02:00
Dimitri Sabadie
5901f0e792 Link HopPreview to IncSearch by default.
That will allow a more consistent style for some colorschemes.
2022-10-09 12:57:24 +02:00
Dimitri Sabadie
a79ad3de18 Merge pull request #148 from BlakeJC94/feature/cursorline-toggle
added a cursorline flag and automatic toggling when entering/exiting hop
2022-10-09 12:50:54 +02:00
Dimitri Sabadie
292298190e Merge pull request #315 from aznhe21/fix-mb
Fix incorrect behavior in multi-byte chars
2022-10-09 12:47:34 +02:00
Dimitri Sabadie
caaccee814 Merge pull request #314 from aznhe21/counted-motion
Support `count`-ed motion
2022-10-09 12:46:22 +02:00
Dimitri Sabadie
b7dd257c4b Merge pull request #311 from itepechi/fix/escape_keys
Fix broken matching when magic chars are included in opts.keys.
2022-10-09 12:44:02 +02:00
Dimitri Sabadie
2c5e2fd430 Merge pull request #300 from terrortylor/feature/user-input
expose get_input_pattern to be called externally
2022-10-09 12:38:13 +02:00