From 1c8b164c4df7c8260c73564147b0e898c266cf06 Mon Sep 17 00:00:00 2001 From: ~hedy Date: Thu, 2 May 2024 20:56:40 +0800 Subject: [PATCH] docs: Mention including widths in split_command And remove trailing spaces --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48d7095..5339afd 100644 --- a/README.md +++ b/README.md @@ -180,10 +180,12 @@ Pass a table to the setup call with your configuration options. -- `position` will not be considered if `split_command` is non-nil. -- This should be a valid vim command used for opening the split for the -- outline window. Eg, 'rightbelow vsplit'. + -- Width can be included (with will override the width setting below): + -- Eg, `topleft 20vsp` to prevent a flash of windows when resizing. split_command = nil, -- Percentage or integer of columns - width = 25, + width = 25, -- Whether width is relative to the total width of nvim -- When relative_width = true, this means take 25% of the total -- screen width for outline window. @@ -319,7 +321,7 @@ Pass a table to the setup call with your configuration options. -- These keymaps can be a string or a table for multiple keys. -- Set to `{}` to disable. (Using 'nil' will fallback to default keys) - keymaps = { + keymaps = { show_help = '?', close = {'', 'q'}, -- Jump to symbol under cursor.