先把配置背过吧:
(set-background-color "gray15")
(set-foreground-color "gray")
(global-linum-mode t)
(setq default-tab-width 4)
(show-paren-mode t)
(setq-default cursor-type 'bar)
(global-set-key [f8] 'shell)
(set-background-color "gray15")
(set-foreground-color "gray")
(global-set-key [f8] 'shell)
(global-set-key [f9] 'compile)
(global-set-key [f10] 'gud-gdb)
(setq default-tab-width )
(set-frame-parameter (selected-frame) 'alpha (list 85 50))
(add-to-list 'default-frame-alist (cons 'alpha (list )))
(setq-default cursor-type 'bar)
(show-paren-mode t)
(global-linum-mode t)
(setq c-default-style "awk")
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(cua-mode t nil (cua-base))
'(show-paren-mode t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "宋体" :foundry "outline" :slant normal :weight normal :height 158 :width normal)))))
舒适版
然后调以下几个地方:
Opinion里面,把复制粘贴改成windows常用的那种;
Opinion -> Set Default Font -> Free Mono -> 14;
对拍:
# include
using namespace std;
int main()
{
int n=0;
while (1)
{
n++;
printf("Test %d:\n",n);
system("./data");
system("./std");
system("./my");
if(system("diff std.out my.out"))
{
puts("WA");
getchar();
}else puts("AC");
}
return 0;
}
2019.5.26更新:
今天下载了windows下的emacs,发现以前一直不生效的半透明终于可以用了,真的很好看呢。
(set-frame-parameter (selected-frame) 'alpha (list 85 50))
一个注意事项:windows下的emacs打开终端会非常非常卡,把字体调成宋体就可以解决这个问题。
焦点在页面上的时候是这样的:
焦点不在页面上的时候是这样的:
手机扫一扫
移动阅读更方便
你可能感兴趣的文章