Michael van der Kamp
3daa0e91f0
Support tmux's target-pane and target-window syntax for finding an existing runner ( #210 )
2 years ago
Matthias Bilger
89604a4464
Merge pull request #198 from mvanderkamp/responsive_autoclose
...
Allow resetting the VimuxCloseOnExit option
3 years ago
Michael van der Kamp
028897b6fb
Allow resetting the VimuxCloseOnExit option
...
Instead of paying attention to the value when starting up, check the
option's value at close.
3 years ago
Matthias Bilger
031cc6208e
Merge pull request #202 from mvanderkamp/issue_201
...
Use same height and orientation arguments for opening and toggling panes
3 years ago
Samuel Walladge
853646aef3
Abort with an error if run outside tmux session ( #204 )
...
Otherwise, the command sent will run in a different and likely unexpected tmux session.
3 years ago
Michael van der Kamp
55a470dc0d
Use same height and orientation arguments for opening and toggling panes
3 years ago
Michael van der Kamp
a1650d5f9b
Use abort for all function declarations ( #196 )
...
See:
`:help func-abort`
`:help except-compat`
3 years ago
John Bredall
ee0dfae330
Fix VimuxTogglePane ( #195 )
3 years ago
Caleb Maclennan
ee3075ad30
ci: Test on unreleased NeoVIM development builds ( #193 )
4 years ago
Caleb Maclennan
96a47f7895
ci: Test on older Ubuntu flavor (has tmux 2.x)
4 years ago
Caleb Maclennan
708ce200d5
Merge pull request #190 from jaspertandy/master
4 years ago
jaspertandy
a70218b30c
Update documentation for g:VimuxCommandShell
4 years ago
jaspertandy
59b1d28f80
Needs no argument rather than a blank argument
4 years ago
jaspertandy
784b2834c7
Preference to allow up-arrow
4 years ago
Caleb Maclennan
29d46f6bc1
Merge pull request #189 from mvanderkamp/autoclose_option
4 years ago
Michael van der Kamp
7d977a2954
Documentation touchups
4 years ago
Michael van der Kamp
c4adf57f6e
Add documentation for g:VimuxCloseOnExit
4 years ago
Michael van der Kamp
54d24d1694
Add an option to autoclose the runner
4 years ago
Gerhard Hellmann
5b1791673c
Add option to expand VimuxPromptCommand arguments ( #166 )
...
Co-authored-by: Gerhard Siegesmund <gerhard.siegesmund@btd.de>
4 years ago
Caleb Maclennan
3bfe0ea285
Fix CI test step name
4 years ago
Caleb Maclennan
9dd1b68b59
Merge pull request #187 from preservim/test
...
Add CI workflow to actually test-drive Vimux
This is fairly primitive, but it's a start. At least we will know if a PR makes some egregious error that makes basic functionality die. In the future we should probably write some small test scripts and verify the contents of panes with some sort of content capture for true unit regression testing, but a pass/fail grade that we don't explode is better than no testing.
4 years ago
Caleb Maclennan
f02fa9c161
Add CI badge for tmux + vim/nvim + vimux check
4 years ago
Caleb Maclennan
fb43fcbc16
Add CI workflow to actually test-drive Vimux
4 years ago
Caleb Maclennan
1b38911c40
Disallow chaining VimuxRunCommand and VimuxPromptCommand
...
Fixes #185
Vim does not allow escaping some characters in commands that can be
chained. In particular bars are disallowed and double quotes begin code
comments. Both of these things are regular features in shell command
strings.
I'm disallowing chaining for the two commands that take shell commands
as arguments so they can be used sensibly again. One solution to allow
this might be to have a ...Bar version of each. It might also be
possible to work around this with `:call` and functions instead of
commands.
4 years ago
Caleb Maclennan
9214bf9578
Split PR review from branch check workflows
4 years ago
Caleb Maclennan
f293536dd5
docus: Copy edit help docs with fresh link and to remove 1st person
4 years ago
Caleb Maclennan
f1c27deeaa
docs: Promote usage links in readme and remove help doc specific copy
4 years ago
Caleb Maclennan
cac9d11158
docs: Update dead link and copy edit readme to avoid 1st person
4 years ago
Caleb Maclennan
8cc4fe9678
Merge pull request #183 from mvanderkamp/initialize_settings
4 years ago
Caleb Maclennan
f4df4c9b5b
docs: Note settings may be buffer-local
4 years ago
Caleb Maclennan
29c5b39545
Merge branch 'master' into initialize_settings
4 years ago
Caleb Maclennan
576b24c7a0
Cleanup public/private API split & coding style ( #184 )
...
* feat: Make s:VimuxOption (was _VimuxOption) public VimuxOption
* refactor: Simplify script-local private function names
* style: Format each function as a paragraph with no blanks
* feat: Make s:tmuxExec (was _VimuxTmux) public VimuxTmux
4 years ago
Caleb Maclennan
992d525ef9
feat: Make s:tmuxExec (was _VimuxTmux) public VimuxTmux
4 years ago
Caleb Maclennan
566833e291
style: Format each function as a paragraph with no blanks
4 years ago
Caleb Maclennan
43681e9f91
refactor: Simplify script-local private function names
4 years ago
Caleb Maclennan
601749152e
feat: Make s:VimuxOption (was _VimuxOption) public VimuxOption
4 years ago
Michael van der Kamp
b13568ea1b
Support buffer-local variants of options
4 years ago
Michael van der Kamp
748b54b885
Define options once at startup
...
This also removes a couple of "getter" functions that were being used to
look up options and fall back to their defaults
4 years ago
Caleb Maclennan
5f999f4dc4
Fix variable mismatch looking for previous command
4 years ago
Caleb Maclennan
3a1aad8752
style: Normalize indentation and other whitespace
4 years ago
Caleb Maclennan
a2ab8880a1
Allow all commands to be used in chains ( #182 )
...
Allow all commands to be used in chains
4 years ago
Caleb Maclennan
ed12df373a
Update canonical URL in readme to new org namespace
4 years ago
Caleb Maclennan
efe04f05dc
Use more standard suffix for Markdown file
4 years ago
Caleb Maclennan
486ac1bd6e
Add lint badge to README
4 years ago
Caleb Maclennan
0e3ebca98b
Add CI job to run vint linter
4 years ago
Caleb Maclennan
bde8b4cb37
Fix vimscript lint errors and add CI linter ( #181 )
...
* Add Vint config file for vimscript linting
* Replace underscore convention with proper script-local scopes
* Prefer single quoted strings
* Use the full option name
* Use robust operators
4 years ago
Caleb Maclennan
c212352f93
Use robust operators
4 years ago
Caleb Maclennan
f589e21472
Use the full option name
4 years ago
Caleb Maclennan
a5a17b8e32
Prefer single quoted strings
4 years ago
Caleb Maclennan
e6fb662bf1
Replace underscore convention with proper script-local scopes
4 years ago