-
navigation
hold fn hold control f2- navigate to toolbar menu
fn- mission control -
text cursor - emacs stamdard
ctrl a- go to beginning
ctrl e- go to end
ctrl k- delete text after cursor
ctrl u- delete text before cursor
ctrl -- undo last text update
ctrl r- backward history search. repeatctrl rto progress.ctrl gorright arrowto get out of it.
-
multicursor
command option DOWNnew cursor below.
command shift pentercursor undo. undo last new cursor.
command d- new cursor on next match of current text selection.option clicknew cursor at clicked location. -
navigation
command click
ctrl -
ctrl shift - -
search
command shift pcommand pallete in vscode.
command pfind file.
command fsearch in file.
command shift fsearch across all folders. -
code collapse / expand
command k command 0collapse all code
command k command jexpand all code
-
useful
/- navigate to search bar on google.
command l- how to activate address bar via keyboard.
command f "find the text using enter" esc shift left arrow- copy text on a page -
tabs
tab- go next a browser item.
shift tab- go back a browser item
command tab- create a new browser tab
command shift tab- restore previous tab
command left arrow- go back in browser for current tab. -
cleanup
command w- how to close a browser tab
command q- quit browser / program -
tabs windows shifting
command ~- switch browser windows
command option left arrow- switch to left tab
command option right arrow- switch to right tab -
scroll
ctrl alt left arrow- scroll to top
ctrl alt right arrow- scroll to bottom
-
In a wyziwyg
command shift p- escape out of a readme wysiwyg on github and resume typing. -
General, not in a wyziwyg
?- show keyboard help menut- search file/folder for the current repository
- helpful
command /- help with commands
option down arrow- next dm or channel.
hold command "select then number listed while holding"- change organizations
tmux
tmux attach
ctrl b - leader
<ctrl b> z - zoom to a specific pane.
<ctrl b> % - vertical split panes
<ctrl b> shift R - tmux reserect
<ctrl b> r - toggle mouse reporting. https://stackoverflow.com/a/57260591/5283424 shift S- tmux reserect save<br/> s- sessions<br/> s :new -s - create a new session from within tmux.<br/> d` - exit tmux
6 modes of vim: https://www.geeksforgeeks.org/the-six-modes-of-vim-editor
- gg - navigate to top
- shift + g - navigate to bottom
- 0 - beginning of line
- $ - end of line
- shift i - enter insert mode and move cursor to beginning of line
- shift a - enter insert mode and move cursor to end of line
- esc - move from insert mode back to normal mode.
esc :- for entering vim commands.esc :wq- escape write and quit- ctrl v - enter visual block mode
- to be added.