Moved emacs ledger-cli configs to a seperate file and added powerline to emacs

clean_emacs
TuDatTr 2018-03-15 12:24:46 +01:00
parent cf73613d41
commit 7fc1e7ff88
No known key found for this signature in database
GPG Key ID: 0DA1B0B23302CA72
2 changed files with 16 additions and 21 deletions

View File

@ -14,7 +14,6 @@ white = ${xrdb:color7:#cdd}
[bar/beep]
monitor = eDP1
width = 100%
height = 25
@ -44,7 +43,6 @@ cursor-click = pointer
cursor-scroll = ns-resize
[bar/boop]
monitor = eDP1
width = 100%
height = 2%
bottom = true

View File

@ -52,6 +52,7 @@ A list of installed packages and details about them.
(use-package rainbow-mode)
(use-package smartparens)
(use-package swiper)
(use-package powerline)
;; (use-package yasnippet) is a dep
#+END_SRC
@ -63,7 +64,7 @@ A list of installed packages and details about them.
'(truncate-lines t))
#+END_SRC
* Themes
* Appearance
Using the [[https://github.com/cpaulik/emacs-material-theme][Material]]-Theme.
#+BEGIN_SRC emacs-lisp
(load-theme 'material t)
@ -75,6 +76,17 @@ Changes the Emacs background to the terminals defaults. (Generally)
'(lambda ()
(set-face-background 'default "unspecified-bg")))
#+END_SRC
Remove menubar
#+BEGIN_SRC emacs-lisp
(menu-bar-mode -1)
#+END_SRC
Powerline for Emacs
#+BEGIN_SRC emacs-lisp
(powerline-center-theme)
#+END_SRC
* Emacs behavior
Save auto-save files in ~/.emacs-save
#+BEGIN_SRC emacs-lisp
@ -83,8 +95,6 @@ Changes the Emacs background to the terminals defaults. (Generally)
'((".*" "~/.emacs-saves/" t)))
#+END_SRC
* Functions
All the functions I use.
** Cut/Copy and Paste by Boruch Baum
@ -177,9 +187,6 @@ Copy word
* Modes
** Window Modes
#+BEGIN_SRC emacs-lisp
(menu-bar-mode -1)
#+END_SRC
** Autocomplete
#+BEGIN_SRC emacs-lisp
(ac-config-default)
@ -279,18 +286,8 @@ Globaly highlight the current line in a slightly darker shade of grey.
** Ledger
#+BEGIN_SRC emacs-lisp
(custom-set-variables
'(ledger-reports
(quote
(("balance" "%(binary) -f %(ledger-file) bal Brieftasche Girokonto")
("bal" "%(binary) -f %(ledger-file) bal")
("reg" "%(binary) -f %(ledger-file) reg")
("payee" "%(binary) -f %(ledger-file) reg @%(payee)")
("account" "%(binary) -f %(ledger-file) reg %(account)"))))
)
(org-babel-load-file "~/.emacs.d/ledger.org")
#+END_SRC
** Personal
#+BEGIN_SRC emacs-lisp
(defvar my-keys-minor-mode-map