Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs24-19fa
git_rec_nano
Commits
fd6308d6
Commit
fd6308d6
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: reshuffle a couple of items
parent
1dbebbca
master
feature/match-parens
refactor/readbility
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/global.c
+11
-15
src/global.c
with
11 additions
and
15 deletions
+11
-15
src/global.c
View file @
fd6308d6
...
...
@@ -767,16 +767,25 @@ void shortcut_init(void)
#endif
}
add_to_funcs
(
do_cursorpos_void
,
MMAIN
,
N_
(
"Cur Pos"
),
IFSCHELP
(
nano_cursorpos_msg
),
TOGETHER
,
VIEW
);
#if (!defined(DISABLE_JUSTIFY) && (!defined(DISABLE_SPELLER) || !defined(DISABLE_COLOR)) || \
defined(DISABLE_JUSTIFY) && defined(DISABLE_SPELLER) && defined(DISABLE_COLOR))
/* Conditionally placing this one here or further on, to keep the
* help items nicely paired in most conditions. */
add_to_funcs
(
do_gotolinecolumn_void
,
MMAIN
,
gotoline_tag
,
IFSCHELP
(
nano_gotoline_msg
),
BLANKAFTER
,
VIEW
);
#endif
#ifndef NANO_TINY
add_to_funcs
(
case_sens_void
,
MWHEREIS
|
MREPLACE
,
N_
(
"Case Sens"
),
IFSCHELP
(
nano_case_msg
),
TOGETHER
,
VIEW
);
#endif
#ifdef HAVE_REGEX_H
add_to_funcs
(
regexp_void
,
MWHEREIS
|
MREPLACE
,
N_
(
"Regexp"
),
IFSCHELP
(
nano_regexp_msg
),
TOGETHER
,
VIEW
);
#endif
#ifndef NANO_TINY
add_to_funcs
(
backwards_void
,
MWHEREIS
|
MREPLACE
,
N_
(
"Backwards"
),
IFSCHELP
(
nano_reverse_msg
),
TOGETHER
,
VIEW
);
...
...
@@ -791,20 +800,7 @@ void shortcut_init(void)
#ifndef DISABLE_JUSTIFY
add_to_funcs
(
do_full_justify
,
MWHEREIS
,
fulljustify_tag
,
IFSCHELP
(
nano_fulljustify_msg
),
TOGETHER
,
NOVIEW
);
#endif
add_to_funcs
(
do_cursorpos_void
,
MMAIN
,
N_
(
"Cur Pos"
),
IFSCHELP
(
nano_cursorpos_msg
),
TOGETHER
,
VIEW
);
#if (!defined(DISABLE_JUSTIFY) && (!defined(DISABLE_SPELLER) || !defined(DISABLE_COLOR)) || \
defined(DISABLE_JUSTIFY) && defined(DISABLE_SPELLER) && defined(DISABLE_COLOR))
/* Conditionally placing this one here or further on, to keep the
* help items nicely paired in most conditions. */
add_to_funcs
(
do_gotolinecolumn_void
,
MMAIN
,
gotoline_tag
,
IFSCHELP
(
nano_gotoline_msg
),
BLANKAFTER
,
VIEW
);
#endif
#ifndef DISABLE_JUSTIFY
add_to_funcs
(
do_gotolinecolumn_void
,
MWHEREIS
,
gotoline_tag
,
IFSCHELP
(
nano_gotoline_msg
),
BLANKAFTER
,
VIEW
);
#endif
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help