-
Notifications
You must be signed in to change notification settings - Fork 0
/
.emacs_shell
73 lines (61 loc) · 2.46 KB
/
.emacs_shell
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
;; -*- mode: emacs-lisp; coding: utf-8 -*-
;;; font-lockの設定
(global-font-lock-mode t)
(setq default-frame-alist
(append
'((foreground-color . "white") ; 前景色
(background-color . "black") ; 背景色
;; (font . "fontset-meirio") ; フォント
;; (font . "default") ; フォント
(cursor-color . "green") ; カーソル色
(width . 114) ; フレーム幅(文字数)
(height . 44) ; フレーム高(文字数)
(top . 50) ; フレームの Y 位置(ピクセル数)
(left . 10) ; フレームの X 位置(ピクセル数)
)
default-frame-alist))
(set-face-foreground 'font-lock-comment-face "Color-80")
(set-face-foreground 'font-lock-comment-delimiter-face "Color-80")
(set-face-foreground 'font-lock-string-face "Color-80")
(set-face-foreground 'font-lock-variable-name-face "brightyellow")
(set-face-foreground 'font-lock-type-face "brightyellow")
(set-face-foreground 'font-lock-function-name-face "Color-111")
;;(set-face-foreground 'font-lock-builtin-face "brightblue")
;;(set-face-foreground 'font-lock-constant-face "brightblue")
(set-face-foreground 'font-lock-builtin-face "color-120")
(set-face-foreground 'font-lock-constant-face "color-120")
(set-face-foreground 'font-lock-keyword-face "color-123")
(set-face-foreground 'minibuffer-prompt "color-123")
;; 選択領域の色
(set-face-background 'region "Color-70")
(setq font-lock-support-mode 'jit-lock-mode)
(defface my-face-b-1 '((t (:background "brightwhite"))) nil)
(defface my-face-b-2 '((t (:background "white"))) nil)
(defface my-face-u-1 '((t (:foreground "Color-43" :underline t))) nil)
(defvar my-face-b-1 'my-face-b-1)
(defvar my-face-b-2 'my-face-b-2)
(defvar my-face-u-1 'my-face-u-1)
(setq auto-mode-alist
(append '(("\\.c$" . c-mode)
("\\.py$" . python-mode)
("\\.pyx$" . python-mode)
("\\.cc$" . c++-mode)
("\\.h$" . c++-mode)
("\\.java$" . c++-mode)
("\\.smp$" . c++-mode)
("\\.dat$" . c++-mode)
("\\.vc$" . makefile-mode)
("\\.misc$" . makefile-mode)
("\\.bc$" . makefile-mode)
("\\.el$" . emacs-lisp-mode)
("\\.f$" . fortran-mode)
("\\.F$" . fortran-mode)
("\\.mss$" . scribe-mode)
("\\.pl$" . perl-mode)) auto-mode-alist))
;; リージョンに色を入れる
(setq transient-mark-mode t)
;; メニューバーを非表示
(menu-bar-mode -1)
;; ssh
(require 'tramp)
(setq tramp-default-method "ssh")