diff options
| author | DrNuget <drnuget@outlook.com> | 2025-11-30 01:39:43 +0200 |
|---|---|---|
| committer | DrNuget <drnuget@outlook.com> | 2025-11-30 01:39:43 +0200 |
| commit | a4ea0e03528c9147d1ac7b536455382fd54ae97d (patch) | |
| tree | 5488b5ebb55a96d1bb505610bf8c801f15408b48 | |
| parent | 9529d31b1d08422d1b06b513a222d910ba823b92 (diff) | |
| download | dotfiles-a4ea0e03528c9147d1ac7b536455382fd54ae97d.tar.gz | |
emacs add autopairs
| -rw-r--r-- | .emacs | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -18,6 +18,17 @@ (setq-default tab-width 4) (setq-default indent-tabs-mode t) +(setq electric-pair-pairs + '( + (?\" . ?\") + (?\{ . ?\}) + (?\( . ?\)) + (?\[ . ?\]) + (?\' . ?\') + )) +(electric-pair-mode 1) + + (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) ;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities` |
