Commit Graph

253 Commits (master)
 

Author SHA1 Message Date
spike a62c16c8c3 add a mini sleep for slow to start shells (fish omf) 2 years ago
spike 3c0a1708dc fix pane height parameters 2 years ago
Michael van der Kamp 616fcb4799
Merge pull request #215 from mvanderkamp/issue-210-hotfix
Hotfix for issue from PR #210
2 years ago
Michael van der Kamp 2344b96fed Add a guard against queries matching current pane 2 years ago
Michael van der Kamp 076e13b77c Directly return empty string when not using existing runner
- This should have been happening anyway due to a later conditional,
      but may not if tmux changed its behaviour.
2 years ago
Michael van der Kamp 740320b798
Address #212 (#213) 2 years ago
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) 3 years ago
Caleb Maclennan 96a47f7895
ci: Test on older Ubuntu flavor (has tmux 2.x) 3 years ago
Caleb Maclennan 708ce200d5
Merge pull request #190 from jaspertandy/master 3 years ago
jaspertandy a70218b30c Update documentation for g:VimuxCommandShell 3 years ago
jaspertandy 59b1d28f80 Needs no argument rather than a blank argument 3 years ago
jaspertandy 784b2834c7 Preference to allow up-arrow 3 years ago
Caleb Maclennan 29d46f6bc1
Merge pull request #189 from mvanderkamp/autoclose_option 3 years ago
Michael van der Kamp 7d977a2954 Documentation touchups 3 years ago
Michael van der Kamp c4adf57f6e Add documentation for g:VimuxCloseOnExit 3 years ago
Michael van der Kamp 54d24d1694 Add an option to autoclose the runner 3 years ago
Gerhard Hellmann 5b1791673c
Add option to expand VimuxPromptCommand arguments (#166)
Co-authored-by: Gerhard Siegesmund <gerhard.siegesmund@btd.de>
3 years ago
Caleb Maclennan 3bfe0ea285
Fix CI test step name 3 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.
3 years ago
Caleb Maclennan f02fa9c161
Add CI badge for tmux + vim/nvim + vimux check 3 years ago
Caleb Maclennan fb43fcbc16
Add CI workflow to actually test-drive Vimux 3 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.
3 years ago
Caleb Maclennan 9214bf9578
Split PR review from branch check workflows 3 years ago
Caleb Maclennan f293536dd5
docus: Copy edit help docs with fresh link and to remove 1st person 3 years ago
Caleb Maclennan f1c27deeaa
docs: Promote usage links in readme and remove help doc specific copy 3 years ago
Caleb Maclennan cac9d11158
docs: Update dead link and copy edit readme to avoid 1st person 3 years ago
Caleb Maclennan 8cc4fe9678
Merge pull request #183 from mvanderkamp/initialize_settings 3 years ago
Caleb Maclennan f4df4c9b5b
docs: Note settings may be buffer-local 3 years ago
Caleb Maclennan 29c5b39545
Merge branch 'master' into initialize_settings 3 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
3 years ago
Caleb Maclennan 992d525ef9
feat: Make s:tmuxExec (was _VimuxTmux) public VimuxTmux 3 years ago
Caleb Maclennan 566833e291
style: Format each function as a paragraph with no blanks 3 years ago
Caleb Maclennan 43681e9f91
refactor: Simplify script-local private function names 3 years ago
Caleb Maclennan 601749152e
feat: Make s:VimuxOption (was _VimuxOption) public VimuxOption 3 years ago
Michael van der Kamp b13568ea1b
Support buffer-local variants of options 3 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
3 years ago
Caleb Maclennan 5f999f4dc4
Fix variable mismatch looking for previous command 3 years ago
Caleb Maclennan 3a1aad8752
style: Normalize indentation and other whitespace 3 years ago
Caleb Maclennan a2ab8880a1
Allow all commands to be used in chains (#182)
Allow all commands to be used in chains
3 years ago
Caleb Maclennan ed12df373a
Update canonical URL in readme to new org namespace 3 years ago
Caleb Maclennan efe04f05dc
Use more standard suffix for Markdown file 3 years ago
Caleb Maclennan 486ac1bd6e
Add lint badge to README 3 years ago