summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2019-09-09 18:08:46 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2019-09-09 18:25:44 -0400
commit8b97d71ae1726c95be9f3ad64b6d2eca9afd8cda (patch)
treec85939391b2b9f3269074ed7fca2d5348d5ce7de
parentf21ea73d795814ad4adf20a9547a30e9d8fdde9d (diff)
spacemacs
-rw-r--r--Xresources-aji3
-rwxr-xr-xbin/kj-setup.sh3
-rw-r--r--spacemacs8
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)