diff options
author | Thanos Apollo <[email protected]> | 2023-06-03 07:00:05 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-06-03 07:00:05 +0300 |
commit | e2594565e6afb2be24315543b7aac2e62aeca388 (patch) | |
tree | fae62f1af2fb926cceb2c8b2190af9594c680bf0 /emacs.org | |
parent | ad529ca14d16f2f0b5d1bc42f560e1806309b07d (diff) |
emacs: Clean duplicates and add display-line-numbers keybinding
Diffstat (limited to 'emacs.org')
-rwxr-xr-x | emacs.org | 23 |
1 files changed, 2 insertions, 21 deletions
@@ -1282,8 +1282,6 @@ Set aliases for emacs functions and ~PATH~ #+end_src ** Keybindings #+begin_src emacs-lisp - (define-key dired-mode-map "b" 'dired-up-directory) - (global-set-key (kbd "<escape>") 'keyboard-escape-quit) ;; Pass @@ -1294,6 +1292,8 @@ Set aliases for emacs functions and ~PATH~ ;; Imenu (global-set-key (kbd "C-c m") 'consult-imenu) + ;; Line numbers + (global-set-key (kbd "C-c l") 'display-line-numbers-mode) (define-prefix-command 'thanos/applications-map) (define-key thanos/applications-map (kbd "q") 'chatgpt-query) @@ -1315,25 +1315,6 @@ Set aliases for emacs functions and ~PATH~ (define-key thanos/vterm-map (kbd "p") 'multi-vterm-prev) (define-key thanos/vterm-map (kbd "d") 'multi-vterm-dedicated-open) (define-key thanos/vterm-map (kbd "o") 'multi-vterm) - - - ;; org-roam - (define-prefix-command 'org-roam) - (define-key thanos/applications-map (kbd "n") 'org-roam) - - (define-key org-roam (kbd "t") 'org-roam-buffer-toggle) - (define-key org-roam (kbd "f") 'org-roam-node-find) - (define-key org-roam (kbd "i") 'org-roam-node-insert) - - (define-prefix-command 'Journal) - (define-key org-roam (kbd "j") 'Journal) - (define-key Journal (kbd "d") 'Journaling/dailies) - (define-key Journal (kbd "C-c") 'org-roam-dailies-capture-today) - (define-key Journal (kbd "C-t") 'org-roam-dailies-capture-tomorrow) - (define-key Journal (kbd "C-y") 'org-roam-dailies-capture-yesterday) - (define-key Journal (kbd "c") 'org-roam-dailies-goto-today) - (define-key Journal (kbd "t") 'org-roam-dailies-goto-tomorrow) - (define-key Journal (kbd "y") 'org-roam-dailies-goto-yesterday) #+end_src |