Skip to content
GitLab
Menu
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
58ecc034
Commit
58ecc034
authored
7 years ago
by
Benno Schulenberg
Browse files
Options
Download
Email Patches
Plain Diff
tweaks: change the help-text arrows to triangles, to be more visible
Requested-by:
Brand Huntsman
<
alpha@qzx.com
>
parent
501d05c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/global.c
+12
-12
src/global.c
syntax/nanohelp.nanorc
+1
-1
syntax/nanohelp.nanorc
with
13 additions
and
13 deletions
+13
-13
src/global.c
View file @
58ecc034
...
...
@@ -1162,17 +1162,17 @@ void shortcut_init(void)
add_to_sclist
(
MMOST
,
"^F"
,
0
,
do_right
,
0
);
#ifdef ENABLE_UTF8
if
(
using_utf8
())
{
add_to_sclist
(
MMOST
,
"
\xE2\x
86
\x
9
0
"
,
KEY_LEFT
,
do_left
,
0
);
add_to_sclist
(
MMOST
,
"
\xE2\x
8
6\x
92
"
,
KEY_RIGHT
,
do_right
,
0
);
add_to_sclist
(
MSOME
,
"^
\xE2\x
86
\x
9
0
"
,
CONTROL_LEFT
,
do_prev_word_void
,
0
);
add_to_sclist
(
MSOME
,
"^
\xE2\x
8
6\x
92
"
,
CONTROL_RIGHT
,
do_next_word_void
,
0
);
add_to_sclist
(
MMOST
,
"
\xE2\x
97
\x
8
0
"
,
KEY_LEFT
,
do_left
,
0
);
add_to_sclist
(
MMOST
,
"
\xE2\x
9
6\x
b6
"
,
KEY_RIGHT
,
do_right
,
0
);
add_to_sclist
(
MSOME
,
"^
\xE2\x
97
\x
8
0
"
,
CONTROL_LEFT
,
do_prev_word_void
,
0
);
add_to_sclist
(
MSOME
,
"^
\xE2\x
9
6\x
b6
"
,
CONTROL_RIGHT
,
do_next_word_void
,
0
);
#ifdef ENABLE_MULTIBUFFER
add_to_sclist
(
MMAIN
,
"M-
\xE2\x
86
\x
9
0
"
,
ALT_LEFT
,
switch_to_prev_buffer
,
0
);
add_to_sclist
(
MMAIN
,
"M-
\xE2\x
8
6\x
92
"
,
ALT_RIGHT
,
switch_to_next_buffer
,
0
);
add_to_sclist
(
MMAIN
,
"M-
\xE2\x
97
\x
8
0
"
,
ALT_LEFT
,
switch_to_prev_buffer
,
0
);
add_to_sclist
(
MMAIN
,
"M-
\xE2\x
9
6\x
b6
"
,
ALT_RIGHT
,
switch_to_next_buffer
,
0
);
#endif
#ifndef NANO_TINY
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"M-
\xE2\x
8
6\x
91
"
,
ALT_UP
,
do_findprevious
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"M-
\xE2\x
8
6\x
93
"
,
ALT_DOWN
,
do_findnext
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"M-
\xE2\x
9
6\x
b2
"
,
ALT_UP
,
do_findprevious
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"M-
\xE2\x
9
6\x
bc
"
,
ALT_DOWN
,
do_findnext
,
0
);
#endif
}
else
#endif
...
...
@@ -1192,10 +1192,10 @@ void shortcut_init(void)
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"^N"
,
0
,
do_down_void
,
0
);
#ifdef ENABLE_UTF8
if
(
using_utf8
())
{
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"
\xE2\x
8
6\x
91
"
,
KEY_UP
,
do_up_void
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"
\xE2\x
8
6\x
93
"
,
KEY_DOWN
,
do_down_void
,
0
);
add_to_sclist
(
MMAIN
|
MBROWSER
,
"^
\xE2\x
8
6\x
91
"
,
CONTROL_UP
,
do_prev_block
,
0
);
add_to_sclist
(
MMAIN
|
MBROWSER
,
"^
\xE2\x
8
6\x
93
"
,
CONTROL_DOWN
,
do_next_block
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"
\xE2\x
9
6\x
b2
"
,
KEY_UP
,
do_up_void
,
0
);
add_to_sclist
(
MMAIN
|
MHELP
|
MBROWSER
,
"
\xE2\x
9
6\x
bc
"
,
KEY_DOWN
,
do_down_void
,
0
);
add_to_sclist
(
MMAIN
|
MBROWSER
,
"^
\xE2\x
9
6\x
b2
"
,
CONTROL_UP
,
do_prev_block
,
0
);
add_to_sclist
(
MMAIN
|
MBROWSER
,
"^
\xE2\x
9
6\x
bc
"
,
CONTROL_DOWN
,
do_next_block
,
0
);
}
else
#endif
{
...
...
This diff is collapsed.
Click to expand it.
syntax/nanohelp.nanorc
View file @
58ecc034
...
...
@@ -4,7 +4,7 @@
syntax "nanohelp"
# Key combos:
color cyan "\^[]4-8A-Z^\_
←→↑↓
]" "[
←→↑↓
]" "(\^|M-)Space" "\<M-." "\<F1?[0-9]"
color cyan "\^[]4-8A-Z^\_
◀▶▲▼
]" "[
◀▶▲▼
]" "(\^|M-)Space" "\<M-." "\<F1?[0-9]"
color cyan "\<(Tab|Enter|Ins|Del|Bsp|Up|Down|Left|Right|Home|End|PgUp|PgDn)\>"
# Quoted indicators:
...
...
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