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
9b336a9d
Commit
9b336a9d
authored
8 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
bindings: group the three search-again shortcuts together
parent
d42f71a2
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
+7
-7
src/global.c
with
7 additions
and
7 deletions
+7
-7
src/global.c
View file @
9b336a9d
...
...
@@ -786,11 +786,16 @@ void shortcut_init(void)
N_
(
"Last Line"
),
IFSCHELP
(
nano_lastline_msg
),
BLANKAFTER
,
VIEW
);
#ifndef NANO_TINY
add_to_funcs
(
do_find_bracket
,
MMAIN
,
N_
(
"To Bracket"
),
IFSCHELP
(
nano_bracket_msg
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
do_research
,
MMAIN
,
whereis_next_tag
,
IFSCHELP
(
nano_whereis_next_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_find_bracket
,
MMAIN
,
N_
(
"To Bracket"
),
IFSCHELP
(
nano_bracket_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_findprevious
,
MMAIN
,
N_
(
"Previous"
),
IFSCHELP
(
nano_findprev_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_findnext
,
MMAIN
,
N_
(
"Next"
),
IFSCHELP
(
nano_findnext_msg
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
do_mark
,
MMAIN
,
N_
(
"Mark Text"
),
IFSCHELP
(
nano_mark_msg
),
TOGETHER
,
VIEW
);
...
...
@@ -930,11 +935,6 @@ void shortcut_init(void)
#ifndef NANO_TINY
add_to_funcs
(
do_savefile
,
MMAIN
,
N_
(
"Save"
),
IFSCHELP
(
nano_savefile_msg
),
BLANKAFTER
,
NOVIEW
);
add_to_funcs
(
do_findprevious
,
MMAIN
,
N_
(
"Previous"
),
IFSCHELP
(
nano_findprev_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_findnext
,
MMAIN
,
N_
(
"Next"
),
IFSCHELP
(
nano_findnext_msg
),
BLANKAFTER
,
VIEW
);
#endif
#ifndef DISABLE_HISTORIES
...
...
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