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
873f99d9
Commit
873f99d9
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: show "where is next" in the help lines of the file browser
parent
b38b020d
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
-12
src/global.c
with
11 additions
and
12 deletions
+11
-12
src/global.c
View file @
873f99d9
...
...
@@ -727,8 +727,14 @@ void shortcut_init(void)
add_to_funcs
(
do_search
,
MBROWSER
,
whereis_tag
,
IFSCHELP
(
nano_browser_whereis_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_research
,
MBROWSER
,
whereis_next_tag
,
IFSCHELP
(
nano_whereis_next_msg
),
BLANKAFTER
,
VIEW
);
add_to_funcs
(
goto_dir_void
,
MBROWSER
,
N_
(
"Go To Dir"
),
IFSCHELP
(
nano_gotodir_msg
),
BLANKAFTER
,
VIEW
);
N_
(
"Go To Dir"
),
IFSCHELP
(
nano_gotodir_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
total_refresh
,
MBROWSER
,
refresh_tag
,
IFSCHELP
(
nano_browser_refresh_msg
),
BLANKAFTER
,
VIEW
);
#endif
#ifdef ENABLE_HELP
...
...
@@ -1029,16 +1035,6 @@ void shortcut_init(void)
N_
(
"First File"
),
IFSCHELP
(
nano_firstfile_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
do_last_file
,
(
MBROWSER
|
MWHEREISFILE
),
N_
(
"Last File"
),
IFSCHELP
(
nano_lastfile_msg
),
BLANKAFTER
,
VIEW
);
#endif
add_to_funcs
(
discard_buffer
,
MWRITEFILE
,
N_
(
"Discard buffer"
),
IFSCHELP
(
nano_discard_buffer_msg
),
BLANKAFTER
,
NOVIEW
);
#ifdef ENABLE_BROWSER
add_to_funcs
(
do_research
,
MBROWSER
,
whereis_next_tag
,
IFSCHELP
(
nano_whereis_next_msg
),
TOGETHER
,
VIEW
);
add_to_funcs
(
total_refresh
,
MBROWSER
,
refresh_tag
,
IFSCHELP
(
nano_browser_refresh_msg
),
BLANKAFTER
,
VIEW
);
#ifndef NANO_TINY
add_to_funcs
(
do_prev_word_void
,
MBROWSER
,
N_
(
"Left Column"
),
IFSCHELP
(
nano_browser_lefthand_msg
),
TOGETHER
,
VIEW
);
...
...
@@ -1049,7 +1045,10 @@ void shortcut_init(void)
add_to_funcs
(
do_next_block
,
MBROWSER
,
N_
(
"Bottom Row"
),
IFSCHELP
(
nano_browser_bottomrow_msg
),
BLANKAFTER
,
VIEW
);
#endif
#endif
#endif
/* ENABLE_BROWSER */
add_to_funcs
(
discard_buffer
,
MWRITEFILE
,
N_
(
"Discard buffer"
),
IFSCHELP
(
nano_discard_buffer_msg
),
BLANKAFTER
,
NOVIEW
);
#ifndef DISABLE_COLOR
add_to_funcs
(
do_page_up
,
MLINTER
,
...
...
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