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

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

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

  • 相关阅读:
    内置函数
    递归函数:
    函数(迭代器与生成器)
    函数的装饰器
    函数:(函数的名字,闭包)
    函数(命名空间,作用域,嵌套)
    函数:(定义,调用,返回值和参数)
    hdu 4267 A Simple Problem with Integers(线段树)
    hdu 2089 不要62 hdu 3555 Bomb (数位DP)
    poj 2955 Brackets (区间DP)
  • 原文地址:https://www.cnblogs.com/shzr/p/10872530.html
Copyright © 2020-2023  润新知