Skip to content

Instantly share code, notes, and snippets.

@koki0702
Last active August 9, 2018 08:53
Show Gist options
  • Save koki0702/518c9c1df4ca8040700ddc7cc040ca66 to your computer and use it in GitHub Desktop.
Save koki0702/518c9c1df4ca8040700ddc7cc040ca66 to your computer and use it in GitHub Desktop.
My init.el for emacs
;; 日本語の設定(UTF-8)
(set-language-environment 'Japanese)
(prefer-coding-system 'utf-8)
;; 警告音もフラッシュも全て無効
(setq ring-bell-function 'ignore)
;; バックアップファイルを作らないようにする
(setq make-backup-files nil)
;; 終了時にオートセーブファイルを消す
(setq delete-auto-save-files t)
;;
(global-set-key "\C-h" 'delete-backward-char)
(global-set-key (kbd "C-z") 'undo) ; 【Ctrl+z】
(global-set-key (kbd "C-S-z") 'redo) ; 【Ctrl+Shift+z】; Mac style
;;インデントのずれ防止
(electric-indent-mode 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment