180 Commits

Author SHA1 Message Date
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
dff4fb13e4
Merge pull request #101 from adgai19/cmd-ui-docs
Added docs for dynamic commands
2021-10-20 23:12:56 -06:00
adgai19
fd806b6797 Added docs for dynamic commands 2021-10-19 13:06:56 +05:30
ThePrimeagen
7bf7929a15
Merge pull request #100 from mikatpt/quit-bindings
Add convenience bindings for exiting quick menu
2021-10-14 10:01:59 -06:00
mikatpt
12bd7baf99 Update README 2021-10-11 18:52:37 -04: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
d5753b4a83 Add line referencing quit mappings in README 2021-10-07 21:20:24 -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
ThePrimeagen
2cd12da243
Merge pull request #97 from RishabhRD/dynamic_commands
harpoon dynamic commands for projects
2021-09-15 08:33:06 -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
7670f8d7a9 fix: add docs 2021-08-18 20:24:03 -06:00
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
ThePrimeagen
df1d9e5a3a
Merge pull request #93 from jesseleite/save-on-change-in-menu
Hook up `save_on_change` option to menu buffer
2021-08-09 10:21:45 -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
ThePrimeagen
1c98945c68
Merge pull request #90 from anott03/fnToAPI
moving from vim.fn to vim.api where possible
2021-07-08 16:30:34 -06: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
Jonathan Feinberg
c3f6755344
fixed formatting 2021-06-04 20:20:05 +02:00
ThePrimeagen
12f7c65913
Merge pull request #87 from rudotriton/buf-scoped-status
Allow statusline marks to differ between windows
2021-06-03 11:27:22 -06:00
Jonathan Feinberg
f1a61debf2
double idx as number and table 2021-05-27 13:37:44 +02:00
Jonathan Feinberg
6dfcc07aa3
custom terminal creation command 2021-05-27 13:18:38 +02:00
Raigo Jerva
843d97f71f
Allow statusline marks to differ between buffers
- vim.fn.bufname() is identical to vim.fn.bufname(vim.fn.bufnr())
2021-05-24 17:11:42 +03:00
ThePrimeagen
55d5d808d6
Merge pull request #84 from DanMargera/installation-instructions
Add requirements missing in installation instructions
2021-05-23 09:56:32 -06:00
DanMargera
22e74ec978 neovim version requirement subheader 2021-05-23 10:46:52 -03:00
DanMargera
4f4b8e67e2 Add requirements to installation instructions 2021-05-21 08:42:30 -03:00
ThePrimeagen
beb361aaf2
Merge pull request #81 from rudotriton/fix-indexing-nils
prevent indexing nil vals in ensure_correct_config
2021-05-12 11:25:44 -06:00
Raigo Jerva
ad6a51d081
revert get_length log changes 2021-05-12 20:08:47 +03:00
ThePrimeagen
f34f3b49f3
Merge pull request #80 from Ind1eMonk3y/master
fix(ui): Sets buffer as 'listed' when navigating
2021-05-12 09:31:02 -06:00
Raigo Jerva
f139d79a75
prevent indexing nil vals in ensure_correct_config 2021-05-12 11:51:13 +03:00
Ind1eMonk3y
cf6cb9bf05 fix(ui): Sets buffer as 'listed' when navigating
According to the documentation for `vim.fn.bufnr` (`:h bufnr`), the
created buffer will have the option 'unlisted' by default.

This means that when navigating to a file, if that file wasn't
previously open, the new buffer won't appear in buffers list.

This fix set the buffer to be 'listed' when navigating.
2021-05-12 00:46:29 +02:00
ThePrimeagen
fae9f7d14b
Merge pull request #78 from ThePrimeagen/nav-fix
fix(ui): Navigation with enter on menu
2021-05-11 10:55:03 -06:00
ThePrimeagen
2374c696d3 chore(lint): ... so much of it 2021-05-11 10:50:53 -06:00
ThePrimeagen
1605603235 Merge branch 'master' of github.com:ThePrimeagen/harpoon 2021-05-11 10:31:44 -06:00
ThePrimeagen
2d37262466
Merge pull request #75 from rudotriton/gh-actions
GH actions
2021-05-11 10:28:18 -06:00
ThePrimeagen
0572fa81d3 fix(ui): Navigation with enter on menu 2021-05-11 10:11:46 -06:00
Raigo Jerva
9a2486de43
Merge branch 'master' into gh-actions 2021-05-11 00:35:41 +03:00