Created
November 26, 2012 07:48
-
-
Save rn404/4147078 to your computer and use it in GitHub Desktop.
xyzzy setup
This file contains hidden or 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
(require "ni/setup") | |
;; 自動設定を利用する | |
(ni-autoload) | |
;; html+-modeの追加 | |
(export 'ed::html+-mode "ed") | |
(autoload 'html+-mode "html+-mode" t) | |
(pushnew '("\\.s?html?$" . html+-mode) *auto-mode-alist* :test 'equal) | |
;;(defvar ed::*html-keyword-file* "C:\Program Files\xyzzy\etc\HTML") | |
(setq ed::*html-keyword-file* "HTML") | |
;; html+-modeの改行インデントをなくす | |
(export 'ed::html+-mode "ed") | |
;;(setq ed::*html+-indent-column* 0) | |
;; php-modeの追加 | |
(load-library "php-mode") | |
(pushnew '("\\.php$" . php-mode) *auto-mode-alist*) | |
;; py-modeの追加 | |
(load-library "py-mode") | |
(push '("\\.py$" . py-mode) *auto-mode-alist*) | |
;; javascript-modeの追加 | |
(load-library "javascript-mode") | |
(push '("\\.js$" . javascript-mode) *auto-mode-alist*) | |
;; css+-modeの追加 | |
(export 'ed::css+-mode "ed") | |
(autoload 'css+-mode "css+-mode" t) | |
(pushnew '("\\.css$" . css+-mode) *auto-mode-alist* :test 'equal) | |
(pushnew '("\\.scss$" . css+-mode) *auto-mode-alist* :test 'equal) | |
;; conf-modeの追加 | |
(load-library "conf-mode") | |
(push '("\\.cl$" . conf-mode) *auto-mode-alist*) | |
;; .ssnの紐付け | |
(add-hook '*before-find-file-hook* | |
#'(lambda (x) | |
(when (string-matchp "\\.ssn$" x) | |
(load-session x) | |
(selected-buffer)))) | |
;; backupフォルダの設定 | |
(require "backup") | |
(setq *backup-directory* "D:/dashboard/_dat/") | |
(setq *hierarchic-backup-directory* t) | |
; 文字コード : utf-8n | |
(setq *default-fileio-encoding* *encoding-utf8n*) | |
; 改行コード : CRLF | |
(setq *default-eol-code* *eol-crlf*) | |
(add-hook '*before-find-file-hook* | |
#'(lambda (x) | |
(when (string-matchp "\\.ssn$" x) | |
(load-session x) | |
(selected-buffer)))) | |
(setq *print-completion-list-hook* | |
'(lambda (list prefix &optional string) | |
(popup-string (format nil "Possible completions are ~D | |
items:\n~{\n~A~}" (length list) list) (point)))) |
This file contains hidden or 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
[Font] | |
Ascii=14,"Consolas",0 | |
Japanese=12,"MS ゴシック",128 | |
Latin=18,"Courier New",0 | |
Cyrillic=18,"Courier New",0 | |
Greek=18,"Courier New",0 | |
GB2312=18,"MS Hei",0 | |
BIG5=18,"MingLiu",0 | |
KSC5601=18,"GulimChe",0 | |
Georgian=18,"BPG Courier New U",0 | |
lineSpacing=4 | |
backslash=0 | |
recommendSize=0 | |
sizePixel=1 | |
[Colors] | |
textColor=#b7d7d6 | |
backColor=#191919 | |
ctlColor=#494747 | |
selectionTextColor=#fffffff | |
selectionBackColor=#eff9933 | |
kwdColor1=#5a14f3 | |
kwdColor2=#39cea6 | |
kwdColor3=#800080 | |
stringColor=#1aa6fa | |
commentColor=#ffde5b | |
tagColor=#f3c000 | |
cursorColor=#ffff00 | |
caretColor=#ffffff | |
imeCaretColor=#80 | |
linenum=#808080 | |
reverse=#800080 | |
unselectedModeLineFg=#dac934 | |
unselectedModeLineBg=#313131 | |
modeLineFg=#15ffffff | |
modeLineBg=#0 | |
fg1=#ff | |
bg1=#ff | |
fg2=#ff00 | |
bg2=#ff00 | |
fg3=#ffff | |
bg3=#ffff | |
fg4=#ff0000 | |
bg4=#ff0000 | |
fg5=#ff00ff | |
bg5=#ff00ff | |
fg6=#ffff00 | |
bg6=#ffff00 | |
fg7=#ffffff | |
bg7=#ffffff | |
fg8=#0 | |
bg8=#0 | |
fg9=#80 | |
bg9=#80 | |
fg10=#8000 | |
bg10=#8000 | |
fg11=#8080 | |
bg11=#8080 | |
fg12=#800000 | |
bg12=#800000 | |
fg13=#800080 | |
bg13=#800080 | |
fg14=#808000 | |
bg14=#808000 | |
fg15=#808080 | |
bg15=#808080 | |
buftabSelFg=#13000000 | |
buftabSelBg=#10f0f0f0 | |
buftabDispFg=#13000000 | |
buftabDispBg=#10f0f0f0 | |
buftabFg=#13000000 | |
buftabBg=#10f0f0f0 | |
tabSelFg=#13000000 | |
tabSelBg=#10f0f0f0 | |
tabFg=#13000000 | |
tabBg=#10f0f0f0 | |
custColor0=#dac934 | |
custColor1=#ffffff | |
custColor2=#ffffff | |
custColor3=#ffffff | |
custColor4=#ffffff | |
custColor5=#ffffff | |
custColor6=#ffffff | |
custColor7=#ffffff | |
custColor8=#ffffff | |
custColor9=#ffffff | |
custColor10=#ffffff | |
custColor11=#ffffff | |
custColor12=#ffffff | |
custColor13=#ffffff | |
custColor14=#ffffff | |
custColor15=#ffffff | |
[Filer] | |
textColor=#9000000 | |
backColor=#6ffffff | |
highlightTextColor=#fffffff | |
highlightBackColor=#eff9933 | |
cursorColor=#c000c0 | |
column=200,65,116,44 | |
s1920x1200=(749,186)-(1365,681),1 | |
sort=0 | |
columnLeft=121,65,116,44 | |
columnRight=121,65,116,44 | |
1920x1200=(386,231)-(1141,700),1 | |
sortRight=0 | |
sortLeft=0 | |
[Misc] | |
1920x1200=(530,8)-(1335,1035),1 | |
saveWindowSize=1 | |
saveWindowPosition=1 | |
restoreWindowSize=1 | |
restoreWindowPosition=1 | |
windowFlags=#15ff | |
fnkeyLabels=0 | |
foldMode=-1 | |
foldLinenumMode=1 | |
1200x1920=(1200,281)-(2295,1451),3 | |
saveWindowSnapSize=0 | |
[BufferSelector] | |
column=165,65,100,320 | |
1920x1200=(346,290)-(1005,689),1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment