-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit.el
58 lines (47 loc) · 1.22 KB
/
init.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(require 'package)
;; package-archivesを上書き
(setq package-archives
'(("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")
("gnu" . "https://elpa.gnu.org/packages/")))
;; 所期化
(package-initialize)
;; use-packageがなかったら入れるようにする
(unless (package-installed-p 'use-package)
(package-refresh-contents)
(package-install 'use-package))
;; skkの設定
(use-package ddskk
:ensure t
:custom
(skk-sticky-key ";")
(skk-large-jisyo "~/.cache/dein/nvim/repos/github.com/skk-dev/dict/SKK-JISYO.L")
:bind (("C-x C-j" . skk-mode)))
;; magitの設定
(use-package magit
:ensure t
:bind (("C-x g" . magit-status)))
;; fuzzy finder設定 †vertico†
(use-package vertico
:ensure t
:custom
(vertico-mode t)
:pin gnu)
;; verticoであいまい検索
(use-package orderless
:ensure t
:custom
(completion-styles '(orderless basic)))
;; 補完エンジンの導入
(use-package corfu
:ensure t
:custom
(corfu-auto t)
(global-corfu-mode t)
:pin gnu)
; delete by <C-h>
(keyboard-translate ?\C-h ?\C-?)
(setq custom-file "~/.emacs.d/emacs-custom.el")
(unless (file-exists-p custom-file)
(with-temp-buffer (write-file custom-file)))
(load custom-file)