NOI-LINUX

先把配置背过吧:

(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)

 

 1 (set-background-color "gray15")
 2 (set-foreground-color "gray")
 3 
 4 (global-set-key [f8] 'shell)
 5 (global-set-key [f9] 'compile)
 6 (global-set-key [f10] 'gud-gdb)
 7 
 8 (setq default-tab-width 4)
 9 
10 (set-frame-parameter (selected-frame) 'alpha (list 85 50))
11 (add-to-list 'default-frame-alist (cons 'alpha (list 85 50)))
12 (setq-default cursor-type 'bar)
13 (show-paren-mode t)
14 (global-linum-mode t)
15 (setq c-default-style "awk")
16 (custom-set-variables
17  ;; custom-set-variables was added by Custom.
18  ;; If you edit it by hand, you could mess it up, so be careful.
19  ;; Your init file should contain only one such instance.
20  ;; If there is more than one, they won't work right.
21  '(cua-mode t nil (cua-base))
22  '(show-paren-mode t))
23 (custom-set-faces
24  ;; custom-set-faces was added by Custom.
25  ;; If you edit it by hand, you could mess it up, so be careful.
26  ;; Your init file should contain only one such instance.
27  ;; If there is more than one, they won't work right.
28  '(default ((t (:family "宋体" :foundry "outline" :slant normal :weight normal :height 158 :width normal)))))
舒适版

 

 

然后调以下几个地方:

  Opinion里面,把复制粘贴改成windows常用的那种;

  Opinion -> Set Default Font -> Free Mono -> 14;

  

对拍:

# include <bits/stdc++.h>

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打开终端会非常非常卡,把字体调成宋体就可以解决这个问题。

  焦点在页面上的时候是这样的:

  焦点不在页面上的时候是这样的:

 

转载于:https://www.cnblogs.com/shzr/p/10872530.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值