Merge pull request #13 from toupeira/patch-1
Check for empty $TMUX variable
This commit is contained in:
commit
639184fbb5
@ -9,7 +9,7 @@
|
|||||||
" Docs on mapping fast escape codes in vim
|
" Docs on mapping fast escape codes in vim
|
||||||
" http://vim.wikia.com/wiki/Mapping_fast_keycodes_in_terminal_Vim
|
" http://vim.wikia.com/wiki/Mapping_fast_keycodes_in_terminal_Vim
|
||||||
function! WrapForTmux(s)
|
function! WrapForTmux(s)
|
||||||
if !exists('$TMUX')
|
if empty('$TMUX')
|
||||||
return a:s
|
return a:s
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user