aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/init/ycp-editing.el
Commit message (Collapse)AuthorAgeFilesLines
* [emacs] Some changes from the past monthsYuchen Pei2024-10-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] only cancel c-m / c-i in guiYuchen Pei2024-05-261-3/+4
|
* [emacs][urxvt] bunch of small changesYuchen Pei2024-04-051-1/+3
| | | | | | | | - 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] minor changesYuchen Pei2023-11-281-2/+3
| | | | | - google slides to odp url rewrite - fixing emacs-29 lag by setting long-line-threshold to nil
* [emacs] Some tweaksYuchen Pei2023-10-281-2/+1
| | | | | | | - 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-2/+1
| | | | | | | - 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/+4
| | | | | | | | | - 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
* [emacs] some minor changesYuchen Pei2023-10-031-0/+1
|
* A few more org utilities, and small fixes in editing / goto placesYuchen Pei2023-09-021-1/+6
| | | | | | | added my-org-swap-referral-with-headline added my-org-clean-up-entry fixed avy binding org capture todo: contain initial content (if any) in an example block
* improve delete-pair related functionsYuchen Pei2023-08-191-1/+4
|
* fixing visual line mode commandsYuchen Pei2023-08-191-2/+8
|
* [emacs] Some minor tweaksYuchen Pei2023-08-141-1/+1
|
* minor changes in dediting, prog, gdbinitYuchen Pei2023-08-031-0/+1
|
* Some small changes.Yuchen Pei2023-07-311-1/+8
| | | | visual line mode, bbdb mua, org agenda, org capture, xref, bbdb
* some minor fixesYuchen Pei2023-07-251-0/+1
|
* some minor changesYuchen Pei2023-07-051-1/+1
|
* minor changesYuchen Pei2023-07-031-0/+5
|
* emacs 29 conditionals (time-stamp and tree-sitter)Yuchen Pei2023-06-291-1/+3
|
* Some minor fixesYuchen Pei2023-06-281-1/+1
|
* buncha changesYuchen Pei2023-06-271-0/+2
| | | | | | | - add gdbinit - attempt to fix tempel in eglot (not working) - add qutebrowser to hmm browser - allow find file to open file:line_no
* Some small fixes and changesYuchen Pei2023-06-261-2/+1
| | | | | | | | | | | | * emacs/.emacs.d/init/ycp-editing.el: fix a require * emacs/.emacs.d/init/ycp-prog.el: fix sql require * emacs/.emacs.d/init/ycp-system.el: remove double removal of tramp from file-name-handler-alist * emacs/.emacs.d/init/ycp-vc.el: add a post commit hook to revert project buffers * emacs/.emacs.d/lisp/my/my-mariadb.el: fix sql require * emacs/.emacs.d/lisp/my/my-project.el: add a command to revert project buffers
* Adding license files and updating readmesYuchen Pei2023-06-261-1/+1
| | | | | | | | | | | * 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-8/+17
| | | | Including wasamasa and jwiegley
* Refile clock entries and some basic settingsYuchen Pei2023-06-251-8/+24
|
* copy buffer file nameYuchen Pei2023-06-241-0/+1
|
* make C-k and M-k act like pareditYuchen Pei2023-06-241-1/+3
|
* Moving things one level deeperYuchen Pei2023-06-171-0/+116
To ease gnu stow usage. Now we can do stow -t ~ emacs