#+begin_src emacs-lisp
(global-display-line-numbers-mode)
(setq display-line-numbers-type 'relative)
- (dolist (no-line-num '(term-mode-hook
+ (dolist (no-line-num '(
+ Man-mode-hook
+ circe-mode-hook
+ eshell-mode-hook
+ helpful-mode-hook
+ org-mode-hook
pdf-view-mode-hook
shell-mode-hook
- org-mode-hook
- circe-mode-hook
- eshell-mode-hook))
+ term-mode-hook
+ ))
(add-hook no-line-num (lambda () (display-line-numbers-mode 0))))
#+end_src
** Highlight matching parenthesis
#+begin_src emacs-lisp
(setq auth-sources '("~/.emacs.d/authinfo.gpg"))
#+end_src
+** Shackle
+#+begin_src emacs-lisp
+ (use-package shackle
+ :config (shackle-mode)
+ :custom (shackle-rules '(
+ (Man-mode :select t)
+ )))
+#+end_src
* Evil mode
** General
#+begin_src emacs-lisp
(add-hook 'before-save-hook 'clang-format-buffer-smart nil)
#+end_src
+** KISS
+#+begin_src emacs-lisp
+ (append auto-mode-alist '("/home/armaa/repos/" . sh-mode))
+#+end_src
+** Shell
+#+begin_src emacs-lisp
+ (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p)
+#+end_src
* General text editing
** Spell checking
Spell check in text mode, and in prog-mode comments.
export GOPATH="$HOME/.local/share/go"
export JUPYTER_CONFIG_DIR="$HOME/.config/jupyter"
export IPYTHON_DIR="$HOME/.local/share/ipython"
+ export DISTCC_DIR="$HOME/.local/state/distcc"
export PAGER='less'
export GTK_USE_PORTAL=1