Dired + Transparency
This commit is contained in:
parent
be70ab61f3
commit
b2c1e8732b
1 changed files with 126 additions and 79 deletions
49
config.org
49
config.org
|
|
@ -14,6 +14,7 @@
|
||||||
- [[#company][Company]]
|
- [[#company][Company]]
|
||||||
- [[#dashboard][Dashboard]]
|
- [[#dashboard][Dashboard]]
|
||||||
- [[#diminish][Diminish]]
|
- [[#diminish][Diminish]]
|
||||||
|
- [[#dired-file-manager][DIRED (File manager)]]
|
||||||
- [[#flycheck][FLYCHECK]]
|
- [[#flycheck][FLYCHECK]]
|
||||||
- [[#fonts][Fonts]]
|
- [[#fonts][Fonts]]
|
||||||
- [[#zooming-inout][Zooming In/Out]]
|
- [[#zooming-inout][Zooming In/Out]]
|
||||||
|
|
@ -53,6 +54,7 @@
|
||||||
- [[#descriptions][Descriptions]]
|
- [[#descriptions][Descriptions]]
|
||||||
- [[#theme][Theme]]
|
- [[#theme][Theme]]
|
||||||
- [[#theme-loading][Theme loading]]
|
- [[#theme-loading][Theme loading]]
|
||||||
|
- [[#transparency][Transparency]]
|
||||||
- [[#which-key][WHICH-KEY]]
|
- [[#which-key][WHICH-KEY]]
|
||||||
|
|
||||||
* IMPORTANT PROGRAMS TO LOAD FIRST
|
* IMPORTANT PROGRAMS TO LOAD FIRST
|
||||||
|
|
@ -74,6 +76,15 @@
|
||||||
(evil-collection-init))
|
(evil-collection-init))
|
||||||
(use-package evil-tutor
|
(use-package evil-tutor
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
;; Using RETURN to follow links in Org/Evil
|
||||||
|
;; Unmap keys in 'evil-maps if not done, (setq org-return-follows-link t) will not work
|
||||||
|
(with-eval-after-load 'evil-maps
|
||||||
|
(define-key evil-motion-state-map (kbd "SPC") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "RET") nil)
|
||||||
|
(define-key evil-motion-state-map (kbd "TAB") nil))
|
||||||
|
;; Setting RETURN key in org-mode to follow links
|
||||||
|
(setq org-return-follows-link t)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Recent Files
|
** Recent Files
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
@ -140,6 +151,12 @@
|
||||||
"n r m" '(org-roam-dailies-map :wk "Dailies")
|
"n r m" '(org-roam-dailies-map :wk "Dailies")
|
||||||
"n r s" '(org-roam-db-sync :wk "Sync Notes DB (After changes on another device)")
|
"n r s" '(org-roam-db-sync :wk "Sync Notes DB (After changes on another device)")
|
||||||
)
|
)
|
||||||
|
(kylekrein/leader-keys
|
||||||
|
"d" '(:ignore t :wk "Dired")
|
||||||
|
"d d" '(dired :wk "Open dired")
|
||||||
|
"d j" '(dired-jump :wk "Dired jump to current")
|
||||||
|
"d n" '(neotree-dir :wk "Open directory in neotree")
|
||||||
|
"d p" '(peep-dired :wk "Peep-dired"))
|
||||||
|
|
||||||
(kylekrein/leader-keys
|
(kylekrein/leader-keys
|
||||||
"w" '(:ignore t :wk "Windows")
|
"w" '(:ignore t :wk "Windows")
|
||||||
|
|
@ -409,6 +426,30 @@ This package implements hiding or abbreviation of the modeline displays (lighter
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package diminish :ensure t)
|
(use-package diminish :ensure t)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* DIRED (File manager)
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package dired-open
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(setq dired-open-extensions '(("gif" . "gwenview")
|
||||||
|
("jpg" . "gwenview")
|
||||||
|
("png" . "gwenview")
|
||||||
|
("mkv" . "vlc")
|
||||||
|
("mp4" . "vlc"))))
|
||||||
|
|
||||||
|
(use-package peep-dired
|
||||||
|
:ensure t
|
||||||
|
:after dired
|
||||||
|
:hook (evil-normalize-keymaps . peep-dired-hook)
|
||||||
|
:config
|
||||||
|
(evil-define-key 'normal dired-mode-map (kbd "h") 'dired-up-directory)
|
||||||
|
(evil-define-key 'normal dired-mode-map (kbd "l") 'dired-open-file) ; use dired-find-file instead if not using dired-open package
|
||||||
|
(evil-define-key 'normal peep-dired-mode-map (kbd "j") 'peep-dired-next-file)
|
||||||
|
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
|
||||||
|
)
|
||||||
|
|
||||||
|
;;(add-hook 'peep-dired-hook 'evil-normalize-keymaps)
|
||||||
|
#+end_src
|
||||||
* FLYCHECK
|
* FLYCHECK
|
||||||
Install luacheck from your Linux distro’s repositories for flycheck to work correctly with lua files. Install python-pylint for flycheck to work with python files. Haskell works with flycheck as long as haskell-ghc or haskell-stack-ghc is installed. For more information on language support for flycheck, [[https://www.flycheck.org/en/latest/languages.html][read this]].
|
Install luacheck from your Linux distro’s repositories for flycheck to work correctly with lua files. Install python-pylint for flycheck to work with python files. Haskell works with flycheck as long as haskell-ghc or haskell-stack-ghc is installed. For more information on language support for flycheck, [[https://www.flycheck.org/en/latest/languages.html][read this]].
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
@ -571,6 +612,7 @@ Org mode source blocks have some really weird and annoying default indentation b
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(electric-indent-mode -1)
|
(electric-indent-mode -1)
|
||||||
|
(setq org-edit-src-content-indentation 0)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Org Level Headers
|
** Org Level Headers
|
||||||
|
|
@ -959,6 +1001,11 @@ Descriptions for completions
|
||||||
;; Corrects (and improves) org-mode's native fontification.
|
;; Corrects (and improves) org-mode's native fontification.
|
||||||
(doom-themes-org-config))
|
(doom-themes-org-config))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* Transparency
|
||||||
|
With Emacs version 29, true transparency has been added.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(add-to-list 'default-frame-alist '(alpha-background . 90)) ; For all new frames henceforth
|
||||||
|
#+end_src
|
||||||
* WHICH-KEY
|
* WHICH-KEY
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package which-key
|
(use-package which-key
|
||||||
|
|
@ -976,6 +1023,6 @@ Descriptions for completions
|
||||||
which-key-side-window-max-height 0.25
|
which-key-side-window-max-height 0.25
|
||||||
which-key-idle-delay 0.8
|
which-key-idle-delay 0.8
|
||||||
which-key-max-description-length 25
|
which-key-max-description-length 25
|
||||||
which-key-allow-imprecise-window-fit t
|
which-key-allow-imprecise-window-fit nil
|
||||||
which-key-separator " → " ))
|
which-key-separator " → " ))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue