Update configs

This commit is contained in:
2020-07-02 10:30:07 -07:00
parent 787eab75dd
commit f39ffd1b94
2 changed files with 28 additions and 10 deletions

View File

@@ -56,8 +56,7 @@ Configure some startup parameters.
(setq inhibit-splash-screen t) ;; disable the splash screen on boot
(menu-bar-mode 0) ;; disable the menu bar
(tool-bar-mode 0) ;; disable the tool bar
;; (scroll-bar-mode 0) ;; disable scroll bars
(scroll-bar-mode 0) ;; disable scroll bars
#+END_SRC
*** Deleting
@@ -111,7 +110,8 @@ Monokai theme is my theme of choice.
#+BEGIN_SRC emacs-lisp
(use-package monokai-theme)
(set-frame-font "Ubuntu Mono-12" nil t)
;; This is busted when the font isn't installed (i.e. on MacOS)
;; (set-frame-font "Ubuntu Mono-12" nil t)
#+END_SRC
*** Navigation
@@ -203,6 +203,23 @@ When doing compilation, always jump to the first error to reduce development cyc
(setq compilation-auto-jump-to-first-error t)
#+END_SRC
*** Dired
=dired-tree= allows expanding directories in dired buffers. This is
nice for pinning a dired buffer to the side to use as a file browser.
#+BEGIN_SRC emacs-lisp
(use-package dired-tree)
#+END_SRC
=dired= is great, but too detailed by default. Disable
#+BEGIN_SRC emacs-lisp
(use-package dired
:hook ((dired . dired-hide-details-mode)
(dired . (lambda (toggle-truncate-lines t))))
:bind ("<TAB>" . dired-subtree-toggle))
#+END_SRC
*** Git (=magit=)
Install magit, the emacs porcelain for git.

View File

@@ -20,6 +20,7 @@ if [[ $NEEDS_GIT_DIR != 0 ]]; then
git init --bare ~/.git_home/
git-home remote add origin https://gitlab.maxregan.me/max/configs.git
git-home branch master --set-upstream-to origin/master
git-home config status.showUntrackedFiles no
fi
echo "Checking out configs."