.emacsの作り方と設定
C-x C-f ~/.emacs
ホームフォルダに.emacsをつくる
あとは設定を書き込めばおk
以下は設定内容
;; タブキー
(setq default-tab-width 2)
(setq indent-line-function 'indent-relative-maybe)
;; シフト + 矢印で範囲選択
(setq pc-select-selection-keys-only t)
(pc-selection-mode 1)
;; ウィンドウを透明化
(add-to-list 'default-frame-alist '(alpha . (0.85 0.85)))
;; ウィンドウ設定
(if window-system (progn
(setq initial-frame-alist '*1
;; スタートアップページを表示しない
(setq inhibit-startup-message t)
参考サイト
http://blog.s2factory.co.jp/yoshizu/2008/05/carbon-emacs.html
*1:width . 100) (height . 40))) (set-background-color "Black") (set-foreground-color "White") (set-cursor-color "Gray")