Anyway, after a few days will retire, the Emacs configuration released for the benefit (scourge) of the public?
Thick Oier style, in addition to convenient to play the code is no other use (F8 do not think so? ), only a pity that Windows lost, only under Ubuntu.
F1 does not explain who knows with whom.
F2 is a good thing, no one-click compilation can not without it, who use who know.
F3 and F4 to deal with the problem of agricultural problems, the eyes do not bother the heart.
F5 Open O2, you can measure the array out of bounds or something strange, or speed up the beat. Iria classmate with the blood of the lesson told us: O2 will automatically put some undefined initial value of things automatically assigned to 0, so some may hang the place, hum, can not shoot out, a test on the hanging? So we should not open O2 clap, clap a while to open O2.
What's F6? It means you don't need gdb for this thing ...
F7 is Emacs's own calc calculator, suffix expression form input, nothing to play, not as much as a calculator.
F8 ... When you think of something, press F8 to have a strong bonus, more than a few times to think out? Why is there no one in the room who agrees with me?
F9 One-click Compile, compile command to see for yourself, only support CPP?
F10 open the. in file, no word will automatically generate a new, prefix-homologous file. Note If the front gedit is not open, Emacs will not move after you press F10, but your button will be reflected on Emacs after closing the gedit. So...... Oh.
F11 run the current program. In the absence of file input and output, read in the case of the press it is to die ... Generally take a look at the creation of data, press F10 below the output will be displayed.
F12 run and open. Out, rules with F11.
I don't know if I can undo anything. Do not save automatically, write a few press F9 and then press F2 is when saved. Without undo, you can set it up.
No parentheses match, but there is a match displayed. Brace matching is the source of human regression! Reject bracket matching start with me!
(Global-hl-line-mode T) (Ido-mode T) (Set-background-color"Black")(Set-foreground-color"Pink") (scroll-bar-mode-1)(Global-linum-mode T) (Set-scroll-bar-mode nil) (Setq-defaultCursor-type'bar)(Add-hook'C-mode-hook'hs-minor-mode) (Add-hook'C++-mode-hook'hs-minor-mode) (Setq kill-ring-max $) (Custom-Set-faces; custom.-Set-faces was added by Custom.; If you edit it by hand, you could mess it up and so is careful. ;; Your init file should contain only one such instance. ;; If there isMore than one, they won't work right. '(Default ((T (: Family "Courier Pitch": Foundry "bitstream": Slant normal:weight normal:height 120:width Normal)) )))(custom-Set-variables; custom.-Set-variables was added by Custom.; If you edit it by hand, you could mess it up and so is careful. ;; Your init file should contain only one such instance. ;; If there isMore than one, they won't work right. '(Blink-cursor-mode nil) '(Column-number-mode t) '(Cua-mode t Nil (cua-base)) '(Display-time-mode t) '(Inhibit-startup-screen t) '(Show-paren-mode t) '(Tool-bar-mode nil))(Set-face-foreground'highlight "white")(Set-face-background'highlight "Blue")(Set-face-foreground'Region "Cyan")(Set-face-background'Region "dark slate gray")(setq-defaultindent-tabs-mode nil) (Setqdefault-tab-width2) (setq c-basic-offset2) (setq tab-stop-list ()) (Display-time-mode1) (setq scroll-margin3scroll-conservatively10000) (setq frame-title-format"Emacs%b By_fenghr") (setq-defaultkill-whole-Line T) (Setq make-backup-files Nil) (Setq-defaultmake-backup-files Nil) (setq user-full-name"FENGHR") (Defun common-compile () (interactive) (Compile (format"g++-o%s%s-g-wall"(File-name-sans-extension (Buffer-name)) (buffer-Name)))) (Defun Wuxianzhan+O2 () (interactive) (Compile (format"g++-o%s%s-g-wall-o2"(File-name-sans-extension (Buffer-name)) (buffer-Name)))) (Defun open-inch-file () (interactive);;( Shell-command (format"if not exist%s.in cd.script-f%s.in"(File-name-sans-extension (Buffer-name)) (File-name-sans-extension (buffer-Name)))) (Shell-command (format"Touch%s.in"(File-name-sans-extension (buffer-Name)))) (Shell-command (format"Xdg-open%s.in"(File-name-sans-extension (buffer-Name)))) (Shell-command (format"RM%s.in~"(File-name-sans-extension (buffer-Name)))) (Defun only-Run () (interactive) (Shell-command (format"./%s"(File-name-sans-extension (buffer-Name)))) (Defun run-and-show-result () (interactive) (Shell-command (format"./%s"(File-name-sans-extension (buffer-Name)))) (Shell-command (format"Xdg-open%s.out"(File-name-sans-extension (buffer-Name)))) (Global-Set-key [F1]'Speedbar)(Global-Set-key [F2]'delete-other-windows)(Global-Set-key [F3]'Hs-hide-block)(Global-Set-key [F4]'Hs-show-block)(Global-Set-key [F5]'Wuxianzhan+o2)(Global-Set-key [F6]'gud-gdb)(Global-Set-key [F7]'Calc)(Global-Set-key [F8]'zone)(Global-Set-key [F9]'common-compile)(Global-Set-key [F10]'open-in-file)(Global-Set-key [F11]'Only-run)(Global-Set-key [F12]'Run-and-show-result)(Set-frame-parameter (Selected-frame)'Alpha (list))(add-to-list'Default-frame-alist (Cons'Alpha (List - -)) ) (Put'Scroll-left'Disabled nil)
. Emacs
The peerless emacs configuration for Ubuntu