Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sodium
Manage
Activity
Members
Labels
Plan
Issues
29
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
sodium
Commits
88f55176
Unverified
Commit
88f55176
authored
6 years ago
by
Jeremy Soller
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #86 from jonathanKingston/arrow-keys
Adding in support for arrow keys in normal mode for moving.
parents
865c0578
509df59d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/core/exec.rs
+4
-4
4 additions, 4 deletions
src/core/exec.rs
with
4 additions
and
4 deletions
src/core/exec.rs
+
4
−
4
View file @
88f55176
...
...
@@ -83,22 +83,22 @@ impl Editor {
mode
:
InsertMode
::
Insert
,
}));
}
(
Command
(
Normal
),
Char
(
'h'
))
=>
{
(
Command
(
Normal
),
Left
)
|
(
Command
(
Normal
),
Char
(
'h'
))
=>
{
let
left
=
self
.left
(
n
);
self
.goto
(
left
);
mov
=
true
;
}
(
Command
(
Normal
),
Char
(
'j'
))
=>
{
(
Command
(
Normal
),
Down
)
|
(
Command
(
Normal
),
Char
(
'j'
))
=>
{
let
down
=
self
.down
(
n
);
self
.goto
(
down
);
mov
=
true
;
}
(
Command
(
Normal
),
Char
(
'k'
))
=>
{
(
Command
(
Normal
),
Up
)
|
(
Command
(
Normal
),
Char
(
'k'
))
=>
{
let
up
=
self
.up
(
n
);
self
.goto
(
up
);
mov
=
true
;
}
(
Command
(
Normal
),
Char
(
'l'
))
=>
{
(
Command
(
Normal
),
Right
)
|
(
Command
(
Normal
),
Char
(
'l'
))
=>
{
let
right
=
self
.right
(
n
,
true
);
self
.goto
(
right
);
mov
=
true
;
...
...
This diff is collapsed.
Click to expand it.
Stéphane Campinas
@scampi
mentioned in issue
#83
·
6 years ago
mentioned in issue
#83
mentioned in issue #83
Toggle commit list
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment