commit c3e52f16ba4db399c2a753a0ba1294e043b40caa
parent b725353ab7edae86c391d1f96e713af9caee8ee6
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Tue, 21 Jun 2005 17:44:01 +0000
per Jordi's suggestion, change the toggle for -E/--tabstospaces to
Meta-Q
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2750 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -90,13 +90,13 @@ CVS code -
wint_t type. (DLR, found by Emily Jackson)
- Add the ability to convert typed tabs to spaces using
the -E/--tabstospaces command line options, the "tabstospaces"
- rcfile option, and the toggle Meta-E. Note that this doesn't
- affect tabs entered using verbatim input, and that it's
- disabled when NANO_SMALL is defined. Also, change the short
- command line option for --backupdir from -E to -C. Changes to
- toggle_init(), usage(), do_tab(), main(), nanorc.sample,
- nano.1, nanorc.5, and nano.texi. (DLR, suggested by many
- people)
+ rcfile option, and the toggle Meta-Q (since QBasic did this by
+ default :)). Note that this doesn't affect tabs entered using
+ verbatim input, and that it's disabled when NANO_SMALL is
+ defined. Also, change the short command line option for
+ --backupdir from -E to -C. Changes to toggle_init(), usage(),
+ do_tab(), main(), nanorc.sample, nano.1, nanorc.5, and
+ nano.texi. (DLR, suggested by many people)
- Change the CONSTUPDATE, REVERSE_SEARCH, and SMOOTHSCROLL flags
to the CONST_UPDATE, BACKWARDS_SEARCH, and SMOOTH_SCROLL
flags, respectively. (DLR)
diff --git a/doc/texinfo/nano.texi b/doc/texinfo/nano.texi
@@ -352,9 +352,6 @@ toggles the -B (@code{--backup}) command line flag.
@item Constant Cursor Position Display Toggle (Meta-C)
toggles the -c (@code{--const}) command line flag.
-@item Tabs to Spaces Toggle (Meta-E)
-toggles the -E (@code{--tabstospaces}) command line flag.
-
@item Multiple File Buffers Toggle (Meta-F)
toggles the -F (@code{--multibuffer}) command line flag.
@@ -383,6 +380,9 @@ toggles the -O (@code{--morespace}) command line flag.
toggles whitespace display mode if you have a "whitespace" option in
your .nanorc.
+@item Tabs to Spaces Toggle (Meta-Q)
+toggles the -E (@code{--tabstospaces}) command line flag.
+
@item Smooth Scrolling Toggle (Meta-S)
toggles the -S (@code{--smooth}) command line flag.
diff --git a/src/nano.h b/src/nano.h
@@ -490,7 +490,7 @@ typedef struct syntaxtype {
#define TOGGLE_SMARTHOME_KEY NANO_ALT_H
#define TOGGLE_WHITESPACE_KEY NANO_ALT_P
#define TOGGLE_MORESPACE_KEY NANO_ALT_O
-#define TOGGLE_TABSTOSPACES_KEY NANO_ALT_E
+#define TOGGLE_TABSTOSPACES_KEY NANO_ALT_Q
#endif /* !NANO_SMALL */
#define MAIN_VISIBLE 12