···106106# Curses-based tool for viewing and analyzing log files
107107brew "lnav"
108108109109+# Rotates, compresses, and mails system logs
110110+brew "logrotate"
111111+109112# Simple tool to make locally trusted development certificates
110113brew "mkcert"
111114
···9393 nvm use >/dev/null
9494end
95959696-# This is hella slow, let's not use it for now...
9797-# if string match -q "$TERM_PROGRAM" vscode
9898-# source (code --locate-shell-integration-path fish)
9999-# end
9696+if string match -q "$TERM_PROGRAM" vscode
9797+ source (code --locate-shell-integration-path fish)
9898+end
10099101100# Used to ensure Docker cache hits on dev VM
102101umask 0002
+3-3
.config/fish/functions/citra.fish
···11function citra
22- if command -q flatpak
33- flatpak run --command=citra org.citra_emu.citra $argv
44- else
22+ if command -q citra
53 command citra $argv
44+ else
55+ flatpak run --command=citra org.citra_emu.citra $argv
66 end
77end
+2
.config/fish/functions/stat.fish
···11function stat
22 if status is-command-substitution
33+ or test (uname) = Linux
44+35 # make sure e.g. tab-completion works as expected
46 command stat $argv
57 else
+8-1
.config/kinto/kinto.py
···108108# edges = [edge.casefold() for edge in edges]
109109# edgeStr = "|".join(str('^'+x+'$') for x in edges)
110110111111+steamBigPicture = [
112112+ "steamwebhelper"
113113+]
114114+steamBigPictureStr = "|".join(str('^'+x+'$') for x in steamBigPicture)
115115+111116define_multipurpose_modmap({
112117 # Key.ENTER: [Key.ENTER, Key.RIGHT_CTRL], # Enter2Cmd
113118 # Key.CAPSLOCK: [Key.ESC, Key.RIGHT_CTRL], # Caps2Esc
···121126# define_conditional_modmap(lambda wm_class: wm_class == '', {})
122127123128# [Global modemap] Change modifier keys as in xmodmap
124124-define_conditional_modmap(lambda wm_class: wm_class.casefold() not in (terminals + emacs),{
129129+define_conditional_modmap(lambda wm_class: wm_class.casefold() not in (terminals + emacs + steamBigPicture),{
125130126131 # Key.CAPSLOCK: Key.RIGHT_CTRL, # Caps2Cmd
127132 # Key.LEFT_META: Key.RIGHT_CTRL, # Caps2Cmd - Chromebook
···784789 K("C-R"): K("Super-R"),
785790 K("Super-R"): K("C-R"),
786791792792+ # Select all
793793+ K("C-A"): K("Super-A"),
787794}, "Code")
788795789796# Keybindings for Sublime Text
+12-10
.emacs.d/init.el
···5858 ((agenda "" nil)
5959 (alltodo "" nil))
6060 nil)
6161- ("w" "Weekend Agenda and TODOs" agenda ""
6262- ((org-agenda-overriding-header "WEEKEND")
6363- (org-agenda-span '2)
6464- (org-agenda-start-day "saturday")
6565- (org-read-date-prefer-future nil)))
6666- ("3" "3-day Agenda and TODOs" agenda ""
6767- ((org-agenda-overriding-header "3 DAY VIEW")
6868- (org-agenda-span '3)
6969- (org-agenda-start-day "today")))))
6161+ ("b" "TODO tree for this buffer" todo-tree "" nil)
6262+ ("l" "TOOD list for this buffer" org-todo-list-current-file "" nil)))
7063 '(org-agenda-files '("~/Documents/notes/sabbatical" "~/Documents/notes/"))
7164 '(org-agenda-restore-windows-after-quit t)
7265 '(org-agenda-todo-list-sublevels t)
···8174 '(org-notifications-style 'libnotify)
8275 '(org-notifications-title "Agenda Reminder")
8376 '(org-preview-latex-default-process 'dvipng)
7777+ '(org-priority-default 68)
7878+ '(org-priority-lowest 68)
8479 '(org-startup-indented t)
8580 '(org-startup-with-inline-images t)
8681 '(org-startup-with-latex-preview t)
···211206 (identifier (xref-backend-identifier-at-point xref-backend)))
212207 (xref-find-definitions identifier))))))
213208214214-215209(defun slide-buffer (dir)
216210 "Move current buffer into window at direction DIR,
217211 creating if it does not exist."
···250244 ;; re-evaluate notifications after updating agenda
251245 (org-notifications-start)))
252246247247+;; https://emacs.stackexchange.com/a/13238
248248+(defun org-todo-list-current-file (&optional arg)
249249+ "Like `org-todo-list', but using only the current buffer's file."
250250+ (interactive "P")
251251+ (let ((org-agenda-files (list (buffer-file-name (current-buffer)))))
252252+ (if (null (car org-agenda-files))
253253+ (error "%s is not visiting a file" (buffer-name (current-buffer)))
254254+ (org-todo-list arg))))
253255254256;; ----------------------------------------------------------------------
255257;; Key bindings