[go: up one dir, main page]

0% found this document useful (0 votes)
481 views3 pages

Helix Cheatsheet

Uploaded by

Sergey Martynov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
481 views3 pages

Helix Cheatsheet

Uploaded by

Sergey Martynov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Helix Keyboard Shortcuts

by HiddenMonkey via cheatography.com/85163/cs/31224/

Mouvement Mouvement (cont) Space mode Changes (cont)

h, Left Move left Ctrl- Save the current f Open file picker ` Set the selected text to
j, Down Move down s selection to the jumplist b Open buffer picker lower case

k, Up Move up k Show docume​ntation for Alt- Set the selected text to


Picker ` upper case
l, Right Move right item under cursor in a
Up, Ctrl-k, Ctrl- Previous entry popup (LSP) i Insert before selection
w Move next word
p
start s Open document symbol a Insert after selection
PageUp, Ctrl-b Page up picker (LSP) (append)
b Move previous
Down, Ctrl-j, Next entry S Open workspace symbol I Insert at the start of the
word start
Ctrl-n picker (LSP) line
e Move next word
PageDown, Page down r Rename symbol (LSP) A Insert at the end of the line
end
Ctrl-f
W Move next WORD a Apply code action (LSP) o Open new line below
Home Go to first selection
end ' Open last fuzzy picker
entry
B Move previous w Enter window mode O Open new line above
End Go to last selection
WORD start p Paste system clipboard
entry
E ove next WORD after selections . Repeat last change
Ctrl-space Filter options
end P Paste system clipboard u Undo change
Enter Open selected
t Find 'till next char before selections U Redo change
Ctrl-s Open horizo​‐
f Find next char y Join and yank selections to Alt- Move backward in history
ntally
T Find 'till previous clipboard u
Ctrl-v Open
char Y Yank main selection to Alt- Move forward in history
vertically
F Find previous char clipboard U
Escape, Ctrl-c Close picker
G Go to line number R Replace selections by y Yank selection
<n> clipboard contents p Paste after selection
Match mode
Alt-. Reapeat last / Global search in workspace P Paste before selection
m Goto matching bracket folder
motion (f, t ro m) " Select a register to yank
(TS)
Home Move to the start ? Open command palette <re​ to or paste from
s Surround current
of the line g>
<ch​‐ selection with <ch​ar> Popup
End Move to the end > Indent selection
ar>
ofthe line Ctrl-u Scroll up
< Unindent selection
r <fr​‐ Replace surround
Ctrl-b, Move page up Ctrl-d Scroll down
om>​‐ character <fr​om> with = Format selection
PageUp (currently nonfun​cti​ona​l/d​‐
<to> <to>
Changes
Ctrl-f, Move page down isa​bled) (LSP)
d Delete surround
PageDown r Replace with a character d Delete selection
<ch​‐ character <ch​ar>
Ctrl-u Move half page up ar> R Replace with yanked text Alt- Delete selection, without
Ctrf-d Move half page a Select around ~ Switch case of the selected d yanking
down <ob​‐ textobject text c Change selection (delete
Ctrl-i Jump forward on jec​t> and enter insert mode)
the jumplist i <ob​‐ Select inside textobject
Ctrl-o Jump backward on jec​t>
the jumplist

By HiddenMonkey Published 18th March, 2022. Sponsored by CrosswordCheats.com


Last updated 18th March, 2022. Learn to solve cryptic crosswords!
Page 1 of 3. http://crosswordcheats.com

cheatography.com/hiddenmonkey/
Helix Keyboard Shortcuts
by HiddenMonkey via cheatography.com/85163/cs/31224/

Changes (cont) Goto mode Shell (cont) Window mode

Alt- Change selection (delete g Go to line number <n> else ! Run shell command, w, Switch to next window
c and enter insert mode, start of file inserting output before Ctrl-
without yanking) e Go to the end of the file each selection w
Ctrl- Increment object f Go to files in the selection Alt- Run shell command, v, Vertical right split
a (number) under cursor ! appending output after Ctrl-v
h Go to the start of the line
Ctrl- Decrement object each selection s, Horizontal bottom split
l Go to the end of the line
x (number) under cursor $ Pipe each selection into Ctrl-s
s Go to first non-wh​ite​space
Q Start/stop macro shell command, keep f Go to files in the
character of the line
recording to the selected selections where selection in horizontal
t Go to the top of the screen command returned 0
register (exper​ime​ntal) splits
c Go to the middle of the
q Play back a recorded F Go to files in the
screen View mode
macro from the selected selection in vertical
register (exper​ime​ntal) b Go to the bottom of the z, c Vertically center splits
screen the line
h, Move to left split
Search d Go to definition (LSP) t Align the line to Ctrl-
/ Search for regex pattern y Go to type definition (LSP) the top of the h,
screen Left
? Search for previous pattern r Go to references (LSP)
b Align the line to j, Move to split below
n Select next search match i Go to implem​ent​ation (LSP)
the bottom of the Ctrl-j,
N Select previous search a Go to the last access​ed/​alt​‐
screen Down
match ernate file
m Align the line to k, Move to split above
* Use current selection as the m Go to the last modifi​ed/​alt​‐
the middle of the Ctrl-
search pattern ernate file
screen (horiz​ont​‐ k, Up
n Go to next buffer ally)
l, Move to right split
Minor modes
p Go to previous buffer j,down Scroll the view Ctrl-l,
v Enter select (extend) downwards
. Go to last modifi​cation in Right
mode
current file k, up Scroll the view q, Close current window
g Enter goto mode upwards Ctrl-q
m Enter match mode Shell
Ctrl-f, Move page down o, Only keep the current
: Enter command mode | Pipe each selection PageDown Ctrl-o window, closing all the
z Enter view mode through shell command, Ctrl-b, Move page up others
replacing with output PageUp
Z Enter sticky view mode
Alt- Pipe each selection into Prompt
Ctrl-w Enter window mode Ctrl-d Move half page
| shell command, ignoring down Escape, Ctrl- Close prompt
Space Enter space mode
output c
Ctrl-u Move half page up
Alt-b, Alt-Left Backward a
word
Ctrl-b, Left Backward a
char
Alt-f, Alt- Forward a word
Right

By HiddenMonkey Published 18th March, 2022. Sponsored by CrosswordCheats.com


Last updated 18th March, 2022. Learn to solve cryptic crosswords!
Page 2 of 3. http://crosswordcheats.com

cheatography.com/hiddenmonkey/
Helix Keyboard Shortcuts
by HiddenMonkey via cheatography.com/85163/cs/31224/

Prompt (cont) Insert Mode (cont) Selection manipu​lation Selection manipu​lation (cont)

Ctrl-f, Right Forward a char Ctrl-w, Alt-Ba​‐ Delete s Select all regex matches % Select entire file
Ctrl-e, End Move prompt end ckspace previous word inside selections x Select current line, if
Ctrl-a, Move prompt start Alt-d Delete next S Split selection into subsel​‐ already selected, extend
Home word ections on regex matches to next line

Ctrl-w Delete previous Alt-b, Alt-Left Backward a Alt- Split selection on newlines X Extend selection to line
word word s bounds (line-wise
Ctrl-b, Left Backward a & Align selection in columns selection)
Alt-d Delete next word
char _ Trim whitespace from the J Join lines inside
Ctrl-u Delete to start of
Alt-f, Alt-Right Forward a selection selection
line
word ; Collapse selection onto a K Keep selections
Ctrl-k Delete to end of
Ctrl-f, Right Forward a char single cursor matching the regex
line
Ctrl-e, End Move to line Alt- Flip selection cursor and Alt-K Remove selections
backspace, Delete previous
end ; anchor matching the regex
Ctrl-h char
Ctrl-a, Home Move to line Alt- Ensures the selection is in Ctrl- Commen​t/u​nco​mment
delete, Delete next char
start : forward direction c the selections
Ctrl-d
Ctrl-u Delete to start , Keep only the primary Alt-k, Expand selection to
Ctrl-s Insert a word
of line selection Alt- parent syntax node (TS)
under doc cursor,
up
may be changed Ctrl-k Delete to end Alt- Remove the primary
to Ctrl-r Ctrl-w of line , selection Alt-j, Shrink syntax tree
later Alt- object selection (TS)
Ctrl-j, Enter Insert new line C Copy selection onto the
down
Ctrl-p, Up Select previous Backspace, Delete next line (Add cursor
history below) Alt-h, Select previous sibling
Ctrl-h previous char
Alt- node in syntax tree (TS)
Ctrl-n, Select next history Delete, Ctrl-d Delete Alt- Copy selection onto the
left
Down previous char C previous line (Add cursor
above) Alt-l, Select next sibling node
Tab Select next Ctrl-p, Up Move to
Alt- in syntax tree (TS)
completion item previous line ( Rotate main selection
right
BackTab Select previous backward
Ctrl-n, Down Move to next
completion item line ) Rotate main selection
Enter Open selected forward
PageUp Move one
page up Alt- Rotate selection contents
Insert Mode ( backward
PageDown Move one
Escape Switch to normal page down Alt- Rotate selection contents
mode ) forward
Alt-> Go to end of
Ctrl-x Autoco​mplete buffer
Ctrl-r Insert a register Alt-< Go to start of
content buffer

By HiddenMonkey Published 18th March, 2022. Sponsored by CrosswordCheats.com


Last updated 18th March, 2022. Learn to solve cryptic crosswords!
Page 3 of 3. http://crosswordcheats.com

cheatography.com/hiddenmonkey/

You might also like