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] [bar/beep]
monitor = eDP1
width = 100% width = 100%
height = 25 height = 25
@ -44,7 +43,6 @@ cursor-click = pointer
cursor-scroll = ns-resize cursor-scroll = ns-resize
[bar/boop] [bar/boop]
monitor = eDP1
width = 100% width = 100%
height = 2% height = 2%
bottom = true bottom = true

View File

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