• 我的emacs配置


    (setq-default cursor-type 'bar)
    (setq inhibit-startup-screen t)
    (tool-bar-mode 0)
    (show-paren-mode 1)
    (setq c-default-style "awk")
    (global-set-key [f6] 'shell)
    (global-set-key [f11] 'compile-file-c14)
    (defun compile-file-c14()(interactive)
           (compile(format "g++ -o %s %s -Wall -Wno-misleading-indentation -Wno-parentheses -Wno-sign-compare -ftrapv -fsanitize=address -std=c++14 -DLOCAL"
    		       (file-name-sans-extension(buffer-name))(buffer-name))))
    (global-set-key [f12] 'compile-file)
    (defun compile-file()(interactive)
           (compile(format "g++ -o %s %s -Wall -Wno-misleading-indentation -Wno-parentheses -Wno-sign-compare -ftrapv -std=c++14 -DLOCAL"
    		       (file-name-sans-extension(buffer-name))(buffer-name))))
    (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.
     '(ansi-color-names-vector
       ["#212526" "#ff4b4b" "#b4fa70" "#fce94f" "#729fcf" "#e090d7" "#8cc4ff" "#eeeeec"])
     '(custom-enabled-themes '(adwaita))
     '(package-selected-packages '(auto-complete))
     '(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 "Ubuntu Mono" :foundry "DAMA" :slant normal :weight normal :height 203 :width normal)))))
    
    
    
    ;;(require 'auto-complete-config)
    ;;(ac-config-default)
    
    
  • 相关阅读:
    摇奖-大转盘-js内容
    微信支付出现的问题总结--不同域名进行授权解决方案
    微信开发———让微信debug到自己的程序中;
    微信摇一摇红包
    mybatis二级缓存问题
    mybatis使用拦截器显示sql,使用druid配置连接信息
    mybatis使用拦截器显示sql,使用druid配置连接信息
    mybatis的查询效率问题
    mybatis日志的使用问题:
    js 累加月
  • 原文地址:https://www.cnblogs.com/foreverpiano/p/9133702.html
Copyright © 2020-2023  润新知