commit cdb9b04980ac04ff2df112eb1fe6178ed77b1df6 parent 31ff7ead7327b9c29df0b96c910f1581c2171603 Author: Benno Schulenberg <bensberg@telfort.nl> Date: Thu, 3 Oct 2019 16:38:33 +0200 docs: add two examples of the 'tabgives' command to the sample nanorc Diffstat:
M | doc/sample.nanorc.in | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/doc/sample.nanorc.in b/doc/sample.nanorc.in @@ -261,6 +261,14 @@ # include "@PKGDATADIR@/*.nanorc" +## If <Tab> should always produce four spaces when editing a Python file, +## independent of the settings of 'tabsize' and 'tabstospaces': +# extendsyntax python tabgives " " +# +## If <Tab> should always produce an actual TAB when editing a Makefile: +# extendsyntax makefile tabgives " " + + ## Key bindings. ## See nanorc(5) (section REBINDING KEYS) for more details on this.