Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Latest commit

 

History

History
89 lines (89 loc) · 3.18 KB

early-init.org

File metadata and controls

89 lines (89 loc) · 3.18 KB

early-init.el - Configurations for GNU Emacs

early-init.el

Header

;; early-init.el --- My early-init.el -*- lexical-binding: t -*-

自動的なpackageのロードを無効にする

(setq package-enable-at-startup nil)

tab bar非表示

(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)

スタートアップメッセージを非表示

(setq inhibit-startup-message t)

自動生成ファイルを無効にする

(setq make-backup-files nil)
(setq auto-save-default nil)
(setq auto-save-list-file-prefix nil)
(setq create-lockfiles nil)

time locale

(setq system-time-locale "C")

GC/Memory

(setq gc-cons-threshold (* 128 1024 1024))
(setq garbage-collection-messages nil)

read-process

(setq read-process-output-max (* 8 1024 1024))

indent

(setq indent-tabs-mode nil)

ビープ音を消す

(setq ring-bell-function 'ignore)

デフォルトのpathをかえる

(setq default-directory "~/")
(setq command-line-default-directory "~/")

kill-ringのサイズを変更

(setq kill-ring-max 100000)
(custom-set-variables '(savehist-additional-variables '(kill-ring)))

折り返ししない

(setq truncate-lines t)
(setq truncate-partial-width-windows t)

scratch buffer

(setq initial-scratch-message nil)
(setq initial-major-mode 'org-mode)

x session resourcesを無視します

(advice-add 'x-apply-session-resources :override 'ignore)

history-delete-duplicates

(setq history-delete-duplicates t)

vc-follow-symlinks

(setq vc-follow-symlinks t)