465 Commits

Author SHA1 Message Date
Raigo Jerva
350c7feea4
update logging for init and mark 2021-04-29 00:02:09 +03:00
Raigo Jerva
0b61951167
Merge remote-tracking branch 'upstream/master' into logging-and-various 2021-04-28 12:44:16 +03:00
Raigo Jerva
02f4e77111
Add further logging, fix callbacks
The callbacks are in a nested table, so they weren't actually called. If
there aren't more events then callbacks for "changed" don't need to be
nested in the callbacks table. Alternatively emitChanged() could take an
event name: emit("changed") and run callbacks for a specific event or
take a table of events and run for all, emit({"changed", "navigate"}).
2021-04-28 12:07:32 +03:00
ThePrimeagen
c2500292d3
Merge pull request #64 from Ind1eMonk3y/master
Enhance cursor offset saving/restoring
2021-04-27 12:14:13 -06:00
Raigo Jerva
8a4c443145
Add logging 2021-04-27 20:40:47 +03:00
Ind1eMonk3y
4a83cc866d Enhance cursor offset saving/restoring 2021-04-27 04:11:51 +02:00
ThePrimeagen
317e3a0e34
Merge pull request #62 from CyberGsus/add-plenary-to-readme
Added plenary.nvim as an explicit dependency on docs
2021-04-26 14:35:42 -06:00
Cyber Gsus
3244e34254 Added plenary.nvim as an explicit dependency on docs 2021-04-26 21:47:18 +02:00
ThePrimeagen
467343b944
Merge pull request #60 from asbjornhaland/format_term_cmds
feat(term): add string.format to term cmds
2021-04-21 20:22:31 -06:00
Asbjørn Håland
70d02464bf feat(term): add string.format to term cmds 2021-04-21 21:08:27 +02:00
ThePrimeagen
8b785eafe5
Merge pull request #59 from asbjornhaland/save
fix(mark): move early exit after saving
2021-04-21 08:30:54 -06:00
Asbjørn Håland
d58400e230 fix(mark): move early exit after saving 2021-04-21 14:43:20 +02:00
ThePrimeagen
4f55149303
Merge pull request #58 from ThePrimeagen/save_on_change
Save on change
2021-04-19 13:23:21 -06:00
ThePrimeagen
94763cb387 feat(save): set save upon every change instead on exit.
there has been several times in which I lose my entire mark list because
i am not saving upon change, but instead on end.
2021-04-19 13:22:09 -06:00
ThePrimeagen
d8adc4825f
Merge pull request #57 from rudotriton/master
remove print statement to a nonexistent value
2021-04-14 15:43:47 -06:00
Raigo Jerva
760ba07a77
remove print statement to a nonexistent value 2021-04-14 23:11:42 +03:00
ThePrimeagen
5190f6f9fc feat(readme): First update to the readme 2021-04-14 08:23:46 -06:00
ThePrimeagen
272e1c8ac4 fix(lint): Removed some lint 2021-04-14 07:55:11 -06:00
ThePrimeagen
c90596bb71
Merge pull request #50 from A-Daneel/master
fix(ui): menusave now gets called on menu toggle
2021-04-14 07:51:22 -06:00
Peter Sabel (Zabel)
59bb920a67 fix(ui): menusave now gets called on menu toggle
Not sure if this is the proper way to solve this.
But my moving the son_menu_save call into the closing if-loop it will
get properly called on when closing the menu with toggle_quick_menu().

I think merging this change will resolve issue #49.
2021-04-14 14:25:39 +02:00
ThePrimeagen
0eb1161288
Merge pull request #54 from ThePrimeagen/worktree
feat(worktree): harpoon now works well with worktrees
2021-04-07 14:43:24 -06:00
ThePrimeagen
4548a7a3c9 feat(worktree): harpoon now works well with worktrees 2021-04-07 14:42:36 -06:00
ThePrimeagen
44810f677d
Merge pull request #53 from ThePrimeagen/cwd
feat(cwd): do not cache the cwd for gitworktrees
2021-04-06 13:17:52 -06:00
ThePrimeagen
5a7d3a6ae8 feat(cwd): do not cache the cwd for gitworktrees 2021-04-06 13:16:17 -06:00
ThePrimeagen
50a5784db5
Merge pull request #51 from joacohoyos/master
Fix bug when adding file on previously removed mark
2021-04-01 08:14:25 -06:00
ThePrimeagen
a47beb5d10 Merge branch 'master' of github.com:ThePrimeagen/harpoon 2021-04-01 07:52:21 -06:00
ThePrimeagen
53e10c276e feat(FUNDING!) 2021-04-01 07:51:59 -06:00
Joaquin Hoyos
b0437610ab create mark with buf_name instead of empty string 2021-03-31 20:50:58 -03:00
ThePrimeagen
abb717f174
Merge pull request #46 from jesseleite/customize-menu-window-yayaya
Customizable menu window
2021-03-25 11:24:28 -06:00
Jesse Leite
8e966d6a11 Merge branch 'master' of https://github.com/ThePrimeagen/harpoon into customize-menu-window-yayaya 2021-03-24 21:11:31 -04:00
ThePrimeagen
7ca5c1dbfd credit due 2021-03-24 09:30:31 -06:00
ThePrimeagen
d6c84aafdf
Merge pull request #48 from jesseleite/fix-clearing-config
Fix clearing project config
2021-03-24 09:23:16 -06:00
Jesse Leite
7ca4d07089 Prime does not suck, that much. 2021-03-24 11:15:49 -04:00
Jesse Leite
d207c4cd84 Merge branch 'master' of https://github.com/ThePrimeagen/harpoon into customize-menu-window-yayaya 2021-03-24 10:11:09 -04:00
ThePrimeagen
a002b9cf17
Merge pull request #42 from ThePrimeagen/offsets
Offsets
2021-03-24 08:07:39 -06:00
Jesse Leite
c015ae5b5e Add ability to customize menu window. 2021-03-24 01:44:18 -04:00
ThePrimeagen
2d0cb2aabb
Merge pull request #45 from polarmutex/fix-cache-duplication
fix the config having both expanded and non expanded
2021-03-23 20:38:23 -06:00
Brian Ryall
626105547c fix the config having both expanded and non expanded 2021-03-23 22:29:28 -04:00
ThePrimeagen
d5229fb085 feat(offsets): Harp**n offsets 2021-03-23 10:56:19 -06:00
ThePrimeagen
1158df026f feat(filename): Filename is now an object with row-col offset 2021-03-23 10:36:40 -06:00
ThePrimeagen
7e6711fc0e feat(onthuntoe): READ ME 2021-03-23 09:25:27 -06:00
ThePrimeagen
8d79e5bfb8 feat(updated) 2021-03-23 09:25:05 -06:00
ThePrimeagen
a0817c7271
Merge pull request #35 from brandoncc/extract-finding-marked
Improve checking if marks exist
2021-03-23 09:06:15 -06:00
ThePrimeagen
0e23b5653e
Merge pull request #39 from asbjornhaland/write_quick_menu
feat(ui): add BufWriteCmd to handle ":w" in quick menu
2021-03-23 09:03:51 -06:00
Asbjørn Håland
d0f4ad1e18 fix(ui): set nomodified then modified is set - ensures you always can close the quick_menu 2021-03-23 15:49:06 +01:00
Asbjørn Håland
01996f45f6 fix(ui): set the quick_menu initially to not modified 2021-03-22 19:01:13 +01:00
Asbjørn Håland
c413edb1e8 feat(ui): delete quick_menu buffer on hidden 2021-03-22 18:48:12 +01:00
ThePrimeagen
97e0bf5c14
Merge pull request #41 from Bhanukamax/feature/cycle
Added nav_next and nav_prev functions
2021-03-22 10:12:46 -06:00
Bhanuka
0280f8be12 Added nav_next and nav_prev functions
This allows to cycle through the harpoon marks list
2021-03-21 13:53:16 +05:30
Asbjørn Håland
5e3b5e39f7 feat(ui): add BufWriteCmd to handle ":w" in quick menu
Fix #36
2021-03-18 21:08:25 +01:00