We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2adae92 commit 14272f0Copy full SHA for 14272f0
autoload/asyncrun/runner/tmux.vim
@@ -0,0 +1,20 @@
1
+"======================================================================
2
+"
3
+" tmux.vim -
4
5
+" Created by skywind on 2021/12/15
6
+" Last Modified: 2021/12/15 06:52:27
7
8
9
+
10
+" vim: set ts=4 sw=4 tw=78 noet :
11
12
+function! asyncrun#runner#tmux#run(opts)
13
+ if exists('*VimuxRunCommand') == 0
14
+ return asyncrun#utils#errmsg('require benmills/vimux')
15
+ endif
16
+ let cwd = getcwd()
17
+ call VimuxRunCommand('cd ' . shellescape(cwd) . '; ' . a:opts.cmd)
18
+endfunc
19
20
0 commit comments