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
Maksym Medvied
a7961ac34d
fix: make case_insensitive work even if smartcase is not set ( #101 )
...
https://github.com/smoka7/hop.nvim/pull/76 changed the behavior of
case_insensitive in the following way: now if case_insensitive is set it
only works if ``smartcase`` is set and ``starts_with_uppercase(pat)`` is
true.
This patch makes ``case_insensitive`` work even if ``smartcase`` is not
set (``smartcase`` [is not set by default](
https://neovim.io/doc/user/options.html#'smartcase ')).
Otherwise ``case_insensitive = true`` doesn't work in neovim with
default settings and requires setting ``smartcase = true`` just to make
``case_insensitive = true`` work.
2025-02-26 21:24:03 +03:30
brightsunshine0917
efe58182f7
fix: escape special chars for regex ( #92 ) ( #94 )
...
This escapes `]`, `^`, `-`, and `\` (https://regexper.cn/charclass.html ).
Co-authored-by: brightsunshine0917 <brightsunshine0917@email.email >
2024-12-05 12:55:54 +03:30
Jackson Garner
08ddca7990
fix: Exclude targets under the cursor. #83 ( #87 )
...
Excluding the cursor is now the default. If someone really wants to
include the cursor, they can probably write a distance function that
turns 0 into 0.1 or something like that.
v2.7.2
2024-10-17 21:04:01 +03:30
mohsen
8f51ef0270
fix: set the extmarks columns to a smaller value than line length ( #82 )
v2.7.1
2024-08-08 18:50:52 +03:30
mohsen
036462a345
fix: respect case_insensitive ( #76 )
v2.7.0
2024-05-26 19:34:04 +03:30
Henry Hsieh
6ff23501a1
feat: make hl_mode of hints configurable ( #72 )
...
* feat: add hl_mode to change highlight of hint char
* chore: fix typo in docs
---------
Co-authored-by: mohsen <smoka7@hotmail.com >
2024-04-25 20:42:09 +03:30
Henry Hsieh
059e88e9dc
feat: add windows-list to allow custom window candidates ( #70 )
...
* feat: add windows-list to allow custom window candidates
* fix: always check focusable window
v2.6.0
2024-04-21 10:19:37 +03:30
Henry Hsieh
696c33a328
docs: update help to current implementation ( #71 )
...
* docs: update to current implementation
* docs: add manh_distance and readwise_distance
2024-04-21 07:38:15 +03:30
jack wiseman
824584d499
docs: add options example in lazy.nvim setup ( #68 )
...
* docs: reflect packer setup in lazy style
* Update README.md
Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com >
---------
Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com >
2024-04-20 21:03:19 +03:30
johnlevidy
1b355b0834
feat: allow users to supply custom distance functions #66 ( #67 )
...
* feat: allow users to supply custom distance functions #66
* docs:add the docs and read wise method
---------
Co-authored-by: mohsen <smoka7@hotmail.com >
2024-04-20 21:00:42 +03:30
mohsen
6d853addd6
fix: Inform user when hop isn't initialized
...
closes #63
v2.5.1
2024-01-01 22:42:14 +03:30
mohsen
df0b5b693e
feat: Make virtual cursor configurable
v2.5.0
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
yehuohan
396d755816
refactor: add clip_line_context
2023-11-08 17:21:22 +00:00
mohsen
dacac13fa2
refactor: update get_input_pattern
2023-11-08 17:21:22 +00:00
mohsen
ef78b32ef3
fix: include cursor column when dimming before cursor
2023-11-08 17:21:22 +00:00
yehuohan
fa89b3a6d6
fix: take the first folded line as an empty line
2023-11-08 17:21:22 +00:00
yehuohan
25b2e390e3
refactor: remove MatchContext and make JumpContext thin
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
264b6af907
refactor: add window_spec.lua
2023-11-08 17:21:22 +00:00
yehuohan
7973801b02
refactor: add hop_helpers.lua for tests
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
mohsen
3b982dfa39
fix: Don't override existing highlight definition
2023-11-08 18:39:23 +03:30
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
v2.4.2
2023-11-01 17:31:37 +00:00
yehuohan
275dcbc84e
fix: don't checkout mappings when they're not loaded ( #56 )
v2.4.1
2023-10-31 12:44:02 +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 >
v2.4.0
2023-10-30 05:54:29 +00:00
mohsen
1cbaa79457
fix: don't disable multi windows for terminal mode
...
fixes #49
v2.3.2
2023-10-02 20:33:41 +03:30
mohsen
f2508f415b
fix: change yank range to inclusive ( #46 )
v2.3.1
2023-09-19 08:56:35 +00:00
mohsen
be75e7c596
refactor: don't reinvent table.concat
2023-09-13 14:54:41 +03:30
mohsen
5681edd36c
feat: Jump to Treesitter nodes ( #37 )
v2.3.0
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
v2.2.7
2023-08-29 13:14:41 +03:30
mohsen
2d80315010
fix: fix invalid col for before cursor ( #35 )
v2.2.6
2023-08-23 07:29:20 +00:00
mohsen
877e175669
fix: fix invalid col on empty lines ( #33 )
v2.2.5
2023-08-19 06:46:52 +00:00
mohsen
0b250bf412
fix:don't get current char when searching after cursor
v2.2.4
2023-08-16 21:57:06 +03:30
mohsen
7ae243b66a
chore: remove unneeded action ( #29 )
2023-08-16 17:56:57 +00:00
mohsen
a7f3b49ae1
tests:hop char2
2023-08-16 21:18:18 +03:30
YUANSUYI
541470556b
chore: Update README.md ( #28 )
...
add missing "," in lazy.vim config
2023-08-16 10:05:15 +00:00
Felipe Lema
b1ca61b565
chore: run tests only on files under source directories ( #26 )
...
Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com >
2023-08-12 05:08:42 +00:00
Felipe Lema
f57909611e
chore: update readme ( #25 )
...
Co-authored-by: mohsen <36933074+smoka7@users.noreply.github.com >
2023-08-11 17:53:13 +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
e41c04125f
fix: remove unpack
v2.2.3
2023-07-24 08:28:33 +03:30