Created
December 19, 2019 15:24
-
-
Save torutk/2b2b8822fe9732eb63415ed8ffe730ff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;; -*- mode: emacs-lisp; coding: iso-2022-7bit -*- | |
;; 文字コードの設定 | |
(set-language-environment "Japanese") | |
(prefer-coding-system 'utf-8-unix) | |
(set-default-coding-systems 'utf-8-unix) | |
(setq file-name-coding-system 'sjis) | |
(setq locale-coding-system 'utf-8) | |
;; フォント設定 | |
(set-face-attribute 'default nil | |
:family "Consolas" | |
:height 80) | |
(set-fontset-font nil 'japanese-jisx0208 | |
(font-spec :family "Meiryo" :size 11)) | |
;; 見栄え設定 | |
; 背景透過 | |
(add-to-list 'default-frame-alist' (alpha . 90)) | |
;; 起動時設定 | |
(setq inhibit-startup-screen t) ; スタートアップ画面を出さない | |
(setq initial-scratch-message "") ; scratch初期メッセージ非表示 | |
(tool-bar-mode -1) ; ツールバー非表示 | |
(set-scroll-bar-mode nil) ; スクロールバー非表示 | |
(setq frame-title-format | |
(format "%%f - Emacs@%s" (system-name))) | |
(setq-default line-spacing 0) | |
; テーマ設定 | |
(setq custom-theme-directory "~/.emacs.d/themes/") | |
(load-theme 'blackboard t) | |
;; emacs server for emacsclient | |
(require 'server) | |
(unless (server-running-p) | |
(server-force-delete) | |
(server-start)) | |
;; backup file in the directory | |
(setq backup-directory-alist | |
(cons (cons "\\.*$" (expand-file-name "~/.emacs.d/backup")) | |
backup-directory-alist)) | |
;; yaml | |
(autoload 'yaml-mode "yaml-mode") | |
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) | |
(cd "~") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment