comparison runtime/doc/options.txt @ 34635:5bacfe383131

runtime(doc): Update options.txt Commit: https://github.com/vim/vim/commit/ab01adf7c65b4ee350b402ab3ef1e7dfa5e074f1 Author: Song-Tianxiang <149415622+Song-Tianxiang@users.noreply.github.com> Date: Mon Mar 25 16:31:02 2024 +0100 runtime(doc): Update options.txt closes: https://github.com/vim/vim/issues/14295 Signed-off-by: Song-Tianxiang <149415622+Song-Tianxiang@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Mar 2024 16:45:03 +0100
parents 4c1ae10c4cc9
children 8079960136db
comparison
equal deleted inserted replaced
34634:d3103b075f67 34635:5bacfe383131
1 *options.txt* For Vim version 9.1. Last change: 2024 Mar 11 1 *options.txt* For Vim version 9.1. Last change: 2024 Mar 25
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
8104 8104
8105 Note: Setting 'tabstop' to any other value than 8 can make your file 8105 Note: Setting 'tabstop' to any other value than 8 can make your file
8106 appear wrong in many places, e.g., when printing it. 8106 appear wrong in many places, e.g., when printing it.
8107 The value must be more than 0 and less than 10000. 8107 The value must be more than 0 and less than 10000.
8108 8108
8109 There are four main ways to use tabs in Vim: 8109 There are five main ways to use tabs in Vim:
8110 1. Always keep 'tabstop' at 8, set 'softtabstop' and 'shiftwidth' to 4 8110 1. Always keep 'tabstop' at 8, set 'softtabstop' and 'shiftwidth' to 4
8111 (or 3 or whatever you prefer) and use 'noexpandtab'. Then Vim 8111 (or 3 or whatever you prefer) and use 'noexpandtab'. Then Vim
8112 will use a mix of tabs and spaces, but typing <Tab> and <BS> will 8112 will use a mix of tabs and spaces, but typing <Tab> and <BS> will
8113 behave like a tab appears every 4 (or 3) characters. 8113 behave like a tab appears every 4 (or 3) characters.
8114 This is the recommended way, the file will look the same with other 8114 This is the recommended way, the file will look the same with other