diff options
author | Yuchen Pei <id@ypei.org> | 2024-04-05 09:12:32 +1100 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-04-05 09:12:32 +1100 |
commit | 25f0fe5d68ebec67f3a1ca2f24c4a0bc8e49381f (patch) | |
tree | 94f54c59a0116949d2ee2342e54d91185f2c5367 /emacs/.emacs.d/init/ycp-prog.el | |
parent | 5e5406f6b1b47b84591ee9dea4233164e9a55fb0 (diff) |
[emacs][urxvt] bunch of small changes
- 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
Diffstat (limited to 'emacs/.emacs.d/init/ycp-prog.el')
-rw-r--r-- | emacs/.emacs.d/init/ycp-prog.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init/ycp-prog.el b/emacs/.emacs.d/init/ycp-prog.el index 054b035..e2d7451 100644 --- a/emacs/.emacs.d/init/ycp-prog.el +++ b/emacs/.emacs.d/init/ycp-prog.el @@ -289,6 +289,9 @@ compilation-context-lines 10 compilation-scroll-output 'first-error compilation-skip-threshold 2) + (require 'ansi-color) + ;; ansi color in compilation buffer + (add-hook 'compilation-filter-hook 'ansi-color-compilation-filter) ) ;;; flymake @@ -499,6 +502,8 @@ "C-c d s" 'my-gdb-maria-spider ) (define-key gud-mode-map (kbd "C-c C-z") 'my-gdb-mysql-parse-frame) + (define-key gud-mode-map (kbd "C-c C-p") 'comint-previous-prompt) + (define-key gud-mode-map (kbd "C-c C-n") 'comint-next-prompt) (add-to-list 'grep-files-aliases '("mtr" . "*.inc *.test *.cnf *.result *.rdiff")) (add-to-list 'grep-files-aliases |