update
This commit is contained in:
parent
b8c06cc7e4
commit
bf66520d06
1 changed files with 21 additions and 10 deletions
15
config.org
15
config.org
|
@ -116,6 +116,9 @@ it. I don't think i'd ever use the overwritten.
|
|||
:defer 1)
|
||||
#+END_SRC
|
||||
* My functions
|
||||
|
||||
|
||||
|
||||
Functions I wrote because emacs lisp is cool and useful.
|
||||
#+begin_src emacs-lisp
|
||||
(defun sosa/goto-previous-buffer ()
|
||||
|
@ -200,6 +203,7 @@ Sane defaults!!!
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(tool-bar-mode -1)
|
||||
(menu-bar-mode -1)
|
||||
|
||||
(scroll-bar-mode -1)
|
||||
(global-hl-line-mode)
|
||||
(set-face-background hl-line-face "#434343")
|
||||
|
@ -212,6 +216,9 @@ Sane defaults!!!
|
|||
(set-face-background 'line-number nil)
|
||||
(set-face-background 'line-number-current-line nil)
|
||||
(setq-default Man-notify-method 'pushy)
|
||||
;; BSD specific options
|
||||
(cond ((eq system-type 'berkeley-unix)
|
||||
(setq insert-directory-program "/usr/local/bin/gls")))
|
||||
#+END_SRC
|
||||
** Highlight matching parentheses
|
||||
Useful for programming in lisp. I don't program in Lisp, but well.
|
||||
|
@ -274,8 +281,9 @@ And to have multiple buffers
|
|||
#+begin_src emacs-lisp
|
||||
(use-package plan9-theme
|
||||
:ensure t
|
||||
:init(load-theme 'plan9 t))
|
||||
:init(load-theme 'wombat t))
|
||||
(set-cursor-color "purple")
|
||||
#+end_src
|
||||
** ctrlf
|
||||
So, you know, C-s in emacs sucks, so this is a repleacement for that.
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
@ -385,6 +393,8 @@ to fallback to hunspell. which does the same.
|
|||
Ahhh, the emacs file browser, better than ranger and others...
|
||||
Hide dotfiles:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package dired-icon
|
||||
:ensure t)
|
||||
|
||||
(use-package dired-hide-dotfiles
|
||||
:ensure t
|
||||
|
@ -393,7 +403,7 @@ Hide dotfiles:
|
|||
"My `dired' mode hook."
|
||||
;; To hide dot-files by default
|
||||
(dired-hide-dotfiles-mode)
|
||||
|
||||
(dired-icon-mode)
|
||||
;; To toggle hiding
|
||||
(define-key dired-mode-map "." #'dired-hide-dotfiles-mode))
|
||||
|
||||
|
@ -404,6 +414,7 @@ Hide dotfiles:
|
|||
(add-hook 'dired-mode-hook
|
||||
(lambda ()
|
||||
(dired-hide-details-mode)))
|
||||
|
||||
#+END_SRC
|
||||
Now let's make the thing lysergic
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Add table
Reference in a new issue