@@ -94,7 +94,7 @@ vimux from automatically sending a return after the command.
94
94
VimuxSendText~
95
95
96
96
Send raw text to the runner pane. This command will not open a new pane if one
97
- does not already exist. You will need to use VimuxOpenRunner to do this. This
97
+ does not already exist. You will need to use | VimuxOpenRunner | to do this. This
98
98
command can be used to interact with REPLs or other interactive terminal
99
99
programs that are not shells.
100
100
@@ -104,7 +104,7 @@ programs that are not shells.
104
104
VimuxSendKeys~
105
105
106
106
Send keys to the runner pane. This command will not open a new pane if one
107
- does not already exist. You will need to use VimuxOpenRunner to do this. You
107
+ does not already exist. You will need to use | VimuxOpenRunner | to do this. You
108
108
can use this command to send keys such as "Enter" or "C-c" to the runner pane.
109
109
110
110
------------------------------------------------------------------------------
@@ -113,7 +113,7 @@ VimuxOpenRunner~
113
113
114
114
This will either open a new pane or use the nearest pane and set it as the
115
115
vimux runner pane for the other vimux commands. You can control if this command
116
- uses the nearest pane or always creates a new one with g:VimuxUseNearest
116
+ uses the nearest pane or always creates a new one with g:| VimuxUseNearest |
117
117
118
118
------------------------------------------------------------------------------
119
119
*VimuxPromptCommand*
@@ -295,9 +295,9 @@ change the behavior of Vimux in just the current buffer.
295
295
4.1 g:VimuxHeight~
296
296
297
297
The percent of the screen the split pane Vimux will spawn should take up.
298
-
298
+ >
299
299
let g:VimuxHeight = "40"
300
-
300
+ <
301
301
Default: "20"
302
302
303
303
------------------------------------------------------------------------------
@@ -307,9 +307,9 @@ Default: "20"
307
307
The default orientation of the split tmux pane. This tells tmux to make the
308
308
pane either vertically or horizontally, which is backward from how Vim handles
309
309
creating splits.
310
-
310
+ >
311
311
let g:VimuxOrientation = "h"
312
-
312
+ <
313
313
Options:
314
314
"v": vertical
315
315
"h": horizontal
@@ -318,13 +318,13 @@ Default: "v"
318
318
319
319
------------------------------------------------------------------------------
320
320
*VimuxConfiguration_use_nearest*
321
- 4.3 g:VimuxUseNearest
321
+ 4.3 g:VimuxUseNearest~
322
322
323
323
Use existing pane or window (not used by vim) if found instead of running
324
324
split-window.
325
-
325
+ >
326
326
let g:VimuxUseNearest = 1
327
-
327
+ <
328
328
Default: 1
329
329
330
330
------------------------------------------------------------------------------
@@ -333,9 +333,9 @@ Default: 1
333
333
334
334
The keys sent to the runner pane before running a command. By default it sends
335
335
`q ` to make sure the pane is not in scroll-mode and `C- u ` to clear the line.
336
-
336
+ >
337
337
let g:VimuxResetSequence = ""
338
-
338
+ <
339
339
Default: "q C-u"
340
340
341
341
------------------------------------------------------------------------------
@@ -345,9 +345,9 @@ Default: "q C-u"
345
345
The string presented in the vim command line when Vimux is invoked. Be sure
346
346
to put a space at the end of the string to allow for distinction between
347
347
the prompt and your input.
348
-
348
+ >
349
349
let g:VimuxPromptString = ""
350
-
350
+ <
351
351
Default: "Command? "
352
352
353
353
------------------------------------------------------------------------------
@@ -356,9 +356,9 @@ Default: "Command? "
356
356
357
357
The type of view object Vimux should use for the runner. For reference, a
358
358
tmux session is a group of windows, and a window is a layout of panes.
359
-
359
+ >
360
360
let g:VimuxRunnerType = "window"
361
-
361
+ <
362
362
Options:
363
363
"pane": for panes
364
364
"window": for windows
@@ -367,14 +367,16 @@ Default: "pane"
367
367
368
368
------------------------------------------------------------------------------
369
369
*VimuxRunnerName*
370
- 4.7 g:VimuxRunnerName
370
+ 4.7 g:VimuxRunnerName~
371
371
372
372
Setting the name for the runner. Works for panes and windows. This makes the
373
373
VimuxRunner reusable between sessions. Caveat is, all your instances (in the
374
- same session/window) use the same window.
374
+ same session/window) use the same window.
375
375
376
+ Caution: It is probably best not to mix this with | VimuxCloseOnExit | .
377
+ >
376
378
let g:VimuxRunnerName = "vimuxout"
377
-
379
+ <
378
380
Default: ""
379
381
380
382
------------------------------------------------------------------------------
@@ -383,9 +385,9 @@ Default: ""
383
385
384
386
The command that Vimux runs when it calls out to tmux. It may be useful to
385
387
redefine this if you're using something like tmate.
386
-
388
+ >
387
389
let g:VimuxTmuxCommand = "tmate"
388
-
390
+ <
389
391
Default: "tmux"
390
392
391
393
------------------------------------------------------------------------------
@@ -395,13 +397,13 @@ Default: "tmux"
395
397
Allows addtional arguments to be passed to the tmux command that opens the
396
398
runner. Make sure that the arguments specified are valid depending on whether
397
399
you're using panes or windows, and your version of tmux.
398
-
400
+ >
399
401
let g:VimuxOpenExtraArgs = "-c #{pane_current_path}"
400
-
401
- Default: "tmux "
402
+ <
403
+ Default: ""
402
404
403
405
------------------------------------------------------------------------------
404
- VimuxExpandCommand
406
+ * VimuxExpandCommand*
405
407
4.10 g:VimuxExpandCommand~
406
408
407
409
Should the command given at the prompt via VimuxPromptCommand be expanded
@@ -411,9 +413,22 @@ Unfortunately expand() only expands % (etc.) if the string starts with that
411
413
character. So the command is split at spaces and then rejoined after
412
414
expansion. With this simple approach things like "%:h/test.xml" are not
413
415
possible.
414
-
416
+ >
415
417
let g:VimuxExpandCommand = 1
418
+ <
419
+ Default: 0
416
420
421
+ ------------------------------------------------------------------------------
422
+ *VimuxCloseOnExit*
423
+ 4.11 g:VimuxCloseOnExit~
424
+
425
+ Set this option to `1 ` or `v: true ` to tell vimux to close the runner when you quit
426
+ vim.
427
+
428
+ Caution: It is probably best not to mix this with | VimuxRunnerName | .
429
+ >
430
+ let g:VimuxCloseOnExit = 1
431
+ <
417
432
Default: 0
418
433
419
434
==============================================================================
0 commit comments