From 8b97d71ae1726c95be9f3ad64b6d2eca9afd8cda Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Mon, 9 Sep 2019 18:08:46 -0400 Subject: spacemacs --- Xresources-aji | 3 ++- bin/kj-setup.sh | 3 +++ spacemacs | 8 +++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Xresources-aji b/Xresources-aji index ad952fd..61ee782 100644 --- a/Xresources-aji +++ b/Xresources-aji @@ -1,4 +1,4 @@ -urxvt*font: xft:dejavu sans mono:size=12:antialias=true +urxvt*font: xft:dejavu sans mono:size=10:antialias=true !urxvt*font: xft:inconsolata:size=14:antialias=true urxvt*scrollBar: false @@ -12,6 +12,7 @@ Xft.rgba: rgb Xft.hinting: true Xft.hintstyle: hintslight +URxvt.perl-lib: /home/orbekk/.urxvt/ext URxvt.keysym.M-c: perl:clipboard:copy URxvt.keysym.M-v: perl:clipboard:paste URxvt.scrollBar: false diff --git a/bin/kj-setup.sh b/bin/kj-setup.sh index 3073e25..3999f23 100755 --- a/bin/kj-setup.sh +++ b/bin/kj-setup.sh @@ -78,6 +78,9 @@ create_symlink ../dotfiles/i3/config .i3/config create_symlink dotfiles/i3status.conf .i3status.conf create_symlink dotfiles/i3blocks.conf .i3blocks.conf +mkdir -p .urxvt/ext +create_symlink ../../dotfiles/urxvt/ext/resize-font .urxvt/ext/resize-font + # Don't use on new machines. # create_symlink dotfiles/vimrc .vimrc # if [[ -e .vim/bundle/Vundle.vim ]]; then diff --git a/spacemacs b/spacemacs index 63d9bd4..9880177 100644 --- a/spacemacs +++ b/spacemacs @@ -51,6 +51,7 @@ values." gnus mu4e nixos + ess (mu4e :variables mu4e-installation-path "/usr/share/emacs/site-lisp") ) @@ -58,7 +59,7 @@ values." ;; wrapped in a layer. If you need some configuration for these ;; packages then consider to create a layer, you can also put the ;; configuration in `dotspacemacs/config'. - dotspacemacs-additional-packages '() + dotspacemacs-additional-packages '(hledger-mode) ;; A list of packages and/or extensions that will not be install and loaded. dotspacemacs-excluded-packages '(smartparens flyspell evil-jumper) ;; If non-nil spacemacs will delete any orphan packages, i.e. packages that @@ -231,6 +232,7 @@ user code." (evil-leader/set-key "ort" #'org-agenda-file-to-front) (evil-leader/set-key "orl" #'org-store-link) (evil-leader/set-key "ora" #'org-agenda) + (evil-leader/set-key "ol" #'hledger-jentry) (evil-leader/set-key "ot" (lambda () (interactive) (org-capture nil "t"))) ) @@ -301,6 +303,10 @@ user code." layers configuration. You are free to put any user code." (setq custom-file "~/.spacemacs.local") (add-hook 'haskell-mode-hook 'turn-on-haskell-indent) + (add-hook 'ess-mode-hook + (lambda () + (ess-toggle-underscore nil))) + (add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode)) (setq-default vc-follow-symlinks nil web-mode-code-indent-offset 2) -- cgit v1.2.3