Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Enzo Cioppettini
ion
Commits
5a9025af
Commit
5a9025af
authored
5 years ago
by
Michal Siedlaczek
Committed by
Michael Aaron Murphy
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
manual: Update with keybinding and vi prompt
parent
2b1adc9c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
manual/src/SUMMARY.md
+2
-1
2 additions, 1 deletion
manual/src/SUMMARY.md
manual/src/misc/07-keybindings.md
+21
-0
21 additions, 0 deletions
manual/src/misc/07-keybindings.md
manual/src/misc/08-general.md
+0
-0
0 additions, 0 deletions
manual/src/misc/08-general.md
with
23 additions
and
1 deletion
manual/src/SUMMARY.md
+
2
−
1
View file @
5a9025af
...
...
@@ -12,7 +12,8 @@
- [Multi-line Arguments](misc/04-multiargs.md)
- [Multi-line Strings](misc/05-multiline-strings.md)
- [Prompt Function](misc/06-prompt_fn.md)
- [General Tips](misc/07-general.md)
- [Key Bindings](misc/07-keybindings.md)
- [General Tips](misc/08-general.md)
-
[
Variables
](
variables/00-variables.md
)
...
...
This diff is collapsed.
Click to expand it.
manual/src/misc/07-keybindings.md
0 → 100644
+
21
−
0
View file @
5a9025af
# Key Bindings
There are two pre-set key maps available: Emacs (default) and Vi.
You can switch between them with the
`keybindings`
built-in command.
```
keybindings vi
keybindings emacs
```
## Vi Mode Prompt Indicators
In the Vi mode, you can define the displayed indicator for normal and insert modes
with the following variables:
```
$ export VI_NORMAL = "[=] "
$ export VI_INSERT = "[+] "
$ keybindings vi
[+] $
```
This diff is collapsed.
Click to expand it.
manual/src/misc/0
7
-general.md
→
manual/src/misc/0
8
-general.md
+
0
−
0
View file @
5a9025af
File moved
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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