-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNOTES
More file actions
355 lines (336 loc) · 12.7 KB
/
NOTES
File metadata and controls
355 lines (336 loc) · 12.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
###########################################################################
Android Accessibility
** Ensure FN + Android (W)
<OS> = alt/cmd
<leader> = [CTRL]+<OS>
<OS> + U # Accessibility Settings
<OS> + / # Accessibility Keys
<OS> + [TAB] # Recent Apps
[CTRL][ALT] + Z # Toggle Accessibility Talkback
###########################################################################
- [ESC] # Abort
- [ALT] # Start Menu
- [ALT] + [TAB] # Open Apps
- [ALT] + A # Apps
- [CTRL] + [SPACE] # Change language
- [SHIFT] + [SPACE] # Change language
- [HAMBURGER]
- (F5) # Context Menu (Right Click)
- (F5) # (Chrome) Context Menu
- <OS> + B # Browser
- <OS> + C # Contacts
- <OS> + E # Email
- <OS> + F # Search
- <OS> + H # Voice Activation
- <OS> + I # Bixby
- <OS> + J # Tips
- <OS> + K # Calendar
- <OS> + L # Lock Screen
- <OS> + M # Maps
- <OS> + N # Notifications
- <OS> + Q # Quick Panel
- <OS> + R # Files
- <OS> + S # Messages
- <OS> + U # Accessibility Settings
- <OS> + W # Start/Stop DEX
- <OS> + V # Volume
- <OS> + Y # Smart view
- <OS> + Z # Settings
- <OS> + [ENTER] # Home
- <OS> + [DEL] # Back
- [F4] - [F12] - (Check keyboard layout)
- [FN][F1] # Keyboard Shortcuts menu
- [FN]+[F4] - [FN]+[F12] - (Check keyboard layout)
- [FN][DEL] # (ios) Toggle desktop / (android) screenshot
# ANSI UNICODE ASCII UTF-8 ------------------------------------------------
# - https://jkorpela.fi/chars
# - Guide - https://jkorpela.fi/unicode/guide.html
# - Spaces - https://jkorpela.fi/chars/spaces.html
# - Math Symbols - https://jkorpela.fi/math/syms.html
# - Dashes & Hyphens - https://jkorpela.fi/dashes.html
# Twitter -----------------------------------------------------------------
- http://keycombiner.com/devtools/collections/twitter
# VLC ---------------------------------------------------------------------
- http://keycombiner.com/devtools/vlc-player
# Youtube -----------------------------------------------------------------
- [CTRL] # Keyboard Shortcut Menu
- [SPACE] # Play / Pause
- → # Seek Forward
- ← # Seek Backwards
- [ALT] + → # Next Chapter
- [ALT] + ← # Previous Chaper
- C # Toggle Closed Captions
# Chrome ------------------------------------------------------------------
# https://github.com/jaredwilli/devtools-cheatsheet?tab=readme-ov-file
- [TAB] # Next Clickable Item
- [SHIFT][TAB] # Previous Clickable Item
- [SPACE] # Scroll Down
- [SHIFT][SPACE] # Scroll Up
- [ALT]+= # Larger size
- [CTRL]+- # Smaller size
- [CTRL]+0 # Default size
- [CTRL][SHIFT]+B # Bookmarks Bar
- [CMD]+D # Bookmark current page
- [CMD][SHIFT]+F # Fullscreen
- [CMD]+H # History
- [CTRL][SHIFT]+H # Home
- [CTRL]+L # Address bar
- [CTRL]+N # New tab
- [CTRL][SHIFT]+N # New incognito tab
- [CTRL][SHIFT][TAB] # Prev tab
- [CMD][SHIFT]+M # Mobile Responsive
- [CTRL]+P # Print
- [CTRL]+R # Reload
- [CTRL][SHIFT]+J # Downloads Tab
- [CTRL][SHIFT]+R # Reload (with cache busting)
- [CTRL][SHIFT]+T # Reopen last closed tab
- [CTRL]+W # Close current tab
# Chrome (DevTools) -------------------------------------------------------
- [ESC] # Console
- [CTRL]+ F # Find
- [CTRL][TAB] # Next tab
- [CTRL][SPACE] # Completion Menu
- [CMD]+, # Search Settings
- [CMD]+/ # Toggle Comment
- [ALT]+→ # Next Word
- [ALT]+← # Previous Word
- [CTRL]+A # BOL [CMD] + ←
- [CTRL]+B # Back one character
- [CTRL][SHIFT]+C # Switch to Elements
- [CTRL]+D # Delete character after
- [CTRL][SHIFT]+D # DevTools Layout Switch
- [CMD][SHFT]+D # swap devtools layout
- [ALT]+E # Open menu
- [CTRL]+E # EOL [CMD] + →
- [CTRL]+F # Forward one character
- [CTRL]+G # GOTO Line
- H - # Hide element
- [CTRL]+H # Delete character before
- [CMD][SHIFT]+H # (dev) Breakpoints Pane
- [CMD][ALT]+I # DevTools
- [CMD][ALT]+J # Dev Logs
- [CTRL]+K # Delete to EOL
- [CTRL]+M # Matching Bracket
- [CMD]+ N # Next Line
- [ALT]+O # $$$ TAB SWITCH SIMILAR FILENAME???
- [CTRL]+O # Following to new line
- [CMD]+ P # Previous Line
- [CTRL]+T # Swap Character Right
- [CTRL]+V # Page Down
# DEX ---------------------------------------------------------------------
- <OS> + [UP]
- Maximize floating window to fullscreen
- <OS> + [DOWN]
- Minimize fullscreen to floating window
- Minimize floating window to taskbar.
- <OS> + [RIGHT]
- Centers floating window from left sticky
- Right sticky from floating window
- Left floating window ffrom right sticky
- <OS> + [LEFT]
- Centers floating window from right sticky
- Left sticky from floating window
- Right floating window ffrom left sticky
# LINUX ------------------------------------
- Directory Structure
- https://unix.stackexchange.com/q/679569
# TERMUX ------------------------------------------------------------------
# - https://dev.to/voyeg3r/termux-useful-tweaks-3mjl
# Termux:PRoot - https://wiki.termux.com/wiki/PRoot
# Termux:Shells - https://wiki.termux.com/wiki/Shells
# Termux:Boot - https://wiki.termux.com/wiki/Termux:Boot
# - https://github.com/termux/termux-boot
# - https://f-droid.org/en/packages/com.termux.boot
# Termux:Services - https://wiki.termux.com/wiki/Termux-services
# - https://github.com/termux/termux-services
# Termux:Styling - https://wiki.termux.com/wiki/Termux:Styling
# - https://github.com/termux/termux-Styling
# - https://f-droid.org/en/packages/com.termux.Styling
# Termux:Widget - https://wiki.termux.com/wiki/Termux:Widget
# - https://github.com/termux/termux-widget
# - https://f-droid.org/en/packages/com.termux.widget
#
- [CTRL][ALT] + → # Drawer
- [CTRL][ALT] + ← # Close Drawer
- [CTRL][ALT] + K # Soft Keyboard
- [CTRL][ALT] + - # Reduce text size
- [CTRL][ALT] + = # Increase text size
- [CTRL][ESC] # Context Menu (Right Click)
- [CTRL][ALT] + {N} # Switch to Session N (0-9)
- [CTRL][ALT] + C # New Session
- [CTRL][ALT] + M # Context Menu (Right Click)
- [CTRL][ALT] + N # Next Session
- [CTRL][ALT] + ↑ # Next Session
- [CTRL][ALT] + P # Previous Session
- [CTRL][ALT] + ↓ # Previous Session
- [CTRL][ALT] + R # Rename Session
- [CTRL][ALT] + U # URL List
- [CTRL][ALT] + V # Paste
# TMUX --------------------------------------------------------------------
- http://keycombiner.com/devtools/collections/tmux
# Bind(ed) Keys
# <Leader> s - Sessions
# - tmux show-hooks -g
# - tmux list-keys
# - tmux list-keys -a(ll)
# - tmux list-keys -N(ame)
# - tmux list-keys -T(able)
# Shortcut mappings
# - <prefix>+t # time
# - <prefix>+q # indexes
# VIM ---------------------------------------------------------------------
# vi --clean (Empty .vimrc configuration)
# :!-All messages
#(Command Mode) ---------------------------
# <C-b> - Beginning of command
# <C-d> - command mode list
# - https://vim.rtorr.com
# messages - messages
# history - command history
# history c - command history
# history s - search history
# (Normal Mode) q: - buffered History
# (Command Mode) <C-f> - buffered History
# / - Search
# (Normal Mode) q/ - buffered Search
# :reg - registers
# :scriptname - All scripts loaded
# :buffers, :files, :ls, :sbuffer :bdelete, :badd {1} {2} {3}
# :ls! - Show all buffers included unlisted (h = hidden, a = active)
# :verbose map - nmap, vmap, xmap, smap, omap mode Keyboard mappings - https://vi.stackexchange.com/q/7722
# :map! - Normal & Visual mode Keyboard mappings - https://vi.stackexchange.com/q/7722
# :verbose nmap - Normal Mode Mappings
# :verbose cmap - imap, cmap Command Mode mappings
# :verbose xmap - Visual mode mappings
# :verbose vmap - Visual and Select mode mappings
# :tabs - list
# :tags - list
# :marks - marks
# :menu # :help menu
# :verbose command
# :verbose autocmd [event]
# :changes - see file changes
# :find - files (can use * globs)
# :version - See all version compiled options
# :verbose autocmd [VimEvent] - all autocmd declarations
# :spellinfo - spellfiles used
# :verbose set - all set options & location
# :verbose setlocal - all local set options
# :verbose setglobal - all global set options
# :verbose setgtermcap - Terminal codes & keys
# :verbose let - all let declarations & location
# :verbose let v: - vim variables
# :verbose let g: - global let declarations & location
# :verbose let b: - buffer let declarations & location
# (filter) :echo copy(g:)->filter('v:key =~# "^substr"')
# :verbose function [name] - See all functions & location
# :b(uffer) <substring>- Open buffer based off substring in file name.
# :set all - View all settings
# :set termcap? - Term Capabilities
# :K - (SHIFT+K) keywordprg(default to man page for under cursor)
# :h key-notation - For mappings
# :h <key> - For mapping
# :h term.txt -------------------------------
# :h gui.txt --------------------------------
#
#(Normal Mode) ---------------------------
# :gt - Next Tab
# :gT - Previous Tab
# :g; - Previouss edit location
# :gf - Locate file under cursor
# :normal gg=G # Reformat current buffer
# <C-]> - Jump to tag definition
# <C-t> - Pop tag definition
#
#(Insert Mode) ---------------------------
# Bracketed Paste # - https://en.m.wikipedia.org/wiki/Bracketed-paste
# - :h paste - :h pastetoggle
# Clipboard # - https://en.m.wikipedia.org/wiki/Clipboard_(computing)
# - :h clipboard - :h quoteplus - :h quotestar - :h quotequote
# <C-e> - Exit Completion
# <TAB> - Completion
# :help complete
# :help ins-completion
# <C-h> - <BS> backspace
# <C-n> - Next Completion
# <C-p> - Previous Completion
# <ESC> - Sitch to normal mode
# <C-o> - Briefly switch to normal mode
# Completion -----------------------------------
# :h i_CTRL-X_index - All commands in i_CTRL-X submodule
# - :h omnifunc - :h completefunc - :h complete
# <C-x><C-]> - Tag Completion
# <C-x><C-i> - ompletion (Current & Included Files)
# <C-x><C-f> - Definition & Macro Completion
# <C-x><C-f> - File Path Completion
# <C-x><C-k> - Dictionary Completion
# <C-x><C-s> - Spelling Suggestions
# <C-x><C-t> - Thesaurus Suggestions
# <C-x><C-u> - User `completefunc` Completion
# <C-x><C-o> - Omni Completion :h omnifunc
# <C-x><C-v> - Vim Command Line Completion
# <C-x><C-z> - Stop Completion
#
# gf - Open file under cursor
# gq - Automatic formatting
# :h group-name
# :h cterm-colors
# :h highlight-groups
# :h index - All keyboard mappings
# :h motion.txt ------------------------------
# :jumps - List
# :clearjumps - List
# <C-g> - Current location in file
# <C-i> - Previous Jump Position
# <C-k> extended unicode digraphs (:h digraphs)
# <C-v> (<C-q> on Windows) Then type escape command
# FULL LIST OF SHORTCUTS - https://gist.github.com/tuxfight3r/0dca25825d9f2608714b
# CtrlP -----------------------------------------------------
# (active) <c-f> - Switch between files, & bufers
# vim-fern --------------------------------------------------
# ! Toggle . (dot) files
#
# Popups :h popup.txt ------------------------------
# popup_create()
# popup_atcursor()
# popup_notification()
# popup_dialog()
# popup_menu()
# popup_close()
# popup_clear()
# BASH --------------------------------------------------------------------
# - Explain Shell - https://explainshell.com/
# - Bash Guide - https://mywiki.wooledge.org/BashGuide
# - Busybox - https://busybox.net/downloads/BusyBox.html
# - Shebang - https://en.m.wikipedia.org/wiki/Shebang_(Unix)
# - Shell Expansion https://stackoverflow.com/a/59629043/173208
# - SED User Guide - https://gnu.org/software/sed/manual/sed.html
# - AWK User Guide - https://gnu.org/software/gawk/manual/gawk.html
# - File Descriptors - https://en.m.wikipedia.org/wiki/File_descriptor
# - Math Expressions - https://redswitches.com/blog/bash-arithmetic-operators
# - Compgen (shell commands) - https://baeldung.com/linux/compgen-command-usage
# - Exit Codes - https://cyberciti.biz/faq/linux-bash-exit-status-set-exit-statusin-bash/
# - Special Parameters - https://gnu.org/software/bash/manual/bash.html#Special-Parameters
# - POSIX SHELL - https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
# - systemd
# - https://wiki.archlinux.org/title/Systemd
# - https://seb.jambor.dev/posts/systemd-by-example-part-1-minimization
# - https://medium.com/the-code-vault/systemd-simple-service-examples-ce586afeed27
# - https://digitalocean.com/community/tutorials/understanding-systemd-units-and-unit-files
# - echo vs printf
# - https://in-ulm.de/%7Emascheck/various/echo+printf/
# - https://unix.stackexchange.com/q/65803/why-is-printf-better-than-echo
# - Reverse Search
# - https://superuser.com/q/472846/how-to-reverse-i-search-back-and-forth
# - https://gnu.org/software/bash/manual/html_node/Commands-For-History.html
# - https://gnu.org/software/emacs/manual/html_node/emacs/Basic-Isearch.html
# - https://codeburst.io/use-reverse-i-search-to-quickly-navigate-through-your-history-917f4d7ffd37
# Mail --------------------------------------------------------------------
# - https://keycombiner.com/collections/gmail
- [CTRL]+N # New message
# Readline ----------------------------------------------------------------
<C-a> (BOL)
<C-e> (EOL)
<C-n> (Next command)
<C-p> (Previous command)
<C-w> Delete word behind)