Commit Graph

44 Commits (37f41195e6369ac602a08ec61364906600b771f1)

Author SHA1 Message Date
lingceng 1b847e6d6a Fix #57 Escape character "`" before send command 7 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 9 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 10 years ago
Ben Mills cf6b8c08db Merge pull request #96 from jdavis/patch-1
Add documentation for VimuxRunnerType config variable
10 years ago
Alex Ozer 6594afdcd0 Use runner window index when converting to window 10 years ago
Alex Ozer 905e002c81 Add VimuxTogglePane 10 years ago
Ben Mills 4cea1a1b84 Merge pull request #97 from ton/fix-closing-incorrect-pane
Identify a pane by its window and its pane index
10 years ago
Nate Jones d306d43a59 update zoom to support pane or window 10 years ago
Ton van den Heuvel 8ff22883bd Identify a pane by its window and its pane index
By identifying a pane by both its window and pane index,
VimuxCloseRunner() will always close the correct pane, even in case
VimuxCloseRunner() is called from a Vim instance in a different window
than the current window.
10 years ago
Josh Davis 17358e51ab Should return view name if one is active 11 years ago
Josh Davis ba2b2050b0 Change pane(s) -> view(s) for clarity
Slightly pedantic but it reduces possible confusion.
11 years ago
Kevin Sjöberg 9855936bd1 Fix condition in _VimuxTmuxIndex()
This ensure that we call `_VimuxRunnerType()` instead of
`_VimuxRunnerType`.
11 years ago
Ben Mills 1e30ed8065 Merge pull request #83 from ersatzryan/master
Ability to change runner type
11 years ago
Ryan Glover 7212ae4ee8 Fix finding index to be based on runner type 11 years ago
Ryan Glover aa8a444609 Add ability to change runner type between pane and window 11 years ago
Ryan Glover 49a048e94e Change variable and function names to be pane/window agnostic 11 years ago
cmar 635b800f22 add VimuxZoomRunner() to zoom the runner pane on Tmux 1.8 11 years ago
David Davis 1a0a8abe71 Fix out of range error
Fix the following error. This fixes #72.

E684: list index out of range: 1
E116: Invalid arguments for function match(panes[i], "(active)") == -1
E15: Invalid expression: match(panes[i], "(active)") == -1
11 years ago
benmills 064ca8693a Only escale double quotes. Thanks @pgr0ss 11 years ago
benmills e729607de6 Rewrite vimux using VimL.
This commit also drops the deprecated functions and removes some rarely used
functions such as VimuxClosePanes.
11 years ago
Reza Jelveh 8e091d6d5e allow backticks in commands, also fix potential exploit, of user running untrusted code hidden in some source 11 years ago
Reza Jelveh 51ee1a3c6d fix variable scopes 11 years ago
tonyskn 06d75cb797 Improve close_runner_pane
Do not execute `tmux kill-pane` when a runner pane is not available

Avoids UI glitches when :VimuxCloseRunner is auto-called before exiting
Vim.
12 years ago
benmills d6d88a4fce Focus runner pane when inspecting. 12 years ago
Brian Riddle 8fb2563918 Moved default outside if statement. 12 years ago
John Krueger dd1c213e4d updated from benmills remote master 12 years ago
John Krueger 201964f046 add VimuxPromptString 12 years ago
benmills 908358a09a Escape $ before sending commands to tmux. Fixes #39 12 years ago
benmills 4f13e27deb Allow multi-word session and window names. Fixes #34 12 years ago
Andrew Stiles 539580e5fe Remember autoreturn setting
Create a new variable "_VimTmuxCmdAutoreturn" which remembers the value
of the autoreturn parameter used by the last invocation of
VimuxRunCommand or RunVimTmuxCommand. Use this parameter in the
VimuxRunLastCommand function.
12 years ago
Evan Light e4da4bb5f8 Initial rev plus my scroll up and down commands 12 years ago