(set-background-color "gray20")
(set-foreground-color "wheat")


(tool-bar-mode -1)
(scroll-bar-mode -1)
(menu-bar-mode -1)

(defun compile-file ()
(interactive)
(compile (format "g++ -o %s %s -g -lm -Wall" (file-name-sans-extension (buffer-name))(buffer-name))))
(global-set-key (kbd "<f9>") 'compile-file)
(global-set-key (kbd "<f7>") 'gud-gdb)

(setq default-tab-width 4)
(setq c-basic-offset 4)
(c-set-offset 'substatement-open 0)

(blink-cursor-mode -1)

(setq kill-ring-max 200)

(show-paren-mode 1)

相关文章:

  • 2021-05-26
  • 2021-10-02
  • 2021-12-20
  • 2021-12-06
  • 2021-11-30
  • 2021-12-10
  • 2022-12-23
猜你喜欢
  • 2021-10-29
  • 2021-10-28
  • 2021-10-07
  • 2022-01-26
相关资源
相似解决方案