Commit graph

536 commits

Author SHA1 Message Date
Jason TIAN
03667dd4df Fix variable evaluation in init-pre.el 2023-09-26 22:17:56 +08:00
Jason TIAN
3eb5ab539f fix: string as value 2023-09-26 22:08:22 +08:00
Jason TIAN
4df8fac72b Fix variable evaluation in init-pre.el 2023-09-26 21:59:09 +08:00
Jason TIAN
59946ab887 Refactor org-directory and org-mobile-directory initialization 2023-09-26 19:36:16 +08:00
Jason TIAN
f3ff855490 Add function my/set-var to set VAR based on the operating system. 2023-09-26 16:27:56 +08:00
Jason TIAN
bb9dc489d5 Add TODO 2023-09-25 22:18:21 +08:00
2ae5378dea updated my/create-tags docstring 2023-09-25 16:49:03 +08:00
33775e40f3 updated my/create-tags to support both ctags and etags formats 2023-09-25 12:16:11 +08:00
11a35818e0 add keybinding to company-tabnine instead of its startup by default 2023-09-24 13:55:20 +08:00
Jason TIAN
66891a7a51 move system type constants from init.el to init-pre.el 2023-09-23 20:47:07 +08:00
Jason TIAN
95b874b213 Add system type constants for Mac, Windows, and Linux 2023-09-23 17:51:10 +08:00
Jason TIAN
1b683f00f4 Update company-dabbrev to company-dabbrev-code in init-packages.el 2023-09-23 08:30:06 +08:00
d73030d726 removed reminder message of all-the-icons for lsp-mode 2023-09-22 15:37:20 +08:00
e2fafc2560 removed lsp-pyright 2023-09-22 15:36:27 +08:00
f6b6bbabf2 ignore non-existent agenda file 2023-09-22 11:37:46 +08:00
Jason TIAN
9fd4f75146 Merge branch 'master' of git@github.com:jsntn/emacs.d.git 2023-09-22 08:03:12 +08:00
Jason TIAN
f9e1e0bb90 Refactor init-display.el to hide list of minor modes in mode-line
This commit refactors the init-display.el file to hide the list of minor
modes in the mode-line. It adds a new function `my/purge-minor-modes`
that
removes the specified minor modes from the `minor-mode-alist`. The
func
tion is then added to the `after-change-major-mode-hook` to be
executed
after each major mode change. This improves the readability and
declutte
rs the mode-line.
2023-09-22 08:02:42 +08:00
878704546f removed company-ispell from the basic company-backends 2023-09-21 22:55:42 +08:00
d0c51da73a fix company-backends issue, and add keybinding to company-files 2023-09-21 22:44:24 +08:00
Jason TIAN
749653e1b0 Add company-transformers and refactor company-backends
- Add company-transformers to include delete-dups and
company-sort-by-occurrence
- Refactor company-backends as sub-list
2023-09-21 21:03:05 +08:00
32d7096dd3 removed lsp-mode and lsp-ui 2023-09-21 16:48:39 +08:00
Jason TIAN
15754083d0 Refactor with separate reformatter settings for Shell and YAML files 2023-09-21 08:22:55 +08:00
Jason TIAN
267cf7549a Refactor Python configuration and related packages 2023-09-21 08:01:03 +08:00
Jason TIAN
e5199ee924 Add TODO comment 2023-09-21 08:00:06 +08:00
Jason TIAN
4800051a1a Optimize Emacs garbage collection behavior 2023-09-20 23:51:19 +08:00
Jason TIAN
48eab3baba Add company-posframe package to fix tooltip alignment issue. 2023-09-20 22:07:55 +08:00
Jason TIAN
2ac92c3e2d Add diminish 2023-09-20 22:03:21 +08:00
b4363e0963 updated the hl-todo-keyword-faces to align with the org-todo-keyword-faces 2023-09-20 17:39:40 +08:00
bdfa5d7725 align the company tooltip. update the company-backends, and specially set company-backends value for org-mode 2023-09-20 17:27:05 +08:00
0616584194 add issue link of citre-peek display with global-display-line-numbers-mode 2023-09-20 09:18:52 +08:00
2952424d48 fix: slow scrolling on big org-mode files with line numbers 2023-09-19 23:14:55 +08:00
f3b25d0658 fix: slow scroll on big org-mode files with line numbers 2023-09-19 23:13:20 +08:00
a1120b4510 add delight 2023-09-19 22:23:21 +08:00
a4063b2b90 upgraded use-package 2023-09-19 22:22:09 +08:00
8147166eee hide the mode name string from mode line 2023-09-19 22:21:34 +08:00
Jason TIAN
d00fb6d027 Add Eglot package, disable lsp-mode 2023-09-19 19:10:18 +08:00
Jason TIAN
7dfd883e87 Add option to disable company-dabbrev in other buffers 2023-09-19 17:57:50 +08:00
675647bb58 formatted and commented the company-elisp backend for emacs-lisp-mode-hook 2023-09-19 17:09:32 +08:00
Jason TIAN
169a703b39 Refactor company-backends in init-packages.el 2023-09-19 00:43:22 +08:00
343e062cbe use global-linum-mode to instead of global-display-line-numbers-mode as it seems like some issue on citre-peek 2023-09-18 16:48:45 +08:00
536f1d03ea add comments regarding C-x and C-c, add new keybinding to citre-jump-back 2023-09-18 15:40:45 +08:00
311e34199a add vertico 2023-09-18 11:39:39 +08:00
ba8c8f413d removed counsel-etags, added citre and company-tabnine, set company-backends 2023-09-18 11:36:29 +08:00
affb503699 removed company-ctags 2023-09-17 21:25:48 +08:00
Jason TIAN
c4b6eae7aa Update README.org and init-packages.el
+ Update badge link in README.org to myelpa.yml
+ Add git-timemachine package in init-packages.el
2023-09-16 19:20:52 +08:00
Jason TIAN
8bd115c9a0 Add display time in mode line 2023-09-16 18:46:52 +08:00
Jason TIAN
2576788254 Add my/kill-buffers-by-pattern function to utils.el
This commit adds the my/kill-buffers-by-pattern function to utils.el. Th
is function allows the user to kill buffers whose names match a
specifie
d pattern. The function prompts the user for a pattern, searches
through
all buffers, and kills the buffers whose names match the pattern. The
p
attern is a regular expression that is compared against buffer names
usi
ng 'string-match-p'.
2023-09-16 18:29:05 +08:00
Jason TIAN
79dc8f01a7 Add function to copy current buffer to another buffer
This commit adds a new function `my/copy-current-buffer-to-another-buffe
r` that allows the user to copy the content of the current buffer to
ano
ther buffer. If the target buffer does not exist, it will be created.
If
the target buffer exists, the content will be appended.

Version: 2023-08-31
2023-09-16 18:26:56 +08:00
d283298d91 fix: void variable issue 2023-09-15 19:48:23 +08:00
200e709bed chore: use br to bind to ibuffer 2023-09-15 09:55:02 +08:00