ThePrimeagen
5a7d3a6ae8
feat(cwd): do not cache the cwd for gitworktrees
2021-04-06 13:16:17 -06:00
Joaquin Hoyos
b0437610ab
create mark with buf_name instead of empty string
2021-03-31 20:50:58 -03: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
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
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
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
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
Asbjørn Håland
aefeb6bc9d
feat(mark): add status method
...
This method can be used to display current mark status in the statusline
2021-03-17 17:22:48 +01:00
Brandon Conway
a889d81937
Use .get_length() to support sparse arrays
2021-03-17 08:56:08 -07:00
Brandon Conway
80ce51f88d
Improve checking if marks exist
2021-03-16 17:52:48 -07:00
Brandon Conway
55d1e99fec
Fix function that was moved to module
2021-03-16 17:36:19 -07:00
Brandon Conway
58ca78c855
Merge branch 'master' into add-file-toggling
2021-03-16 17:33:59 -07:00
ThePrimeagen
61aff8c523
Merge pull request #34 from asbjornhaland/set_current_at
...
feat(mark)!: add set_current_at
2021-03-16 18:28:48 -06:00
Asbjørn Håland
91ffa8ac68
feat(mark)!: add set_current_at
...
BREAKING CHANGE:
- filter_nulls(list) renamed to filter_empty_string(list)
- swap(a, b) removed
- trim() removed
- promote() removed
- promote_to_front() removed
- remove_nils() removed
- shorten_list() removed
Fix #10
2021-03-16 22:12:42 +01:00
Brandon Conway
fc20d9a922
Add file toggling
2021-03-16 10:21:20 -07:00
Brandon Conway
dcf2c80314
Set hidden for harpoon term buffers
2021-03-15 12:16:19 -07:00
Brandon Conway
d8213986e8
Use error instead of print
2021-03-15 11:56:05 -07:00
Brandon Conway
ee9e803ae6
Don't mark nil or "" buffer names
2021-03-15 09:14:43 -07:00
Brandon Conway
57a0ec6e13
add_file should take an optional buf name/id
2021-03-15 09:14:30 -07:00
ThePrimeagen
6655cd9238
Merge pull request #26 from brandoncc/set-filetype-for-menu
...
Set filetype for quick menu
2021-03-15 09:46:31 -06:00
Brandon Conway
df9050d40f
Save changes when closing menu
2021-03-14 21:52:08 -07:00
Brandon Conway
2b83649583
Add dev reloader
2021-03-14 21:46:55 -07:00
Brandon Conway
46e6d1f254
Set filetype for quick menu
2021-03-14 19:24:10 -07:00
Brian Ryall
0b147a2339
fix send command getting right config
2021-03-13 13:58:59 -05:00
ThePrimeagen
1a549418ad
feat(quickfix)
2021-03-11 11:17:32 -07:00
ThePrimeagen
22896b9b15
fix(made-clear): made get_id_or_current_buffer more clear
2021-03-10 08:33:01 -07:00
ThePrimeagen
9bf63b4e3e
fixes(paths): The paths were too unique...
...
I had to normalize the paths due to the fact that sometimes a path to a
file would be absolute or relative to the project depending on how you
opened up the file. To prevent this from creating duplicates in a mark
list, I normalized the path before doing anything.
2021-03-10 08:27:51 -07:00
Raigo Jerva
c2c02e5efe
undefined global mark_config
...
I believe it was meant to swap the values in the same config
2021-03-04 19:27:42 +02:00
Amitav Nott
9b2a06c5ce
feat: floating windows and notifications!
2021-03-03 22:20:14 -05:00
ThePrimeagen
c49043b8da
feat(first-try)
2021-02-28 16:32:11 -07:00
ThePrimeagen
af2b1f9071
look, a commit message class
2021-02-24 18:50:53 -07:00
Asbjørn Håland
b45b04dc57
feat(save): remove dead code to prevent nil value on save
...
`get_config()` is removed and replaced by
`get_term_config()` and `get_mark_config()`
2021-02-23 23:44:48 +01:00
Asbjørn Håland
5c0ab042f9
style: remove trailing whitespace
2021-02-23 23:44:48 +01:00
ThePrimeagen
3ff6f1d6a0
fix(issue-number-4): Like love potion # 9
...
Yes, we did it
2021-02-22 20:36:14 -07:00
ThePrimeagen
322d07be58
fix again nil issues
2021-02-22 11:14:46 -07:00
ThePrimeagen
7106e067cb
fix(officially): Nil gone
2021-02-22 10:42:28 -07:00
ThePrimeagen
92cc92b8e1
fix(logging): Some logging and better initial values
2021-02-22 10:03:48 -07:00
ThePrimeagen
2719d54965
fix: https://github.com/ThePrimeagen/harpoon/issues/4
2021-02-22 09:22:32 -07:00
ThePrimeagen
4dbd024b32
feat(yayayaya): Term and mark are now using configs
2021-02-19 16:24:07 -07:00
ThePrimeagen
4e16fc9026
feat(polar): mutex is about to bork me
2021-02-19 15:39:11 -07:00