174 Commits

Author SHA1 Message Date
Rosen Stoyanov
41d1a0e793
feat: Make current file more prominent 2023-02-21 14:45:17 +02:00
ptillemans
e4a91c481b normalize filename using vim.fs 2022-12-01 11:38:28 +01: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
ThePrimeagen
00f486e963
Merge pull request #223 from MaximilianLloyd/fix-format-failing
Formatted failing files
2022-11-21 08:59:57 -07:00
Maximilian Øystå Lloyd
39d71e5c55 Formatted failing files 2022-10-27 21:17:44 +02:00
Maximilian Øystå Lloyd
89238b8206 Implement move up for telescope extension 2022-10-01 23:24:58 +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
Pranav Rao
15bf2c65c2 chore(lint): get rid of it, all of it 2022-05-06 12:46:06 -04: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
Kelly Lin
e4d499814c
Fix bug where action_utils was not sourced
Fix bug where action_utils was not sourced which is required for multiselection mark deletion
2022-03-29 10:06:43 +11:00
Kelly Lin
083afaa9e9
Add support for deleting marks when multiselected by picker 2022-03-28 17:10:14 +11: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
Pranav Rao
627be003bf fix(tmux): fix tmux module to comply with latest changes to tmux API 2022-02-03 22:26:19 -05:00
ThePrimeagen
e396483b7c
Merge pull request #98 from aaronhallaert/marks_git_branch
Add mark functionality per git branch
2022-02-03 13:08:16 -07:00
ThePrimeagen
befb9e08d7
Merge pull request #150 from camgraff/feature/tmux_pane_identifiers
Add ability to pass any tmux pane identifier
2022-02-01 08:57:24 -07:00
Aaron Hallaert
accf7ef4ef Change project_key to function 2022-01-24 14:12:01 +01:00
Aaron Hallaert
968b93cf76 Add config to mark git branch 2022-01-24 12:24:47 +01:00
Aaron Hallaert
60167d9b18 Add mark functionality per git branch 2022-01-24 12:22:39 +01:00
Cam Graff
7cf2e20a41 Add ability to pass any tmux pane identifier 2022-01-22 19:27:11 -06:00
Juan Alejandro Bernal
8eda89873c
fixed stylua 2022-01-13 17:39:06 -05:00
Juan Alejandro Bernal
d5031b54b5
fixed inconsistent jumping between similarly named files 2022-01-12 19:42:01 -05:00
Ben Hansske
9a7f7214f2 fix #135 "Attempt to index local 'projects' (a nil value)" 2021-12-03 21:30:32 +01:00
ThePrimeagen
d2b054c487
Merge branch 'master' into master 2021-12-02 08:58:29 -07:00
ThePrimeagen
6424016453
Merge pull request #132 from renerocksai/fix-multi-vimstances
fix #68 marks not saving due to over-writing by multiple vim instances
2021-12-02 08:57:00 -07:00
Raafat Turki
dbfea7713d oops 2021-12-02 04:18:12 +03:00
Raafat Turki
a5a0820876 chore: linting 2021-12-02 04:12:56 +03:00
Rene Schallner
77524e75e3 fixed formatting (stylua) 2021-12-02 01:32:51 +01:00
Rene Schallner
fe5ffd59f7 fix #68 marks not saving due to over-writing by multiple vim instances
As described in #68, the global HarpoonConfig of vim instance 2 does not
get updated if marks in vim instance 1 change, as described by
@freehaha.

This fix remedies the situation by refreshing marks for all other
projects before saving HarpoonConfig to disk.
2021-11-28 20:46:11 +01:00
Lateef Alabi-Oki
906f30dacb
use sorter and previewer from telescope settings 2021-11-26 05:45:46 -05:00
Raafat Turki
e6b71d6586 chore: project_cleanup 2021-11-26 06:27:56 +03:00
ThePrimeagen
0c0b37d065
Merge pull request #103 from pranavrao145/fix-merge-conflict
Add tmux support to Harpoon
2021-11-24 08:40:42 -07:00
Pranav Rao
02e91845bb refactor(cleanup): cleaned up some code in term and tmux modules
Also styled init.lua.
2021-11-23 14:53:14 -05:00
Brian Ryall
8bfbb471ce display row and col in finder window 2021-11-23 09:16:38 -05:00
Brian Ryall
61fe69727b fix: style errors 2021-11-22 16:13:22 -05:00
Brian Ryall
c50c764c5d initial design of moving marks 2021-11-22 15:56:40 -05:00
Brian Ryall
0b13c43c3e fix: formatting errors 2021-11-22 12:46:06 -05:00
Brian Ryall
7d364f8be7 add telescope mark delete 2021-11-22 12:36:14 -05:00
Brian Ryall
0a367e1f4a initial telescope extension 2021-11-22 10:43:34 -05:00
Pranav Rao
51d68e2ec6 fix(tmux): fixed tmux.clear_all function
Using ipairs instead of pairs in this function caused it to stop working
for some use cases.
2021-11-11 18:40:12 -05:00
Pranav Rao
222b984dac
Merge branch 'master' into fix-merge-conflict 2021-11-09 17:07:42 -05:00