aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my/my-editing.el
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Some changes from the past monthsYuchen Pei2024-10-111-3/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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][urxvt] bunch of small changesYuchen Pei2024-04-051-3/+6
| | | | | | | | - 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] Some tweaksYuchen Pei2023-10-281-0/+3
| | | | | | | - small fixes - which func headline should apply to js mode too - magit-diff mode no truncate lines - w3m keybindings
* [emacs] [gdb] Some minor changesYuchen Pei2023-10-111-0/+11
| | | | | | | - emacs: my-elide-region that does the same thing as message-elide-region, with the comment-start as the prefix - gdbinit: an alias to a command that displays all backtrace of all threads
* [emacs] [gdb] Some small changesYuchen Pei2023-10-031-0/+27
| | | | | | | | | - my-mark-backward-up-list: like backward-up-list, but also mark the sexp - my-kill-sexp-or-comment: kill the next sexp or comment, replacing kill-sexp - my-mark-sexp-or-comment: mark the next sexp or comment, replacing mark-sexp - my-magit-ignore-other-worktrees: a filter-args advice to add --ignore-other-worktrees to magit-checkout
* improve delete-pair related functionsYuchen Pei2023-08-191-0/+65
|
* make my-new-line commands indentYuchen Pei2023-08-191-10/+6
|
* [emacs] Some minor tweaksYuchen Pei2023-08-141-0/+1
|
* minor fixesYuchen Pei2023-07-261-1/+2
|
* some minor fixesYuchen Pei2023-07-251-0/+1
|
* minor changesYuchen Pei2023-07-031-6/+6
|
* Some minor fixesYuchen Pei2023-06-281-0/+6
|
* buncha changesYuchen Pei2023-06-271-6/+15
| | | | | | | - add gdbinit - attempt to fix tempel in eglot (not working) - add qutebrowser to hmm browser - allow find file to open file:line_no
* minor fix of my-kill-forwardYuchen Pei2023-06-261-1/+1
|
* Adding license files and updating readmesYuchen Pei2023-06-261-3/+4
| | | | | | | | | | | * COPYING.agpl3: agpl3 license file * README.org: added readme for the repo * emacs/.emacs.d/init/ycp-editing.el: fix hook names * emacs/.emacs.d/init/ycp-project.el: include `my-licenses' in local-config * emacs/.emacs.d/lisp/my/my-editing.el: fix insert pair prompt * emacs/README.org: Move acknowledgement to the main readme; fix verbatim to code. Add instruction on local-config generation * manual/README.org: minor change
* Adapted more configs from other emacs configsYuchen Pei2023-06-261-3/+19
| | | | Including wasamasa and jwiegley
* copy buffer file nameYuchen Pei2023-06-241-0/+13
|
* make C-k and M-k act like pareditYuchen Pei2023-06-241-0/+36
|
* Moving things one level deeperYuchen Pei2023-06-171-0/+340
To ease gnu stow usage. Now we can do stow -t ~ emacs