diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-06 10:38:37 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-06 10:40:57 +0900 |
commit | a859aa72ee0ab6e7ae948752906483e468a501ee (patch) | |
tree | 093eaf2b79f26138d31bb968cbe482997609556b /doc | |
parent | 0896036266dc951ac03c451f1097171a996eb412 (diff) |
[vim] Add support for xoffset and yoffset options for popup
Close https://github.com/junegunn/fzf.vim/issues/942
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fzf.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/fzf.txt b/doc/fzf.txt index 51f0d43f..447a6be8 100644 --- a/doc/fzf.txt +++ b/doc/fzf.txt @@ -1,4 +1,4 @@ -fzf.txt fzf Last change: February 3 2020 +fzf.txt fzf Last change: February 6 2020 FZF - TABLE OF CONTENTS *fzf* *fzf-toc* ============================================================================== @@ -217,9 +217,11 @@ When `window` entry is a dictionary, fzf will start in a popup window. The following options are allowed: - Required: - - `width` [float] - - `height` [float] + - `width` [float range [0 ~ 1]] + - `height` [float range [0 ~ 1]] - Optional: + - `xoffset` [float default 0.0 range [0 ~ 1]] + - `yoffset` [float default 0.0 range [0 ~ 1]] - `highlight` [string default `'Comment'`]: Highlight group for border - `rounded` [boolean default `v:true`]: Use rounded border @@ -306,10 +308,12 @@ Starting fzf in a popup window~ *fzf-starting-fzf-in-a-popup-window* > " Required: - " - width [float] - " - height [float] + " - width [float range [0 ~ 1]] + " - height [float range [0 ~ 1]] " " Optional: + " - xoffset [float default 0.5 range [0 ~ 1]] + " - yoffset [float default 0.5 range [0 ~ 1]] " - highlight [string default 'Comment']: Highlight group for border " - rounded [boolean default v:true]: Use rounded border let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } |