242 Commits

Author SHA1 Message Date
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
mpaulson
b546ffebf0 feat: borders are now customizable 2023-12-04 10:48:40 -07:00
Arthur McLain
84e2eb79ed feat: link harpoon highlights to default groups 2023-12-04 05:26:50 +01:00
mpaulson
581da797f9 chore: style 2023-12-02 16:01:22 -07:00
Arthur McLain
2d5e3443b7 fix: update highlight groups 2023-12-02 03:48:40 +01:00
Michael Paulson
61406ca0b4 feat: select gets list added to its call. for #350 2023-12-01 15:54:05 -07:00
Michael Paulson
8dd3d909fd test: select with nil 2023-12-01 15:51:50 -07:00
Michael Paulson
c131b4b61b feat: select with nil 2023-12-01 14:47:58 -07:00
Michael Paulson
0db652a612 fix: removed jump_to settings def 2023-12-01 14:13:22 -07:00
Michael Paulson
01bce04637 chore: style 2023-12-01 14:07:55 -07:00
Michael Paulson
1e041f13b1 feat: removed some duplicate tests that are present in the ui. 2023-12-01 13:56:46 -07:00
Michael Paulson
689778b3aa chore: style and lint 2023-12-01 13:45:22 -07:00
Michael Paulson
23fb0002cf fix: broken unit tests 2023-12-01 13:44:59 -07:00
Michael Paulson
a539f664fd fix: save_on_toggle 2023-12-01 13:18:28 -07:00
Zach Lankton
4bb6637130
add self.config default item in remove function 2023-12-01 01:31:23 -05:00
mpaulson
b8d690f098 chore: formatting and lint 2023-11-30 20:43:29 -07:00
mpaulson
7a356bfb12 feat: more extensive read me and add now comes with config ref 2023-11-30 20:42:31 -07:00
mpaulson
588ede1253 chore: lint 2023-11-30 20:14:45 -07:00
mpaulson
574a642204 chore: style 2023-11-30 20:14:10 -07:00
mpaulson
047cd66d6f fix: addresses #346 and #345 2023-11-30 20:12:04 -07:00
mpaulson
574adeb96d fix: small fixes 2023-11-30 20:07:28 -07:00
mpaulson
6522b48a4e fix: wq would cause the editor to exit 2023-11-30 16:06:15 -07:00
mpaulson
d044315c89 fix: closing window 2023-11-30 15:45:25 -07:00
mpaulson
7d5d1415c2 fix: leaving the window now destroys both border and content win 2023-11-30 15:44:07 -07:00
mpaulson
0904ae057f fix: harpoon2 -> harpoon 2023-11-30 14:28:53 -07:00
mpaulson
c1f49fef43 feat: list adding now works but duplicates are a problem 2023-11-03 16:57:38 -06:00
mpaulson
543f3a16e1 feat: I am going to marry that data and that list 2023-11-03 15:18:57 -06:00
mpaulson
9e60c39057 feat: config add now produces a correct HarpoonFileListItem 2023-11-03 13:34:08 -06:00
mpaulson
2aa20a84da chore: moved types around 2023-11-03 11:57:35 -06:00
mpaulson
ccf5e1cc0a feat: the basic list for harpoons 2023-11-03 11:52:07 -06:00
ThePrimeagen
21d0d1bfa3
Merge pull request #233 from rsynnest/master
Performance improvements
2022-11-23 06:38:27 -07:00
Roland Synnestvedt
61b24a7ce9 Refactor store_offset to avoid JSON reads. Read marks once and pass them through as a variable 2022-11-23 00:48:22 -08:00
Roland Synnestvedt
b220d3056b Convert vim.fn.decode_json to vim.json.decode 2022-11-22 21:49:54 -08:00
Roland Synnestvedt
0e414fdd5f Performance improvement for store_offset(), partial fix for #188 2022-11-21 23:33:44 -08:00
Maximilian Øystå Lloyd
39d71e5c55 Formatted failing files 2022-10-27 21:17:44 +02:00
ThePrimeagen
f4aff5bf9b
Merge pull request #181 from yonikosiner/auto-group
feat: No longer using `vim.cmd` for auto commands, as there is now a lua api
2022-08-09 20:36:36 -06:00
kiyan
6138ff7096 fix(nav-file): bufnr failure when trying to create the buffer
I'm not perfectly sure if this should be upstreamed, but seems like
passing true to bufnr `create` argument now fails.
This fixes this issue by adding a new buffer with bufadd when the buffer
does not exist in the buffer list.
2022-06-05 13:35:53 +02:00
Yoni Kosiner
3417c70a61 fix: stylua, happy now? 2022-05-04 17:36:36 +01:00
Yoni Kosiner
883bf289e2 feat: No longer using vim.cmd for auto commands, as there is now a lua
api
2022-05-04 16:05:18 +01:00
ThePrimeagen
eaff8ac534
Merge pull request #159 from svrana/tmux-goto-pane
Fix tmux gotoTerminal for panes
2022-04-05 14:52:28 -06:00
Shaw Vrana
2b29b87c0a Fix tmux gotoTerminal for panes
gotoTerminal should work for both the pane and window case.
2022-02-16 13:19:39 -08:00
ThePrimeagen
b2bb0d6f2b
Merge pull request #161 from jamestrew/refactor/git-branch-specific-marks
refactor: improve git branch specific marks impl
2022-02-16 12:44:37 -07:00
James Trew
62bde13472 refactor: improve git branch specific marks 2022-02-09 23:02:25 -05:00
David Aguilar
a204fc29df harpoon.ui: handle absolute paths
If the filename is an absolute path then there is no need to
prepend the path with the current directory.

Detect absolute paths and open them as-is.

This fixes harpoon when editing files through symlinks
that point to other places on the filesystem.
2022-02-04 21:40:45 -08:00
David Aguilar
cdb64582dc harpoon.ui: use vim.loop.cwd() to avoid blocking the event loop
Prefer the async API for getting the cwd.
2022-02-03 22:44:20 -08:00