This commit is contained in:
Pavel Korytov 2020-11-25 20:19:24 +03:00
parent 707ddaddfe
commit 3f3504ca33
3 changed files with 98 additions and 7 deletions

20
config/.emacs.d/custom.el Normal file
View file

@ -0,0 +1,20 @@
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(css-indent-offset 2)
'(custom-safe-themes
'("c83c095dd01cde64b631fb0fe5980587deec3834dc55144a6e78ff91ebc80b19" "bf387180109d222aee6bb089db48ed38403a1e330c9ec69fe1f52460a8936b66" "e074be1c799b509f52870ee596a5977b519f6d269455b84ed998666cf6fc802a" default))
'(js-indent-level 2)
'(org-agenda-files
'("~/Documents/org-mode/Personal/misc.org" "~/Documents/org-mode/Job/dig-traject.org" "~/Documents/org-mode/Personal/look-forward.org" "~/Documents/org-mode/ETU/sem-9.org"))
'(sgml-basic-offset 2)
'(wakatime-cli-path "/usr/bin/wakatime")
'(wakatime-python-bin nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)

View file

@ -255,7 +255,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package evil-collection
:straight t
:config
(evil-collection-init '(eww dired)))
(evil-collection-init '(eww dired dasboard company vterm)))
#+end_src
** Undo-redo & undo-tree
#+begin_src emacs-lisp
@ -496,13 +496,23 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(general-nmap "TAB" 'evil-toggle-fold)
(general-nmap :keymaps 'hs-minor-mode-map "ze" 'hs-hide-level)
#+end_src
** Total misc
** Time trackers
*** WakaTime
#+begin_src emacs-lisp
(use-package wakatime-mode
:straight t
:config
(global-wakatime-mode))
#+end_src
*** ActivityWatch
#+begin_src emacs-lisp
;; (use-package request
;; :straight t)
;;
;; (use-package activity-watch-mode
;; :straight t
;; (global-activitywatch-mode))
#+end_src
* Dired
#+begin_src emacs-lisp
(use-package dired
@ -586,8 +596,29 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(general-nmap "~" 'vterm)
(general-define-key
:keymaps 'vterm-mode-map
"M-q" 'vterm-send-escape)
:keymaps 'vterm-mode-map
"M-q" 'vterm-send-escape
"C-h" 'evil-window-left
"C-l" 'evil-window-right
"C-k" 'evil-window-up
"C-j" 'evil-window-down
"C-<right>" 'evil-window-right
"C-<left>" 'evil-window-left
"C-<up>" 'evil-window-up
"C-<down>" 'evil-window-down
"M-<left>" 'vterm-send-left
"M-<right>" 'vterm-send-right
"M-<up>" 'vterm-send-up
"M-<down>" 'vterm-send-down)
(general-imap
:keymaps 'vterm-mode-map
"C-r" 'vterm-send-C-r
"M-l" 'vterm-send-right
"M-h" 'vterm-send-left)
#+end_src
* Org-mode
** Installation
@ -776,6 +807,13 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package all-the-icons
:straight t)
#+end_src
** Dashboard
#+begin_src emacs-lisp
;; (use-package dashboard
;; :straight t
;; :config
;; (dashboard-setup-startup-hook))
#+end_src
** Theme & global stuff
#+begin_src emacs-lisp
;; (use-package solaire-mode

View file

@ -213,7 +213,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package evil-collection
:straight t
:config
(evil-collection-init '(eww dired)))
(evil-collection-init '(eww dired dasboard company vterm)))
(use-package undo-tree
:straight t
@ -428,6 +428,13 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
:config
(global-wakatime-mode))
;; (use-package request
;; :straight t)
;;
;; (use-package activity-watch-mode
;; :straight t
;; (global-activitywatch-mode))
(use-package dired
:ensure nil
:custom ((dired-listing-switches "-alh --group-directories-first"))
@ -507,8 +514,29 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(general-nmap "~" 'vterm)
(general-define-key
:keymaps 'vterm-mode-map
"M-q" 'vterm-send-escape)
:keymaps 'vterm-mode-map
"M-q" 'vterm-send-escape
"C-h" 'evil-window-left
"C-l" 'evil-window-right
"C-k" 'evil-window-up
"C-j" 'evil-window-down
"C-<right>" 'evil-window-right
"C-<left>" 'evil-window-left
"C-<up>" 'evil-window-up
"C-<down>" 'evil-window-down
"M-<left>" 'vterm-send-left
"M-<right>" 'vterm-send-right
"M-<up>" 'vterm-send-up
"M-<down>" 'vterm-send-down)
(general-imap
:keymaps 'vterm-mode-map
"C-r" 'vterm-send-C-r
"M-l" 'vterm-send-right
"M-h" 'vterm-send-left)
(straight-override-recipe
'(org :type git :host github :repo "emacsmirror/org" :no-build t))
@ -667,6 +695,11 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(use-package all-the-icons
:straight t)
;; (use-package dashboard
;; :straight t
;; :config
;; (dashboard-setup-startup-hook))
;; (use-package solaire-mode
;; :straight t
;; :config