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
|
||||||
@@ -168,19 +168,19 @@ templates yet.
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org
|
(use-package org
|
||||||
:bind (("C-c o c" . org-capture)
|
:bind (("C-c o c" . org-capture)
|
||||||
("C-c o l" . org-store-link))
|
("C-c o l" . org-store-link))
|
||||||
:custom (initial-major-mode 'org-mode)
|
:custom (initial-major-mode 'org-mode)
|
||||||
(org-src-tab-acts-natively t)
|
(org-src-tab-acts-natively t)
|
||||||
(org-confirm-babel-evaluate nil)
|
(org-confirm-babel-evaluate nil)
|
||||||
(org-capture-templates
|
(org-capture-templates
|
||||||
'(("b" "Bookmark" entry
|
'(("b" "Bookmark" entry
|
||||||
(file+headline "~/notes/bookmarks.org" "Unsorted")
|
(file+headline "~/notes/bookmarks.org" "Unsorted")
|
||||||
"* %T %^{Title}\n\n Source: %u, %c\n\n %i")))
|
"* %T %^{Title}\n\n Source: %u, %c\n\n %i")))
|
||||||
:init (org-babel-do-load-languages 'org-babel-load-languages
|
:init (org-babel-do-load-languages 'org-babel-load-languages
|
||||||
'((shell . t)
|
'((shell . t)
|
||||||
(ruby . t)
|
(ruby . t)
|
||||||
(python . t)
|
(python . t)
|
||||||
(C . t))))
|
(C . t))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** org-journal
|
*** org-journal
|
||||||
@@ -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