192 Commits

Author SHA1 Message Date
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
Rishabh Dwivedi
730dc0c0d2 updated formatting 2021-08-30 04:01:03 +05:30
Rishabh Dwivedi
323027715f harpoon dynamic commands for projects 2021-08-30 02:28:47 +05:30
EthanJWright
7758ef1a0c feat: run command after sending to buffer 2021-08-18 20:19:27 -06:00
ThePrimeagen
d8610fdc12
Merge pull request #92 from trewjames/terminal
feat(term): add clear all functionality for terms
2021-08-09 10:21:55 -06:00
Jesse Leite
a1ce601f66 Hook up save_on_change option to menu buffer. 2021-08-05 23:13:27 -04:00
James Trew
37aa813a67 delete term buffers on clear_all 2021-08-05 09:17:53 -04:00
James Trew
595bbaba29 feat(term): add clear all functionality for terms 2021-08-04 11:04:14 -04:00
anott03
750ac2d9d5 stying via stylua 2021-06-17 14:44:03 -04:00
anott03
1384fabdd5 reverting qflist change 2021-06-17 08:10:19 -07:00
anott03
a0f33c9a37 moving from vim.fn to vim.api where possible
vim.fn functions are vimsciprt, while vim.api functions are lua, so api
functions tend to perform better
2021-06-17 07:36:53 -07:00
ThePrimeagen
65d1b43428
Merge pull request #86 from jonathf/master
custom terminal creation command
2021-06-10 10:26:44 -06:00