diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-14 00:32:45 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2020-02-14 00:36:20 +0900 |
commit | 4fb410a93c6567cfae1a72e1581a3bd193cd307a (patch) | |
tree | 10c47a7b8375588f9eabed5bd5052f5e9672b675 /doc | |
parent | 5e1db9fdd31257bc807348983dd3ae690056e5e0 (diff) |
[vim] More border styles
e.g.
let g:fzf_layout = { 'window': { 'width': 0.4, 'height': 1, 'xoffset': 0, 'border': 'right' } }
let g:fzf_layout = { 'window': { 'width': 0.4, 'height': 1, 'xoffset': 1, 'border': 'left' } }
let g:fzf_layout = { 'window': { 'width': 1, 'height': 0.5, 'yoffset': 1, 'border': 'top' } }
let g:fzf_layout = { 'window': { 'width': 1, 'height': 0.5, 'yoffset': 0, 'border': 'bottom' } }
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fzf.txt | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/fzf.txt b/doc/fzf.txt index 1a586919..399969ee 100644 --- a/doc/fzf.txt +++ b/doc/fzf.txt @@ -1,4 +1,4 @@ -fzf.txt fzf Last change: February 6 2020 +fzf.txt fzf Last change: February 14 2020 FZF - TABLE OF CONTENTS *fzf* *fzf-toc* ============================================================================== @@ -220,10 +220,11 @@ following options are allowed: - `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]] + - `yoffset` [float default 0.5 range [0 ~ 1]] + - `xoffset` [float default 0.5 range [0 ~ 1]] - `highlight` [string default `'Comment'`]: Highlight group for border - - `border` [string default `rounded`]: Border style (`rounded` | `sharp` | `horizontal`) + - `border` [string default `rounded`]: Border style + - `rounded` / `sharp` / `horizontal` / `vertical` / `top` / `bottom` / `left` / `right` FZF#WRAP @@ -315,7 +316,8 @@ Starting fzf in a popup window~ " - xoffset [float default 0.5 range [0 ~ 1]] " - yoffset [float default 0.5 range [0 ~ 1]] " - highlight [string default 'Comment']: Highlight group for border - " - border [string default 'rounded']: Border style ('rounded' | 'sharp' | 'horizontal') + " - border [string default 'rounded']: Border style + " - 'rounded' / 'sharp' / 'horizontal' / 'vertical' / 'top' / 'bottom' / 'left' / 'right' let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6 } } < |