172 Commits

Author SHA1 Message Date
mohsen
707049feac Revert "fix: clear cmdline area based on cmdheight (#105)" (#110)
This reverts commit 2254e0b3c8.
2025-08-22 16:00:01 +00:00
Henry Hsieh
2254e0b3c8 fix: clear cmdline area based on cmdheight (#105) 2025-08-06 18:15:10 +00:00
My Arcana
9c6a1dd9af Fix: dim the whole window (#96) 2025-02-26 21:32:23 +03:30
mohsen
8f51ef0270 fix: set the extmarks columns to a smaller value than line length (#82) 2024-08-08 18:50:52 +03:30
mohsen
6d853addd6 fix: Inform user when hop isn't initialized
closes #63
2024-01-01 22:42:14 +03:30
mohsen
df0b5b693e feat: Make virtual cursor configurable 2023-11-08 17:21:22 +00:00
yehuohan
64184f6792 refactor: add jump_target_generator 2023-11-08 17:21:22 +00:00
yehuohan
5c1e406a04 fix: move jump target should offset in row first, then in cell 2023-11-08 17:21:22 +00:00
mohsen
dacac13fa2 refactor: update get_input_pattern 2023-11-08 17:21:22 +00:00
yehuohan
2a9bc73808 refactor: compute unmatched area with LineRange and ColumnRange 2023-11-08 17:21:22 +00:00
mohsen
a1cfb6d1c1 refactor: minor edits 2023-11-08 17:21:22 +00:00
yehuohan
ca2b0ba8be refactor: add move_jump_target to compute hint_offset 2023-11-08 17:21:22 +00:00
yehuohan
c4a59e6ba2 refactor: add jump_regex.lua 2023-11-08 17:21:22 +00:00
yehuohan
cca8aced27 refactor: make hop-treesitter and hop-yank as hop extensions according to hop framework 2023-11-08 17:21:22 +00:00
yehuohan
ae5e9128be refactor: add WindowRow,WindowCol,WindowCell and WindowChar to make position computation less confused 2023-11-08 17:21:22 +00:00
yehuohan
ccf8e08dcc fix:change windows in multi windows mode only it's necessery (#57)
* fix: call winsaveview with nvim_win_call to avoid switching window cursor

* fix: rename buf_handle and win_handle to be consistent with JumpContext
2023-11-01 17:31:37 +00:00
yehuohan
a75b915955 feat: support match mappings (#51)
* feat: support match mappings

* feat: add testcases for match_mappings

* added farsi mapping

* fix hop vertical

---------

Co-authored-by: mohsen <smoka7@hotmail.com>
2023-10-30 05:54:29 +00:00
mohsen
1cbaa79457 fix: don't disable multi windows for terminal mode
fixes #49
2023-10-02 20:33:41 +03:30
mohsen
f2508f415b fix: change yank range to inclusive (#46) 2023-09-19 08:56:35 +00:00
mohsen
5681edd36c feat: Jump to Treesitter nodes (#37) 2023-09-12 11:31:26 +00:00
afterlook
d4f954e8b1 fix: Don't toggle cursorline state (#40)
Due to highlighting changing, phaazon#148 issue is no longer relevant
and any logic related to changing user's cursorline can be removed.

This also fixes any previous bugs that were result of saving hint state
after cursorline was toggled off.

Signed-off-by: afterlook <29754364+afterlook@users.noreply.github.com>
2023-09-12 07:56:27 +00:00
mohsen
88516dde51 fix:check empty buffers
closes #38
2023-08-29 13:14:41 +03:30
mohsen
2d80315010 fix: fix invalid col for before cursor (#35) 2023-08-23 07:29:20 +00:00
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
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
8a54ca52b7 fix:add the cursor position to jump list 2023-06-15 20:39:38 +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
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
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
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
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
aznhe21
0bf9a197a6 fix: exclude current line in hint_vertical 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
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