272 Commits

Author SHA1 Message Date
Will Hopkins
7d1aef462a
feat: add LIST_READ event 2024-01-01 22:36:35 -08:00
Rosen Stoyanov
aaff5f01e0
feat: Add current_file to UI_CREATE 2023-12-28 17:14:21 +02:00
Rosen Stoyanov
8124e73eed
refactor: Call UI_CREATE after setting buffer contents 2023-12-28 17:14:21 +02:00
NStefan002
e9db6eeb6e test: add nvim_feedkeys test 2023-12-26 19:52:24 +01:00
ThePrimeagen
11b6751d54
Merge pull request #446 from ThePrimeagen/command_on_nav
feat: extensions for navigating to harpooned files
2023-12-26 11:46:08 -07:00
mpaulson
8a35d8c762 chore: format 2023-12-26 11:37:25 -07:00
mpaulson
6f6b1d1d1f feat: extensions for navigating to harpooned files 2023-12-26 11:36:07 -07:00
Hugh Carroll
2036830e37 Remove extra blank line. 2023-12-17 07:20:38 +00:00
Hugh Carroll
747169f07a Add tabedit to split and vsplit plus a little refactor. 2023-12-17 07:02:51 +00:00
name_snrl
023e6c8baf fix: in UI:select_menu_item close the menu first 2023-12-17 06:35:29 +00:00
ThePrimeagen
362cdc869f
Merge pull request #419 from ktsujister/window-related-settings
feat(ui): accept title_pos option if specified
2023-12-14 20:37:08 -07:00
mpaulson
2b7cade25a chore: lint 2023-12-14 20:23:23 -07:00
mpaulson
1f36517870 fix: #410 addresses the pr, which is requesting a feature 2023-12-14 20:23:23 -07:00
mpaulson
9e869aae22 feat: harpoon extensions 2023-12-14 20:23:23 -07:00
Kei Tsuji
c327a70ab4 added title_pos field to HarpoonToggleOptions 2023-12-14 13:04:58 +09:00
Kei Tsuji
938c85d438 accept title_pos option if specified 2023-12-14 13:04:18 +09:00
Will Hopkins
fba563ab50
fix: check list.config.encode, default save_on_toggle to false 2023-12-11 19:43:23 -08:00
mpaulson
bb806acff3 chore: fmt 2023-12-10 19:41:58 -07:00
mpaulson
34d2e6be9a feat: makefile + acwrite. 2023-12-10 19:41:48 -07:00
mpaulson
fa73cd0c33 feat: lua opts for border 2023-12-10 19:41:21 -07:00
Will Hopkins
8b30c9cdcc
refactor: remove uses of deprecated buf_set_option 2023-12-10 16:53:45 -08:00
mpaulson
e89299bc1a feat: moving things around so that i can start emit out more data 2023-12-10 16:02:39 -07:00
mpaulson
d043904d1e chore: lint 2023-12-10 12:51:03 -07:00
mpaulson
5a3195e7bf fix: some basic fixes for buffer type 2023-12-10 12:49:40 -07:00
ThePrimeagen
a31438258a
Merge pull request #387 from mwishoff/harpoon2
Add feature to disable/enable wrapping on next/prev when cycling through harpoon lists.
2023-12-09 20:04:54 -07:00
mwishoff
038bde660c Renamed harpoon_wrap to ui_nav_wrap. 2023-12-09 15:14:05 -08:00
ThePrimeagen
0243fdc13f
Merge pull request #395 from willothy/event-moved
feat: introduce move event
2023-12-09 13:46:02 -07:00
Will Hopkins
ac9b93984f
feat: add sync_on_ui_close option 2023-12-09 12:16:48 -08:00
Will Hopkins
90dc9599e3
feat: introduce reorder event 2023-12-09 03:53:21 -08:00
Will Hopkins
61742f45c8
fix: only dispatch remove evt if an item is actually removed
by removeAt
2023-12-09 00:16:58 -08:00
Will Hopkins
3d469c19ca
fix: check displayed list for removed values
fix: properly pass list item tables to events in `resolve_displayed`
2023-12-09 00:07:12 -08:00
Will Hopkins
ad621a6656
refactor: move call to sync into resolve_displayed 2023-12-08 13:11:09 -08:00
Will Hopkins
10c79d8f4f
fix(data): mark list as seen if found in Harpoon:list() 2023-12-08 13:06:56 -08:00
Will Hopkins
515bdd0058
fix(ui): comprehensive UI fixes
- fix: sync on UI save (#377)
- fix: ensure buf is loaded on select (#383)
- fix: remove angle brackets from Escape mapping rhs (#379, #385)
- fix: incorrect function call in run_toggle_command (#379)
- refactor: use buf-local autocmds
- refactor: use Lua API to create BufModifiedSet autocmd

fixes #383, #385, #379, #377, #358
2023-12-07 14:39:43 -08:00
mpaulson
70703d6ce1 fix: harpoon:setup and harpoon.setup now work 2023-12-07 10:34:21 -07:00
mwishoff
4bd2c4c792 Fixing linting and formatting checks. 2023-12-06 16:23:40 -08:00
mwishoff
9ff11a310a Remove debug statements. 2023-12-06 08:42:17 -08:00
mwishoff
c82d3d5e3d Added harpoon_wrap option to default config as true. Reference this option in list:prev and list:next. When true allows prev and next to wrap the harpoon list, when false it will not wrap the harpoon list. 2023-12-06 08:40:47 -08:00
mpaulson
07cca27cf1 feat: better logging for toggle 2023-12-06 07:01:07 -07:00
mwishoff
05edc3ee82 If out_data is empty then write empty json to harpoon.json. Then read it back into out_data. 2023-12-05 18:48:18 -08:00
mpaulson
d8fa264598 logger: max lines to prevent things taking too much memory 2023-12-05 19:20:38 -07:00
mpaulson
f4265232bb small logger changes + spec 2023-12-05 19:18:06 -07:00
mpaulson
e9d18fca95 feat: logging and rename. 2023-12-05 19:02:43 -07:00
mpaulson
c24c7119a2 chore: lint and fmt 2023-12-05 07:37:22 -07:00
mpaulson
23fe6410bc feat: #372 -- configurable fallback width and width ratio 2023-12-05 07:35:01 -07:00
mpaulson
e2e582e776 fix: navigation 2023-12-05 07:28:14 -07:00
Michael Paulson
ec03b3cc4b fix: active list caused nil access error 2023-12-04 17:41:27 -07:00
mpaulson
dfcb8488df fix: tests were breaking due to logging 2023-12-04 12:15:00 -07:00
mpaulson
c53305c2d0 feat: logging more details about how you moved through harpoon 2023-12-04 12:08:28 -07:00
mpaulson
68b3223268 feat: logger 2023-12-04 11:55:53 -07:00