mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-25 14:17:40 +00:00
Remove outdated GVim instruction
The section is no longer relevant since (G)Vim 8 or above has builtin terminal emulator.
This commit is contained in:
parent
723217bdea
commit
984304568d
@ -42,9 +42,6 @@ Note that the environment variables `FZF_DEFAULT_COMMAND` and
|
|||||||
- Customizes fzf colors to match the current color scheme
|
- Customizes fzf colors to match the current color scheme
|
||||||
- `g:fzf_history_dir`
|
- `g:fzf_history_dir`
|
||||||
- Enables history feature
|
- Enables history feature
|
||||||
- `g:fzf_launcher`
|
|
||||||
- (Only in GVim) Terminal emulator to open fzf with
|
|
||||||
- `g:Fzf_launcher` for function reference
|
|
||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
@ -244,30 +241,6 @@ autocmd FileType fzf set laststatus=0 noshowmode noruler
|
|||||||
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
|
\| autocmd BufLeave <buffer> 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)
|
[License](LICENSE)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
30
doc/fzf.txt
30
doc/fzf.txt
@ -10,7 +10,6 @@ FZF - TABLE OF CONTENTS *fzf* *fzf-to
|
|||||||
fzf#wrap
|
fzf#wrap
|
||||||
fzf inside terminal buffer
|
fzf inside terminal buffer
|
||||||
Hide statusline
|
Hide statusline
|
||||||
GVim
|
|
||||||
License
|
License
|
||||||
|
|
||||||
FZF VIM INTEGRATION *fzf-vim-integration*
|
FZF VIM INTEGRATION *fzf-vim-integration*
|
||||||
@ -56,8 +55,7 @@ Note that the environment variables `FZF_DEFAULT_COMMAND` and
|
|||||||
< Configuration >_____________________________________________________________~
|
< Configuration >_____________________________________________________________~
|
||||||
*fzf-configuration*
|
*fzf-configuration*
|
||||||
|
|
||||||
*g:fzf_action* *g:fzf_layout* *g:fzf_colors* *g:fzf_history_dir* *g:fzf_launcher*
|
*g:fzf_action* *g:fzf_layout* *g:fzf_colors* *g:fzf_history_dir*
|
||||||
*g:Fzf_launcher*
|
|
||||||
|
|
||||||
- `g:fzf_action`
|
- `g:fzf_action`
|
||||||
- Customizable extra key bindings for opening selected files in different
|
- 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
|
- Customizes fzf colors to match the current color scheme
|
||||||
- `g:fzf_history_dir`
|
- `g:fzf_history_dir`
|
||||||
- Enables history feature
|
- Enables history feature
|
||||||
- `g:fzf_launcher`
|
|
||||||
- (Only in GVim) Terminal emulator to open fzf with
|
|
||||||
- `g:Fzf_launcher` for function reference
|
|
||||||
|
|
||||||
|
|
||||||
Examples~
|
Examples~
|
||||||
@ -259,29 +254,6 @@ the containing buffer.
|
|||||||
\| autocmd BufLeave <buffer> set laststatus=2 showmode ruler
|
\| autocmd BufLeave <buffer> 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*
|
LICENSE *fzf-license*
|
||||||
==============================================================================
|
==============================================================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user