Rosen Stoyanov
f5bf980373
feat: Use fugitive for faster branch name resolution
2023-04-08 22:59:55 +03: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
Pranav Rao
decdcd6971
feat(tmux): added configuration option for autoclosing terminals
...
This commit adds a config option so that if the user wants to close all
tmux terminals opened by harpoon on Vim exit, they can.
2021-11-09 16:57:32 -05:00
Pranav Rao
20590f1512
feat(tmux): added extra term cmd manipulation functions to tmux module
...
In the future, these should probably be refactored out into the utils
file beacuse they are the exact same functions as the one in the term
module.
2021-11-09 16:57:32 -05:00
Pranav Rao
45a888ee8a
feat(tmux): added option to use tmux terminals instead of nvim terminals
...
This commit introduces a new module of harpoon, "harpoon.tmux", which
provides several functions for using tmux windows for harpoon terminals.
So far, all the basic features are supported, such as creating and
moving to a new terminal, deleting all terminals, and sending commands
to terminals etc.
2021-11-09 16:57:25 -05:00
ThePrimeagen
8ef4e87598
Merge pull request #112 from acicco/excluded_filetypes_option
...
feat: added excluded_filetypes option to avoid adding unwanted filety…
2021-11-09 08:18:53 -07:00
clbrunet
031cfa6f9c
fix: use <Cmd> instead of ':' in quick menus remaps
...
Quick menus remaps now work even if a user uses a ':' remap.
2021-11-09 08:01:32 +01:00
clbrunet
9571887e57
feat(cmd-ui): add <CR> keymap for selecting menu item
...
The selected command is sent to terminal index got from vim.fn.input
2021-11-07 17:44:46 +01:00
clbrunet
2802a19c89
feat(cmd-ui): add 'q' and '<ESC>' keymaps to close the quick menu
2021-11-07 17:43:03 +01:00
clbrunet
f227419697
refactor(ui): use 'number' option in quick_menu like in cmd-ui
2021-11-07 15:47:04 +01:00