feat(emacs): more smartparens & i3 rule

This commit is contained in:
Pavel Korytov 2021-01-20 17:39:48 +03:00
parent dfc9956cb8
commit 7c4cc0a498
2 changed files with 9 additions and 0 deletions

View file

@ -108,6 +108,10 @@ bindsym $mod+Shift+0 move container to workspace $w10
bindsym $mod+comma workspace prev
bindsym $mod+period workspace next
# Layout
bindsym $mod+slash exec toggle_layout
assign [class="Emacs"] $w1
assign [class="qutebrowser"] $w2
assign [class="firefox"] $w2
assign [class="VK"] $w3
@ -127,6 +131,8 @@ assign [class="Mailspring"] $w8
assign [class="Thunderbird"] $w8
assign [class="Joplin"] $w8
for_window [title="VirtScreen"] floating enable
for_window [title="ncmpcpp.*"] move to workspace $w9
for_window [class="cinnamon-settings*"] floating enable
for_window [title="Picture-in-Picture"] sticky enable

View file

@ -1384,6 +1384,9 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(add-hook 'svelte-mode-hook
'set-flycheck-eslint)
(add-hook 'svelte-mode-hook #'smartparens-mode)
(my/set-smartparens-indent 'svelte-mode)
#+end_src
** SCSS
#+begin_src emacs-lisp