From d8c464a0fa8884e457d27c4f3ba2bc5ab364cc5b Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 16 May 2026 07:50:56 +0800 Subject: [PATCH] vim-patch:77b8a12: runtime(doc): Update 'softtabstop' documentation (#39806) closes: vim/vim#20218 https://github.com/vim/vim/commit/77b8a12f8249a2f87cc2b20d8a4279da6bf5b11a Co-authored-by: Jonathan Demme --- runtime/doc/usr_30.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/doc/usr_30.txt b/runtime/doc/usr_30.txt index f9e1b2eb84..6cf2061111 100644 --- a/runtime/doc/usr_30.txt +++ b/runtime/doc/usr_30.txt @@ -531,9 +531,9 @@ they do when using only tab characters. Vim 5.4 introduced the 'softtabstop' option. On top of the (hard) tab stops used to display the horizontal tab characters in the text, Vim adds extra soft tab stops dedicated only to the cursor. When 'softtabstop' is set to a -positive value, and the key will push the cursor to the next soft tab +positive value, the key will push the cursor to the next soft tab stop. Vim will insert the correct combination of tab characters and spaces to -make the effect visually. Likewise pressing will have the cursor try to +achieve this effect. Likewise pressing will have the cursor try to reach the nearest soft tab stop. The following example uses `:set softtabstop=4`