2025-12-14 04:51:24 +11:00
|
|
|
;; -*- lexical-binding: t -*-
|
|
|
|
|
|
|
|
|
|
(define-prefix-command 'orgmode-map)
|
|
|
|
|
(global-set-key (kbd "C-c n") 'orgmode-map)
|
|
|
|
|
|
|
|
|
|
(define-key orgmode-map (kbd "a") #'org-agenda)
|
|
|
|
|
(define-key orgmode-map (kbd "n") #'org-capture)
|
2025-12-14 06:09:17 +11:00
|
|
|
(define-key orgmode-map (kbd "t") #'org-todo-list)
|
2025-12-14 04:51:24 +11:00
|
|
|
|
2025-12-14 09:04:11 +11:00
|
|
|
|
|
|
|
|
(setq duplicate-line-final-position 1)
|
|
|
|
|
(global-set-key (kbd "M-p") #'duplicate-dwim)
|
|
|
|
|
(global-set-key (kbd "C-c y") #'copy-from-above-command)
|
|
|
|
|
(global-set-key (kbd "s-k") #'kill-current-buffer)
|
2025-12-15 01:04:39 +11:00
|
|
|
(global-set-key (kbd "C-c q r") #'restart-emacs)
|
2025-12-14 04:51:24 +11:00
|
|
|
|
2025-12-17 03:55:28 +11:00
|
|
|
(global-set-key (kbd "C-c C-c") #'compile)
|
2026-02-22 20:44:07 +11:00
|
|
|
;; (global-set-key (kbd "C-x C-b") #'ibuffer)
|
2025-12-17 07:08:46 +11:00
|
|
|
|
2025-12-14 04:51:24 +11:00
|
|
|
(provide 'init-bindings)
|