You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What inspired me to write vimux was [tslime.vim](https://github.com/kikijump/tslime.vim), a plugin that lets you send input to tmux. While tslime.vim works well, I felt it wasn't optimized for my primary use case which was having a smaller tmux pane that I would use to run tests or play with a REPL.
6
8
@@ -21,143 +23,4 @@ Otherwise download the latest [tarball](https://github.com/benmills/vimux/tarbal
21
23
22
24
## Usage
23
25
24
-
### RunVimTmuxCommand
25
-
Run a system command in a small horizontal split bellow the current pane vim is in. You can optionally pass a second argument to stop vimux from automatically sending a return after the command.
Now, open a clojure file. Let's say your leader is backslash (\). Type \vp, and then type lein repl at the prompt. This opens a tmux split running a REPL. Then, select text or put the cursor on a function and type \vs. This will send it to the REPL and evaluate it. The reason we pass `0` to `RunVimTmuxCommand` is to stop the normal return that is sent to the runner pane and use our own new line so the clojure REPL will evaluate the selected text without adding an extra return. Thanks to @trptcolin for discovering this issue.
125
-
126
-
## Options
127
-
128
-
### VimuxHeight
129
-
Set the percent height of the runner pane opened by `RunVimTmuxCommand`.
130
-
**Default: `"20"`**
131
-
132
-
```viml
133
-
let VimuxHeight = "50"
134
-
```
135
-
136
-
### VimuxOrientation
137
-
Set the default position of the runner pane.
138
-
139
-
**Acceptable Values:**
140
-
`"v"` Vertical
141
-
`"h"` Horizontal
142
-
143
-
**Default: `"v"`**
144
-
145
-
```viml
146
-
let VimuxOrientation = "h"
147
-
```
148
-
149
-
### VimuxUseNearestPane
150
-
Use nearest pane (not used by vim) if found instead of running split-window. Useful if you always have two panes opened and you want Vimux to use the existing one.
151
-
152
-
```viml
153
-
let VimuxUseNearestPane = 1
154
-
```
155
-
156
-
### VimuxResetSequence
157
-
The keys sent to the runner pane before running a command. By default it sends `q` to make sure the pane is not in scroll-mode and `C-u` to clear the line.
158
-
159
-
**Default: `"q C-u"`
160
-
161
-
```viml
162
-
let VimuxResetSequence = ""
163
-
```
26
+
The full documentation is available [online](https://raw.github.com/benmills/vimux/master/doc/vimux.txt) and accessible inside vim `:help vimux`
0 commit comments