29 Commits

Author SHA1 Message Date
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
c4f555f162 feat:added the command and documentations 2023-06-10 10:43:49 +03:30
mohsen
dd8a4ca9d8 refactor:replace vimscripts with lua 2023-06-08 20:47:24 +03:30
Guangxu Li
2dc28da9ef feat: add new commands for hopping camel case words #155 2022-12-13 11:16:09 +08:00
Dimitri Sabadie
886ef08f38 Rename HopLinePosition -> HopVertical and add doc. 2022-07-05 16:23:59 +02:00
Emmanuel M. Smith
7168620354 feat(HopLine): add new commands for maintaining cursor position 2022-06-22 15:51:54 +02:00
Dimitri Sabadie
4f1acb6666 Merge pull request #221 from lancewl/feature/add-hop-anywhere
Add new HopAnywhere commands
2022-03-18 10:26:32 +01:00
Hsuan-An Weng Lin
cc316d5be7 Add new HopAnywhere commands. #144 2022-01-30 18:26:51 -06:00
Yingcheng Liu
5724b6fe8c Fix neovim version 2022-01-09 20:54:33 -05:00
yehuohan
f37e36d662 Add multi_windows support 2021-12-19 01:08:55 +08:00
Dimitri Sabadie
c1cd8c9383 Fix :HopChar2CurrentLine*. 2021-12-02 16:50:44 +01:00
Tobias Frilling
cb32737bb9 Fix: Typo in vim command definition 2021-11-03 10:22:48 +01:00
Dimitri Sabadie
9314183646 Rewrite all comands in terms of the new API. 2021-10-31 18:22:19 +01:00
Hamid Ghadyani
fcd24e23f3 Add current-line only motion.
- HopChar1Line will only grey out current line and perform the motion
  based on 1 character.
- This PR adds a new field to hint_mode table to track & preform this
  current-line only mode. I couldn't find a better way of doing it
  without doing rather big refactoring of the code base. And it seems
  pull#123 is stalled at the moment.
2021-08-19 12:59:19 -04:00
Iago-lito
8516112c4b Add support for HopLineStart. #106
Implement easy case with no hint-mode state. Blank lines are skipped over.
2021-06-27 11:21:03 +02:00
Dimitri Sabadie
505f3b05a8 Add BC / AC variations of commands; also, doc. 2021-06-19 02:45:48 +02:00
Dimitri Sabadie
92ee9679a6 Add support for highlighting autocommands. 2021-03-14 02:02:24 +01:00
Matts966
08a338abd3 Reset highlighting after loading a new color scheme. #35
Some colorscheme uses hi clear before setting highlights as a standard
way.That leads to hop.nvim's highlights cleared.This commit prevents the
problem by using autocmd ColorScheme that triggered after loading a new
color scheme.
2021-03-07 21:21:18 +09:00
Dimitri Sabadie
b3224bc623 Use underline in matches by default. 2021-03-06 19:23:27 +01:00
Dimitri Sabadie
5823339044 Remove *Virtual commands and update the README. 2021-03-06 16:38:49 +01:00
Dimitri Sabadie
4692a658a6 Add support for extended-marks and jump_on_sole_occurrence. 2021-03-06 16:38:49 +01:00
Dimitri Sabadie
f072264112 Add the visual hop mode.
Relates to #28.
2021-03-03 00:59:14 +01:00
Dimitri Sabadie
843c5a2a33 Add hint_lines. 2021-02-16 00:56:57 +01:00
Dimitri Sabadie
15e307e74e Add support for char1 and char2 modes. 2021-02-11 18:13:25 +01:00
Dimitri Sabadie
d9471b79d7 Rename jump_words() hint_words() and add hint_patterns(). 2021-02-11 17:45:56 +01:00
Dimitri Sabadie
96087cb76a Switch from vroom -> hop.nvim. 2021-02-08 00:25:58 +01:00
Dimitri Sabadie
a09af8d32d Update highlights to make it easier to see packed hints. 2021-02-07 16:33:42 +01:00
Dimitri Sabadie
acd25862b0 Add the :VroomWord command. 2021-02-07 03:25:45 +01:00
Dimitri Sabadie
87d2f62dca Clean up and add premises of help. 2021-02-06 21:48:46 +01:00