.calcrc kb = 1024 mb = 1024 * kb gb = 1024 * mb tb = 1024 * gb pb = 1024 * tb kib = 1024 mib = 1024 * kib gib = 1024 * mib tib = 1024 * gib pib = 1024 * tib cup = 0.23658824 cup2l = 0.23658824 gal = 3.785411784 gal2l = 3.785411784 in = 2.54 in2cm = 2.54 ft = 0.3048 ft2m = 0.3048 ft2mt = 0.3048 lb = 0.45359237 lb2kg = 0.45359237 mi = 1.609344 mi2km = 1.609344 nm = 1.852 nm2km = 1.852 nmi = 1.852 nmi2km = 1.852 yd = 0.9144 yd2m = 0.9144 mol = 602214076000000000000000 mole = 602214076000000000000000 e = 2.7182818284590452353602874 eu = 2.7182818284590452353602874 pi = 3.1415926535897932384626432 tau = 6.2831853071795864769252864 hour = 3600 hr = 3600 day = 24 * hour week = 7 * day wk = 7 * day .lesskey # add a few key-bindings to the standard ones in `less`, which were # found via live-input to `sed -n l`: these codes aren't guaranteed # to be always the same across machines/setups # Ctrl-f is like in the `micro` text editor and web-browsers ^f forw-search # Ctrl-q is like in the `micro` text editor ^q quit # F10 is like how many other text-mode apps let you quit them ^[[21~ quit # F12 is easy to hit ^[[24~ quit # F5 is like refreshing pages with web-browsers ^[[15~ repaint-flush # Ctrl-F3 is like searching in a page with web-browsers ^[OR repeat-search # Ctrl-Shift-F3 is like searching in a page with web-browsers ^[[1;2R reverse-search # Alt+Right is like moving across pages/history with web-browsers ^[[1;3C next-file # Alt+Left is like moving across pages/history with web-browsers ^[[1;3D prev-file # F1 is like how many other apps show a help page or their manual ^[OP help .nanorc # settings to make nano behave much more like GUI apps bind F1 help all # Ctrl-O is a terrible default since it saves files by default unbind ^O all bind ^S savefile all # F10 and F12 quit the editor bind F10 exit all bind F12 exit all bind ^Q exit all # F3 and Shift-F3 (F15) work like many GUI apps bind ^F whereis all bind F3 findnext all bind F15 findprevious all bind ^Z undo all bind ^Y redo all # these cut, copy, and paste commands ignore the system clipboard bind ^X cut all bind ^C copy main bind ^V paste all bind ^G gotoline all bind ^L location all # toggle regex-mode while typing what to search bind M-R regexp search # avoid keybindings which are counter-intuitive to typical GUI users unbind ^A all unbind ^B all unbind ^E all unbind ^N all unbind ^P all .pythonrc #!/usr/bin/python3 # disable file-saving of command histories from live sessions import readline readline.write_history_file = lambda *args: None .wgetrc hstsfile=/dev/null .config/micro/bindings.json { "Alt-/": "lua:comment.comment", "CtrlUnderscore": "lua:comment.comment", "F1": "ToggleHelp", "F3": "FindNext", "ShiftF3": "FindPrevious", "F10": "Quit", "F12": "Quit" } .config/micro/settings.json { "colorscheme": "dukelight-tc", "savehistory": false } .config/mpv/input.conf up add volume 2 down add volume -2 + add volume 2 = add volume 2 - add volume -2 Ctrl+right playlist-next Ctrl+left playlist-prev # like navigating across history in web-browsers Alt+right playlist-next Alt+left playlist-prev Shift+right seek 60 Shift+left seek -60 Q quit Ctrl+q quit F10 quit F12 quit .config/mpv/mpv.conf volume=70 cache-on-disk=no ao=pulse # vo=sixel # vo-sixel-reqcolors=0 vo=wlshm # don't show thumbnails from sound files audio-display=no .config/tilde/config highlight_attributes { normal = ( ) } config_version = 1 %terminals { name = "xterm-256color" key_timeout = -1000 highlight_attributes { normal = ( ) } color = false } %terminals { name = "xterm" key_timeout = 0 highlight_attributes { normal = ( ) } } make_backup = false hide_menubar = false parse_file_positions = true disable_primary_selection_over_ssh = false save_recent_files = false restore_cursor_position = false .config/tmux/tmux.conf set -g base-index 1 set -g pane-base-index 1 set -g status-position top set -g status-style 'bg=black fg=white' set -g window-status-format ' #[fg=gray,bg=black] #I:#W ' set -g window-status-current-format ' #[fg=black,bg=gray] #I:#W ' set -g status-right '#{pane_current_path}' set -g renumber-windows on set -g escape-time 0 set -g history-limit 0 # set -g set-clipboard on