summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahiel Kasim <rahiel.kasim@kabisa.nl>2022-06-18 16:06:33 +0200
committerRahiel Kasim <rahiel.kasim@kabisa.nl>2022-06-18 16:06:33 +0200
commitac8ee1cd223ef8e115faa01f7a6715e4fb314593 (patch)
tree27e3bc125cd4200df93b37b6e8d1d91d738cde16
parent0e991cbc12292a9fa31ce625974e12782d474ebe (diff)
emacs config tweaks + macOS packages
-rw-r--r--emacs/.doom.d/config.el8
-rw-r--r--emacs/.doom.d/init.el2
-rw-r--r--emacs/.doom.d/packages.el1
-rwxr-xr-xmacos.bash4
4 files changed, 13 insertions, 2 deletions
diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el
index 5d9fa63..7c0b29c 100644
--- a/emacs/.doom.d/config.el
+++ b/emacs/.doom.d/config.el
@@ -84,7 +84,9 @@
"M-%" #'anzu-query-replace
"C-c r" #'anzu-query-replace-at-cursor
"C-c m" #'magit-status-here
- "C-c d" #'define-word-at-point)
+ "M-;" #'comment-dwim-2
+ "C-c d" #'define-word-at-point
+ "s-n" #'make-frame)
;; Better C-w
(require 'crux)
@@ -105,3 +107,7 @@
(defun insert-iso-date ()
(interactive)
(insert (format-time-string "%F")))
+
+;; web mode
+(setq web-mode-engines-alist
+ '(("django" . "\\.html\\'")))
diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el
index 07bbfe4..69b01c8 100644
--- a/emacs/.doom.d/init.el
+++ b/emacs/.doom.d/init.el
@@ -81,7 +81,7 @@
:checkers
syntax ; tasing you for every semicolon you forget
- (spell +everywhere) ; tasing you for misspelling mispelling
+ (spell +flyspell +everywhere) ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make
:tools
diff --git a/emacs/.doom.d/packages.el b/emacs/.doom.d/packages.el
index dcbe438..01402c1 100644
--- a/emacs/.doom.d/packages.el
+++ b/emacs/.doom.d/packages.el
@@ -50,4 +50,5 @@
;(unpin! t)
(package! crux)
+(package! comment-dwim-2)
(package! define-word)
diff --git a/macos.bash b/macos.bash
index bfc0391..4cff22d 100755
--- a/macos.bash
+++ b/macos.bash
@@ -19,8 +19,10 @@ brew install --cask emacs-mac
brew install --cask \
chromium \
firefox \
+ keepassxc \
ngrok \
telegram-desktop
+ tunnelblick \
brew install \
aspell \
@@ -28,6 +30,8 @@ brew install \
fd \
ffmpeg \
gh \
+ kubernetes-cli \
+ watch \
git \
htop \
ipython \