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
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
29c5b39545
Merge branch 'master' into initialize_settings
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
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
Matthias Bilger
af602e362d
Allow setting of VimuxRunner name to reuse session
4 years ago
Thales Mello
57bbdc4478
Enable tab autocompletion on VimuxPromptOption ( #142 )
4 years ago
Caleb Maclennan
cce8466613
Move the cheese, because it has to move to run
...
As anybody following this might have divined, my testing was flawed and
I was running different code than I was viewing.
4 years ago
Caleb Maclennan
71f28c8296
Merge pull request #174 from mvanderkamp/split-extra-args
4 years ago
Caleb Maclennan
48b541b1a4
Avoid useless space in default empty argument string
4 years ago
Philipp Moers
ef5622f225
Add VimuxClearTerminalScreen ( #178 )
4 years ago
Caleb Maclennan
7f15726b07
Merge pull request #155 from lyuts/check_tmux_binary
4 years ago
Caleb Maclennan
9c05307141
Refactor PR code order to not move cheese
...
With tons of outstanding PRs I don't want to introduce conflicts for no
reason. We can refactor to make the source order more sensible later.
4 years ago
Giuseppe Rota
46377b8ab9
Escape the text sent to tmux
...
Closes #76
4 years ago
Eugene Yunak
1dec7164ca
Use IDs instead of indexes to identify windows and panes ( #110 )
...
...because indexes can change while IDs are constant and unique.
4 years ago
Michael vanderKamp
556a2d692b
Add a VimuxOpenRunner command
5 years ago
Michael vanderKamp
3fdafcfd60
Add VimuxOpenExtraArgs option
5 years ago
lyuts
9f81329f60
Wrap tmux executable detection in a helper function.
...
Function encapsulates executable detection which is needed at vim
startup for checking tmux availability and during actual command
running.
7 years ago
lyuts
0a560ba419
Check tmux binary availability at startup.
...
Updated the plugin to:
- let override the location of tmux executable.
- check tmux executable availability.
7 years ago
lingceng
1b847e6d6a
Fix #57 Escape character "`" before send command
8 years ago
everbot
770ae77092
Fix #133 : escape backslash
9 years ago
Ben Mills
bc11e401f1
Merge pull request #120 from bergman/master
...
VimuxRunCommandInDir: run in subshell
9 years ago
Joakim Bergman
8c332d9919
VimuxRunCommandInDir: run in subshell
...
Fixes a problem where the directory is not restored if the command exits
with a non-zero code.
9 years ago
Pete Yandell
863e813928
Allow configuring which tmux binary to use.
...
This is mostly useful for supporting tmate, which is a fork of tmux that
uses a different command name.
9 years ago
Pawel Palucki
70e16b73f5
escape '$' before sending to tmux
10 years ago
Hendrik Purmann
7b655a7b5c
Going back to formerly active directory after running command
10 years ago
Hendrik Purmann
01c0679223
Added VimuxRunCommandInDir + doc
10 years ago
Melissa Xie
d21337e01a
Check for a predefined command for prompt before executing
...
VimuxPromptCommand was accepting 1 or more arguments instead of 0 or more. Vim
will complain about this despite nargs being set.
10 years ago
Matthias Bilger
a772fce3e2
Removed Debug Output
...
Removed debug output of command which was still in there
10 years ago
Matthias Bilger
d78cd0f8e1
Predefined command option for VimuxPromptCommand
...
Added the possibility to specify a predefined command which
can be edited or completed in the prompt line.
10 years ago
Teoric
e5a9eb74da
:VimuxRunCommand nargs=*, not nargs=2
10 years ago
teoric
3135ab5e30
right number of arguments for :VimuxRunCommand
...
(read docs)
10 years ago
teoric
b437d32c1b
remove exclamation mark
10 years ago
teoric
b60a52d36c
Allow to use VimuxRunCommand as a command
...
use as
:VimuxRunCommand "ls -la"
10 years ago
Alex Ozer
54858144f9
Stop Vimux from spewing garbage text
11 years ago
Ben Mills
cf6b8c08db
Merge pull request #96 from jdavis/patch-1
...
Add documentation for VimuxRunnerType config variable
11 years ago
Alex Ozer
6594afdcd0
Use runner window index when converting to window
11 years ago
Alex Ozer
905e002c81
Add VimuxTogglePane
11 years ago