Skip to content

Commit 7323ba0

Browse files
committed
docs: document commandt.setup.position
1 parent bb84d4c commit 7323ba0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

doc/command-t.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ passed to |commandt.setup()|:
512512
- |commandt.setup.match_listing.icons|
513513
- |commandt.setup.match_listing.truncate|
514514
- |commandt.setup.never_show_dot_files|
515+
- |commandt.setup.position|
515516
- |commandt.setup.prompt.border|
516517
- |commandt.setup.root_markers|
517518
- |commandt.setup.scanners.max_files|
@@ -604,6 +605,14 @@ Note that when set to `'end'` (or `false`), no ellipsis is shown.
604605
},
605606
})
606607

608+
*commandt.setup.position*
609+
string (default: 'center')
610+
611+
When set to "center" (the default), renders the Command-T match listing
612+
centered within the main editor area. When set to "top", the match listing is
613+
rendered at the top. When set to "bottom", the match listing is rendered at
614+
the bottom, with the prompt underneath the results.
615+
607616
*commandt.setup.never_show_dot_files*
608617
boolean (default: false)
609618

@@ -972,6 +981,9 @@ main (not yet released) ~
972981
now accept "winborder" as a possible value, instructing Command-T to use the
973982
value of the |'winborder'| setting to control the border appearance
974983
(https://github.com/wincent/command-t/issues/436).
984+
- fix: make the default borders and prompt title render correctly when
985+
|commandt.setup.position| is set to `'bottom'`
986+
(https://github.com/wincent/command-t/issues/436).
975987

976988
6.1 (14 June 2025) ~
977989

0 commit comments

Comments
 (0)