Added erc configuration. Better "documentation" at dashboard
customization And doom emacs line
This commit is contained in:
parent
8ba5b1e5d8
commit
74c67c9163
1 changed files with 16 additions and 26 deletions
42
config.org
42
config.org
|
@ -1,10 +1,9 @@
|
||||||
|
|
||||||
#+AUTHOR: qorg11
|
#+AUTHOR: qorg11
|
||||||
#+TITLE: emacs config
|
#+TITLE: emacs config
|
||||||
#+OPTIONS: toc:nil
|
#+OPTIONS: toc:nil
|
||||||
|
|
||||||
* qorg's Emacs config
|
* qorg's Emacs config
|
||||||
|
|
||||||
This is my Emacs configuration. Hope you like it.
|
This is my Emacs configuration. Hope you like it.
|
||||||
|
|
||||||
** Installation
|
** Installation
|
||||||
|
@ -17,7 +16,7 @@
|
||||||
* I don't like spacemacs
|
* I don't like spacemacs
|
||||||
* I don't want to learn doom emacs
|
* I don't want to learn doom emacs
|
||||||
* I don't want to learn spacemacs
|
* I don't want to learn spacemacs
|
||||||
|
* I don't like Vim
|
||||||
** About me
|
** About me
|
||||||
Here I set variables about personal information i'll use later in
|
Here I set variables about personal information i'll use later in
|
||||||
this config.
|
this config.
|
||||||
|
@ -108,17 +107,6 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(global-set-key (kbd "C-x C-r") 'sudo-edit-find-file))
|
(global-set-key (kbd "C-x C-r") 'sudo-edit-find-file))
|
||||||
;; dd in Vim, this is here because call-cc told me.
|
|
||||||
|
|
||||||
(defun delete-shit ()
|
|
||||||
(interactive)
|
|
||||||
(move-beginning-of-line nil)
|
|
||||||
(kill-line)
|
|
||||||
(forward-line -1))
|
|
||||||
|
|
||||||
(global-set-key (kbd "M-m") 'delete-shit)
|
|
||||||
|
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* No idea
|
* No idea
|
||||||
|
@ -449,6 +437,14 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
(use-package beacon
|
(use-package beacon
|
||||||
:ensure t
|
:ensure t
|
||||||
:init(beacon-mode 1))
|
:init(beacon-mode 1))
|
||||||
|
#+END_SRC
|
||||||
|
** erc
|
||||||
|
Erc is an irc client that is used inside emacs.
|
||||||
|
Here I configure it.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(setq erc-default-server website)
|
||||||
|
(setq erc-nick name)
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* ido
|
* ido
|
||||||
Ido is a replacement for keybindings such as C-x C-f and C-x b. Here
|
Ido is a replacement for keybindings such as C-x C-f and C-x b. Here
|
||||||
|
@ -471,7 +467,7 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
|
|
||||||
* Dashboard
|
* Dashboard
|
||||||
Dashboard. You can change
|
Dashboard. You can change
|
||||||
~/.emacs.d/elpa/dashboard-20200306.1344/banners/logo.png to use your
|
~/.emacs.d/img/logo.png
|
||||||
own logo instead of Lain.
|
own logo instead of Lain.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
|
@ -486,19 +482,13 @@ Including indent-buffer, which should not be called automatically on save."
|
||||||
(setq dashboard-set-heading-icons t)
|
(setq dashboard-set-heading-icons t)
|
||||||
(setq dashboard-set-file-icons t))
|
(setq dashboard-set-file-icons t))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Powerline
|
* Doom Emacs line
|
||||||
Powerline, because emacs default bar sucks
|
Doom-modeline, because emacs default bar sucks
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
||||||
(use-package powerline
|
(use-package doom-modeline
|
||||||
:ensure t
|
:ensure t
|
||||||
:init
|
:init(doom-modeline-mode 1))
|
||||||
(powerline-default-theme)
|
|
||||||
|
|
||||||
(set-face-background 'mode-line
|
|
||||||
"#080c0d")
|
|
||||||
(set-face-foreground 'mode-line
|
|
||||||
"#cad5d8"))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* Screenshot
|
* Screenshot
|
||||||
|
|
Loading…
Add table
Reference in a new issue