153 Commits

Author SHA1 Message Date
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
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
Alan
0eced8969b refactor: replaced loop for tbl_contains 2021-11-05 16:39:13 +00:00
Alan Ciccotelli
2ed6b3e8ae fix: removed harpoon check from loop, lint/format fix 2021-11-05 12:49:11 +00:00
Alan Ciccotelli
e27f59e938 feat: added excluded_filetypes option to avoid adding unwanted filetypes to the harpoon menu list. 2021-11-04 12:16:17 +00:00
Sebastian Lyng Johansen
212584d281 remove popup.nvim as dependency 2021-10-27 21:46:05 +02:00
mikatpt
70f054764b Change quit binding to use toggle_quick_menu() 2021-10-11 18:44:19 -04:00
mikatpt
99892c60ba Linting 2021-10-11 18:44:06 -04:00
mikatpt
132da0d247 Fix formatting 2021-10-09 18:57:08 -04:00
mikatpt
2225d62eea Add autocmd to quit menu on BufLeave 2021-10-09 13:50:27 -04:00
mikatpt
eb0fc958b4 Add convenience bindings for exiting quick menu 2021-10-07 21:03:37 -04:00
ThePrimeagen
c9a613b4e9
Merge pull request #95 from EthanJWright/master
feat(term): configuration to run command automatically on send
2021-09-22 14:24:28 -06:00
Rishabh Dwivedi
3123335be9 cmd-ui: fixed formatting for stylua 2021-09-05 22:18:49 +05:30
Rishabh Dwivedi
732be7f4be updated luacheckrc and formatting 2021-09-04 20:51:58 +05:30
Rishabh Dwivedi
bfdeafc913 simplified whitespace and breadbutter for logging 2021-09-02 00:01:26 +05:30