@@ -63,58 +63,61 @@ Emacs and Vi Insert keybindings
63
63
| Ctr + n | Move down |
64
64
65
65
Vi Normal keybindings
66
- | Key | Event |
67
- | ---| ---|
66
+
67
+ | Key | Event |
68
+ | ------- | ------------------- |
68
69
| Ctr + c | Cancel current line |
69
- | Ctr + l | Clear screen |
70
- | Up | Move menu up |
71
- | Up | Move up |
72
- | Down | Move menu down |
73
- | Down | Move down |
74
- | Left | Move menu left |
75
- | Left | Move left |
76
- | Right | Move menu right |
77
- | Right | Move right |
70
+ | Ctr + l | Clear screen |
71
+ | Up | Move menu up |
72
+ | Up | Move up |
73
+ | Down | Move menu down |
74
+ | Down | Move down |
75
+ | Left | Move menu left |
76
+ | Left | Move left |
77
+ | Right | Move menu right |
78
+ | Right | Move right |
78
79
79
80
Besides the previous keybindings, while in Vi normal mode you can use the classic
80
81
vi mode of executing actions by selecting a motion or an action. The available
81
82
options for the combinations are:
82
83
83
84
Vi Normal motions
84
- | Key | motion |
85
- | ---| ---|
86
- | w | Word |
87
- | d | Line end |
88
- | 0 | Line start |
89
- | $ | Line end |
90
- | f | Right until char |
91
- | t | Right before char |
92
- | F | Left until char |
93
- | T | Left before char |
85
+
86
+ | Key | motion |
87
+ | --- | ----------------- |
88
+ | w | Word |
89
+ | d | Line end |
90
+ | 0 | Line start |
91
+ | $ | Line end |
92
+ | f | Right until char |
93
+ | t | Right before char |
94
+ | F | Left until char |
95
+ | T | Left before char |
94
96
95
97
Vi Normal actions
96
- | Key | action |
97
- | ---| ---|
98
- | d | Delete |
99
- | p | Paste after |
100
- | P | Paste before |
101
- | h | Move left |
102
- | l | Move right |
103
- | j | Move down |
104
- | k | Move up |
105
- | w | Move word right |
106
- | b | Move word left |
107
- | i | Enter Vi insert at current char |
108
- | a | Enter Vi insert after char |
109
- | 0 | Move to start of line |
110
- | ^ | Move to start of line |
111
- | $ | Move to end of line |
112
- | u | Undo |
113
- | c | Change |
114
- | x | Delete char |
115
- | s | History search |
116
- | D | Delete to end |
117
- | A | Append to end |
98
+
99
+ | Key | action |
100
+ | --- | ------------------------------- |
101
+ | d | Delete |
102
+ | p | Paste after |
103
+ | P | Paste before |
104
+ | h | Move left |
105
+ | l | Move right |
106
+ | j | Move down |
107
+ | k | Move up |
108
+ | w | Move word right |
109
+ | b | Move word left |
110
+ | i | Enter Vi insert at current char |
111
+ | a | Enter Vi insert after char |
112
+ | 0 | Move to start of line |
113
+ | ^ | Move to start of line |
114
+ | $ | Move to end of line |
115
+ | u | Undo |
116
+ | c | Change |
117
+ | x | Delete char |
118
+ | s | History search |
119
+ | D | Delete to end |
120
+ | A | Append to end |
118
121
119
122
### Command history
120
123
@@ -712,10 +715,10 @@ layouts as a template. The templates available in nushell are columnar, list or
712
715
description.
713
716
714
717
The columnar menu will show you data in a columnar fashion adjusting the column
715
- number based on the size of the text displayed in your columns.
718
+ number based on the size of the text displayed in your columns.
716
719
717
720
The list type of menu will always display suggestions as a list, giving you the
718
- option to select values using ` ! ` plus number combination.
721
+ option to select values using ` ! ` plus number combination.
719
722
720
723
The description type will give you more space to display a description for some
721
724
values, together with extra information that could be inserted into the buffer.
0 commit comments