Commit graph

415 commits

Author SHA1 Message Date
Akin Sowemimo
ed6c92d670 ci(tests): fix test command arguments 2023-03-25 23:03:18 +00:00
Akin Sowemimo
50f58a0624 ci(tests): use minimal init.lua for tests 2023-03-25 22:21:44 +00:00
Maddison Hellstrom
0aa936445b
feat: support z-index option for floating windows (#418) 2023-03-25 08:31:52 +00:00
Akin Sowemimo
9a595ba699 ci(github): add issue template 2023-03-16 09:25:08 +00:00
akinsho
c8e982ad27 style(format): run stylua 2023-03-12 18:19:51 +00:00
Akin Sowemimo
711ad5f5c4 ci(formatting): specify stylua version 2023-03-12 18:19:34 +00:00
Akin Sowemimo
94986c39c0 tests(terminal): skip flaky test 2023-03-12 18:17:52 +00:00
Akin Sowemimo
4789fa2c37 chore(formatting): run formatting on yaml 2023-03-12 18:12:09 +00:00
Akin
bfb7a7254b
feat(terminal): add mechanism to fetch last focused terminal (#411)
This is useful for plugins like flatten.nvim where you (read: I) want to be able to check if the last toggled terminal was a float and if not not bother re-opening it
2023-03-12 09:57:45 +00:00
Akin Sowemimo
fd63194901 test(terminal): increase wait time for flaky test 2023-03-11 15:28:54 +00:00
Akin Sowemimo
a104063215 tests(terminal): fix broken test
There is no need to assert the first argument of the method which is the
terminal itself only that the real arguments are correct
2023-03-11 15:24:08 +00:00
Akin Sowemimo
2b04ce185c docs(README): remove assets from the repository
Long overdue removing heavy image assets that don't need to be in the
repo proper
2023-03-11 13:03:00 +00:00
Akin Sowemimo
d745f4aa3e refactor(toggle): allow calling toggle with no args
Before passing in an argument of zero was required, this was a very old
behaviour caused by having to define the toggleterm command in viml
which defaulted to passing zero to the command. It's long since not
actually been necessary so this remove this artificial requirement
2023-03-11 13:03:00 +00:00
Melker Ulander
98e15df2c8
feat!: switch persist_mode to false (#410)
by default toggleterm will now remember what mode you were last in when leaving a terminal
2023-03-10 21:02:37 +00:00
akinsho
31d38d1139 chore(ci): auto generate docs 2023-02-26 09:52:27 +00:00
Decipher-CS
861c1cf9a5
docs: fix typos (#404) 2023-02-26 09:51:59 +00:00
akinsho
1f47ea9cda chore(ci): auto generate docs 2023-02-22 19:24:34 +00:00
trkwyk
4188d58bad
docs(README): fix arg typos in the lazy installation example (#403) 2023-02-22 19:24:07 +00:00
akinsho
ecf9dacccb chore(ci): auto generate docs 2023-02-20 18:10:19 +00:00
adrian5
8ab9079018
docs(README): add example mapping for wincmd (#355) 2023-02-20 18:09:51 +00:00
akinsho
0701a1b1ec chore(ci): auto generate docs 2023-02-20 18:05:09 +00:00
Akin Sowemimo
442a0b149e docs(README): add lazy installation instructions
And add links to all package managers
2023-02-20 18:04:11 +00:00
Akin Sowemimo
359f06d1f4 chore(terminal): use package annotation over private 2023-02-20 17:59:52 +00:00
akinsho
57f3d489e1 chore(ci): auto generate docs 2023-02-20 17:36:53 +00:00
Stevan Milic
a5638b2206
feat: restore terminal view on smart toggle (#399)
A continuation of #397 where the idea is taken a bit further, and a complete terminal view is being toggled instead of just the last toggled terminal. When working with the terminals you often want to save your complete view that you've been working on, instead of just closing terminals one by one, and opening them up (again) one by one. There's already a utility mapping that let's you open and close all of your terminals, but this doesn't take into consideration what was previously opened. Therefore to make smart_toggle even smarter we could save the current terminal view, and then open it up the next time it is triggered.

In order to achieve this functionality we could keep a list of terminals that were closed, and use it to go over the list to open them on next smart toggle.
2023-02-20 17:36:22 +00:00
akinsho
557664818f chore(ci): auto generate docs 2023-02-17 12:17:21 +00:00
Stevan Milic
42438b3042
feat: open last toggled term on smart toggle (#397) 2023-02-17 12:16:53 +00:00
Akin Sowemimo
7f3ab9d214 ci(test): fix testing workflow 2023-02-17 11:13:59 +00:00
akinsho
19aad0f41f chore(ci): auto generate docs 2023-02-02 17:27:16 +00:00
TornaxO7
a8e09cb55f
doc(README): fix vim plug installation instructions (#387) 2023-02-02 17:26:46 +00:00
Jędrzej Boczar
a54e6c471c
fix: add missing self:on_create() to Terminal:spawn() (#378) 2023-01-13 09:53:57 +00:00
akinsho
528d637574 chore(ci): auto generate docs 2023-01-12 10:30:11 +00:00
Ramojus Lapinskas
8f0f4b982d
docs(README): change comment for shading_factor key in setup (#375)
* fix(README): change comment for shading_factor key in setup

* fix typo
2023-01-12 10:29:43 +00:00
ksk0
8c12749d74
feat: "row" and "col" can be given as function (#343) (#347)
Co-authored-by: koske <dkoscic@riteh.hr>
2023-01-12 10:27:55 +00:00
Kas
b02a1674bd
fix: include double colon pattern for autocmds on Windows (#351)
Co-authored-by: kas <exactly-one-kas@users.noreply.github.com>
2022-12-09 13:37:51 +00:00
Gnik
3ba683827c
feat: add desc property to key mappings (#337) 2022-11-03 11:42:44 +00:00
akinsho
8f302c9a05 chore(ci): auto generate docs 2022-10-26 22:05:01 +00:00
Uy Ha
fa5646fd35
feat(terminal): add on_create function (#335)
This allows a user to specify a function to be run the first time a terminal is created
2022-10-26 23:04:07 +01:00
Daniel Schwabeneder
2a787c426e
fix(terminal): fix scroll_bottom (#307) (#319) 2022-09-18 22:44:50 +01:00
akinsho
e1e159c1b2 chore(ci): auto generate docs 2022-09-16 07:22:24 +00:00
Antonio Costa
8951f7efa6
docs(README): change cmd on closing the terminal in example (#313) 2022-09-16 08:21:50 +01:00
Akin
1be9b5aada
fix(ui): check all tabs for current terminal's window (#309)
When seeing if the terminal is toggled open, but only check current win for the current terminals windows when finding windows to see if any terminals are open.
2022-09-14 11:36:18 +01:00
akinsho
5e393e558f chore(ci): auto generate docs 2022-09-05 15:42:01 +00:00
Akin Sowemimo
6dcdad0b98 feat(term): add autochdir to track nvim's CWD
When neovim changes it's directory, change that of the terminal when
next it is opened

fixes #304
2022-09-05 16:41:28 +01:00
akinsho
7807aeb09d chore(ci): auto generate docs 2022-09-05 07:37:41 +00:00
Akin Sowemimo
23245f9d1a docs(README): link to powershell tips in the wiki 2022-09-05 08:37:05 +01:00
akinsho
7abb25ec91 chore(ci): auto generate docs 2022-09-03 15:04:33 +00:00
Akin Sowemimo
8d44db6923 fix(tabs): allow persisting mode for tab terminals
relates #286
2022-09-03 16:03:54 +01:00
Akin Sowemimo
7636142162 docs(README): fix typos and update tag docs 2022-09-03 16:03:54 +01:00
ObserverOfTime
b402342665
style: add colon to terminal selection prompt (#301) 2022-09-01 13:52:35 +01:00