Browse Source

Added web mode tweaks in emacs and fixed kbdback

master
Josh Wolfe 3 years ago
parent
commit
b28aef9e92
2 changed files with 10 additions and 4 deletions
  1. 0
    3
      bin/bin/kbdbacklight
  2. 10
    1
      emacs/.emacs.d/README.org

+ 0
- 3
bin/bin/kbdbacklight View File

@@ -1,3 +0,0 @@
#!/bin/sh
LEVEL=$(cat /sys/class/leds/asus::kbd_backlight/brightness)
echo -n $(($LEVEL + $1)) > /sys/class/leds/asus::kbd_backlight/brightness

+ 10
- 1
emacs/.emacs.d/README.org View File

@@ -644,7 +644,16 @@ Better narrowing.
(use-package web-mode
:config
(add-to-list 'auto-mode-alist '("\\.html\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)))
(add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode))

;; Jump between opening and closing tags
(evil-declare-key 'normal web-mode-map (kbd "%") 'web-mode-navigate)
(evil-declare-key 'visual web-mode-map (kbd "%") 'web-mode-navigate)

(setq web-mode-enable-auto-closing t)
(setq web-mode-enable-auto-opening t)
(setq web-mode-enable-auto-indentation t))

#+END_SRC

** Haskell

Loading…
Cancel
Save