diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2014-08-08 03:13:40 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-08-08 03:13:40 +0900 |
| commit | 4313c1c25c7223391e04e0edbf1043b061ee71f1 (patch) | |
| tree | 8ca7d30b22d41cf1cac4da6f6e578fea28d0d457 /plugin/fzf.vim | |
| parent | cc9938d4c9eed9a5e28846b3fb1fcde56d074125 (diff) | |
| download | fzf-4313c1c25c7223391e04e0edbf1043b061ee71f1.tar.gz | |
Revert "[vim] Apply FZF_DEFAULT_{OPTS,COMMAND} when using tmux splits (#87)"
This reverts commit cc9938d4c9eed9a5e28846b3fb1fcde56d074125.
Diffstat (limited to 'plugin/fzf.vim')
| -rw-r--r-- | plugin/fzf.vim | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/plugin/fzf.vim b/plugin/fzf.vim index a6e3761d..1b7a5600 100644 --- a/plugin/fzf.vim +++ b/plugin/fzf.vim @@ -149,15 +149,10 @@ function! s:execute(dict, command, temps) endfunction function! s:execute_tmux(dict, command, temps) - let command = a:command - if exists('$FZF_DEFAULT_OPTS') - let command = expand('FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS" ') . command - endif - if exists('$FZF_DEFAULT_COMMAND') - let command = expand('FZF_DEFAULT_COMMAND="$FZF_DEFAULT_COMMAND" ') . command - endif if has_key(a:dict, 'dir') - let command = 'cd '.s:escape(a:dict.dir).' && '.command + let command = 'cd '.s:escape(a:dict.dir).' && '.a:command + else + let command = a:command endif let splitopt = '-v' |
