aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Adding exitterYuchen Pei16 hours3-0/+12
| | | | A wip emacs x/twitter client
* [xrandr] A script to switch to the biggest connected monitorYuchen Pei2 days1-0/+35
|
* [xrandr] update display_toggle to handle one monitor situationYuchen Pei2 days1-8/+12
| | | | So when a laptop is unplugged we don't get stuck with a black screen.
* [emacs] Add org narrow or widen to focus writeYuchen Pei2 days2-6/+18
|
* [emacs] Fix company hang and multiple completion dropdowns in message modeYuchen Pei2024-10-121-2/+21
|
* [emacs] Use aspell and en_GB for ispellYuchen Pei2024-10-121-0/+10
|
* [emacs] continue org-jira customisation from the previous patchYuchen Pei2024-10-111-0/+88
| | | | | | * emacs/.emacs.d/lisp/my/my-org-jira.el: Override `org-jira-sdk-issue' and `org-jira-sdk-from-data' to include fixversions, affectedversions and relatedissues
* [emacs] Some changes from the past monthsYuchen Pei2024-10-1111-132/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs/.emacs.d/init/ycp-complete.el: comment why corfu does not work well with gud * emacs/.emacs.d/init/ycp-editing.el: bind my-write-file to C-x C-w; change viper-syntax-preference to 'extended * emacs/.emacs.d/init/ycp-org.el: comment on tab-width * emacs/.emacs.d/lisp/my/my-buffer.el: add a function `my-save-text-and-switch-to-buffer' that Save TEXT to FILE-NAME and switch to the buffer * emacs/.emacs.d/lisp/my/my-editing.el: renamed a function; and override `viper-forward-word-kernel' and `viper-backward-word-kernel' (why?); add function `my-write-file', which is the same as `write-file', but keep the old buffer and remain there. * emacs/.emacs.d/lisp/my/my-mariadb.el: remove sleep in `my-gdb-maria-spider'; add a function to fetch source of a mariadb kb entry * emacs/.emacs.d/lisp/my/my-net.el: extract out local I/O and buffer logic from `my-fetch-url-save-and-switch' to `my-save-text-and-switch-to-buffer'. * emacs/.emacs.d/lisp/my/my-org-jira.el: fix formatting of `my-org-jira--render-issue', and add affected-versions, fix-versions and related-issues for rendering * emacs/.emacs.d/lisp/my/my-prog.el: ensure indent-tabs-mode is by default nil in prog-modes, to protect from c-style-alist overriding * mariadb-server/.dir-locals.el: Moved from sql/.dir-locals.el
* [emacs] [bash] Several improvementsYuchen Pei2024-10-114-3/+39
| | | | | | | | | | * emacs/.emacs.d/lisp/my/my-media-segment.el: Add index to filename formatting in `my-segment-media-file-1' * emacs/.emacs.d/lisp/my/my-utils.el: Add .spc to audio extensions * emacs/.emacs.d/lisp/my/my-ytdl.el: add command to download audio without tor * misc/.bashrc: pacman and systemd aliases; automate some arch aur make process; add pdf merge / extract functions using ghostscript
* [vpn] updated check-ovpn.shYuchen Pei2024-06-301-1/+1
| | | | Not necessarily tun0
* [emacs] json-mode required too early in my-progYuchen Pei2024-06-131-1/+1
|
* [emacs] bison-mode required too earlyYuchen Pei2024-06-131-1/+1
|
* [bash] Account for another path of git-prompt.shYuchen Pei2024-06-131-0/+2
|
* [tlp] Add tlp.confYuchen Pei2024-06-131-0/+585
|
* [mpv][inputrc] Add mpv and inputrcYuchen Pei2024-06-133-0/+44
|
* [bash] do not assume location of rebootYuchen Pei2024-06-131-1/+1
|
* [emacs] minor fixYuchen Pei2024-06-132-3/+2
|
* [i3] Use ubuntu mono bold in i3barYuchen Pei2024-06-071-1/+1
|
* [emacs] fix gnus directoriesYuchen Pei2024-06-071-0/+12
|
* [emacs] the comint history write hook should be added to gud onlyYuchen Pei2024-06-041-1/+3
|
* [emacs] emms hardcode player preferenceYuchen Pei2024-05-261-2/+2
| | | | otherwise the list passed to the preference function my be reversed...
* [emacs] play video with vlc if possibleYuchen Pei2024-05-262-1/+12
|
* [screen] add screenrcYuchen Pei2024-05-261-0/+7
|
* [emacs] only cancel c-m / c-i in guiYuchen Pei2024-05-261-3/+4
|
* [bash] ensure xdg_runtime_dirYuchen Pei2024-05-261-0/+20
| | | | https://unix.stackexchange.com/questions/476963/how-to-create-delete-xdg-runtime-dir-at-login-logoff
* [bash] check for local file and functions before sourcing and callingYuchen Pei2024-05-261-4/+12
|
* [emacs] use man instead of womanYuchen Pei2024-05-261-1/+1
| | | | woman is unable to render some manuals
* [kodi] use vlc as the playerYuchen Pei2024-05-261-0/+14
|
* [emacs] minor fix emmsYuchen Pei2024-05-261-1/+1
|
* [emacs] c++ configYuchen Pei2024-05-232-0/+16
| | | | tempel template for #ifdef block
* [emacs] corfu renamed a varYuchen Pei2024-05-231-1/+1
|
* [emacs] more smooth experience in gudYuchen Pei2024-05-232-6/+12
| | | | | - auto confirm debuginfod - write to history on kill
* [acpi] add new line to misc-root/etc/acpi/events/lidYuchen Pei2024-05-191-1/+1
|
* [i3status] Check vpnYuchen Pei2024-05-192-0/+20
| | | | | Have to use read_file because path_exists does not work with path expansion.
* [bashrc] spoof googlebotYuchen Pei2024-05-091-0/+2
|
* [emacs] disable which-function in json mode when buffer is bigYuchen Pei2024-05-092-5/+7
|
* [emacs] Fix a few small thingsYuchen Pei2024-04-053-3/+5
| | | | - cape: cape-symbol has been replaced by cape-elisp-symbol
* [emacs] osm-ol removed in osm after an upgradeYuchen Pei2024-04-051-1/+0
|
* [emacs][urxvt] bunch of small changesYuchen Pei2024-04-0511-15/+49
| | | | | | | | - add org clock string to frame title - add ansi color to compilation buffer - look for project source dir from build dir - fix my-kill-sexp-or-comment - more lines in urxvt
* [emacs] improve org backtrace regionYuchen Pei2024-04-052-1/+94
|
* [emacs] fix gitlab parsingYuchen Pei2024-04-052-4/+5
|
* [bash] An alias to get url behind one redirectionYuchen Pei2024-04-021-0/+2
|
* [emacs] add renaming to diredYuchen Pei2024-04-022-4/+48
| | | | | | rename files by mtime also a new command to use ytdl without tor
* [emacs] minor updates to url-rewrite and my-ytdlYuchen Pei2024-01-204-9/+26
| | | | | | - url-rewrite: also redirect from x.com for xitter - luwak: use url-rw for rewrite - ytdl: get rid of silly full-width chars and emojis in file names
* [emacs] Fixing a few thingsYuchen Pei2023-12-263-35/+68
| | | | | | | - link-gopher: some formatting - my-org: extend my-org-attach-copy-attached-orgs to fallback to a staging area - my-libgen: better naming just in case
* [emacs] flymake lint yolo.elYuchen Pei2023-12-031-5/+5
|
* [emacs] Adding yolo.elYuchen Pei2023-12-031-0/+73
|
* [emacs] minor changesYuchen Pei2023-11-282-2/+10
| | | | | - google slides to odp url rewrite - fixing emacs-29 lag by setting long-line-threshold to nil
* [vim-vixen] Backspace to scroll backYuchen Pei2023-11-131-0/+1
|
* [emacs] Update org-agenda-prefix-format now that we use the task systemYuchen Pei2023-11-131-4/+4
|