From 984304568dd4759a9a78c6a6907dfea9f8ea4bd1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sat, 8 Jun 2019 23:22:05 +0900 Subject: [PATCH] Remove outdated GVim instruction The section is no longer relevant since (G)Vim 8 or above has builtin terminal emulator. --- README-VIM.md | 27 --------------------------- doc/fzf.txt | 30 +----------------------------- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/README-VIM.md b/README-VIM.md index 7f0d095..4dc8647 100644 --- a/README-VIM.md +++ b/README-VIM.md @@ -42,9 +42,6 @@ Note that the environment variables `FZF_DEFAULT_COMMAND` and - Customizes fzf colors to match the current color scheme - `g:fzf_history_dir` - Enables history feature -- `g:fzf_launcher` - - (Only in GVim) Terminal emulator to open fzf with - - `g:Fzf_launcher` for function reference #### Examples @@ -244,30 +241,6 @@ autocmd FileType fzf set laststatus=0 noshowmode noruler \| autocmd BufLeave set laststatus=2 showmode ruler ``` -GVim ----- - -With the latest version of GVim, fzf will start inside the builtin terminal -emulator of Vim. Please note that this terminal feature of Vim is still young -and unstable and you may run into some issues. - -If you have an older version of GVim, you need an external terminal emulator -to start fzf with. `xterm` command is used by default, but you can customize -it with `g:fzf_launcher`. - -```vim -" This is the default. %s is replaced with fzf command -let g:fzf_launcher = 'xterm -e bash -ic %s' - -" Use urxvt instead -let g:fzf_launcher = 'urxvt -geometry 120x30 -e sh -c %s' -``` - -If you're running MacVim on OSX, I recommend you to use iTerm2 as the -launcher. Refer to the [this wiki page][macvim-iterm2] to see how to set up. - -[macvim-iterm2]: https://github.com/junegunn/fzf/wiki/On-MacVim-with-iTerm2 - [License](LICENSE) ------------------ diff --git a/doc/fzf.txt b/doc/fzf.txt index f6d020c..9d60bf4 100644 --- a/doc/fzf.txt +++ b/doc/fzf.txt @@ -10,7 +10,6 @@ FZF - TABLE OF CONTENTS *fzf* *fzf-to fzf#wrap fzf inside terminal buffer Hide statusline - GVim License FZF VIM INTEGRATION *fzf-vim-integration* @@ -56,8 +55,7 @@ Note that the environment variables `FZF_DEFAULT_COMMAND` and < Configuration >_____________________________________________________________~ *fzf-configuration* - *g:fzf_action* *g:fzf_layout* *g:fzf_colors* *g:fzf_history_dir* *g:fzf_launcher* - *g:Fzf_launcher* + *g:fzf_action* *g:fzf_layout* *g:fzf_colors* *g:fzf_history_dir* - `g:fzf_action` - Customizable extra key bindings for opening selected files in different @@ -68,9 +66,6 @@ Note that the environment variables `FZF_DEFAULT_COMMAND` and - Customizes fzf colors to match the current color scheme - `g:fzf_history_dir` - Enables history feature - - `g:fzf_launcher` - - (Only in GVim) Terminal emulator to open fzf with - - `g:Fzf_launcher` for function reference Examples~ @@ -259,29 +254,6 @@ the containing buffer. \| autocmd BufLeave set laststatus=2 showmode ruler < -GVIM *fzf-gvim* -============================================================================== - -With the latest version of GVim, fzf will start inside the builtin terminal -emulator of Vim. Please note that this terminal feature of Vim is still young -and unstable and you may run into some issues. - -If you have an older version of GVim, you need an external terminal emulator -to start fzf with. `xterm` command is used by default, but you can customize -it with `g:fzf_launcher`. -> - " This is the default. %s is replaced with fzf command - let g:fzf_launcher = 'xterm -e bash -ic %s' - - " Use urxvt instead - let g:fzf_launcher = 'urxvt -geometry 120x30 -e sh -c %s' -< -If you're running MacVim on OSX, I recommend you to use iTerm2 as the -launcher. Refer to the {this wiki page}{3} to see how to set up. - - {3} https://github.com/junegunn/fzf/wiki/On-MacVim-with-iTerm2 - - LICENSE *fzf-license* ==============================================================================