Update configs
This commit is contained in:
@@ -56,8 +56,7 @@ Configure some startup parameters.
|
|||||||
(setq inhibit-splash-screen t) ;; disable the splash screen on boot
|
(setq inhibit-splash-screen t) ;; disable the splash screen on boot
|
||||||
(menu-bar-mode 0) ;; disable the menu bar
|
(menu-bar-mode 0) ;; disable the menu bar
|
||||||
(tool-bar-mode 0) ;; disable the tool 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
|
#+END_SRC
|
||||||
|
|
||||||
*** Deleting
|
*** Deleting
|
||||||
@@ -111,7 +110,8 @@ Monokai theme is my theme of choice.
|
|||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package monokai-theme)
|
(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
|
#+END_SRC
|
||||||
|
|
||||||
*** Navigation
|
*** 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)
|
(setq compilation-auto-jump-to-first-error t)
|
||||||
#+END_SRC
|
#+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=)
|
*** Git (=magit=)
|
||||||
|
|
||||||
Install magit, the emacs porcelain for git.
|
Install magit, the emacs porcelain for git.
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ if [[ $NEEDS_GIT_DIR != 0 ]]; then
|
|||||||
git init --bare ~/.git_home/
|
git init --bare ~/.git_home/
|
||||||
git-home remote add origin https://gitlab.maxregan.me/max/configs.git
|
git-home remote add origin https://gitlab.maxregan.me/max/configs.git
|
||||||
git-home branch master --set-upstream-to origin/master
|
git-home branch master --set-upstream-to origin/master
|
||||||
|
git-home config status.showUntrackedFiles no
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Checking out configs."
|
echo "Checking out configs."
|
||||||
|
|||||||
Reference in New Issue
Block a user