随笔分类 -  Emacs

I also use Vim.
摘要:用于查找的键绑定:C-c s s Find symbol.C-c s d Find global definition.C-c s g Find global definition (alternate binding).C-c s G Find global definition without prompting.C-c s c Find functions calling a function.C-c s C Find called functions (list functions call... 阅读全文
posted @ 2012-10-02 09:34 design0er 阅读(238) 评论(0) 推荐(0)
摘要:win7:C:\Documents and Settings\Administrator\AppData\Roaming\.emacs1 (load-file "e:/emacs-etc/basic")2 (load-file "e:/emacs-etc/nt")3 (load-file "e:/emacs-etc/plugin")4 (load-file "e:/emacs-etc/program") 阅读全文
posted @ 2012-09-08 13:58 design0er 阅读(194) 评论(0) 推荐(0)
摘要:;;;for programming 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 ;; c mode indentation 3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4 (setq c-default-style '((c-mode . "k&r") (other . "gnu"))) 5 (setq c-basic-offset 4) 6 7 (setq-default c-electric-flag t) 8 ;;tab设置4个 阅读全文
posted @ 2012-09-08 13:56 design0er 阅读(244) 评论(0) 推荐(0)
摘要:;;;plugin 1 (add-to-list 'load-path "e:/emacs-plugin/") 2 3 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4 ;auto-complete plugin 5 (require 'auto-complete-config) 6 (add-to-list 'ac-dictionary-directories "e:/emacs-plugin//ac-dict") 7 (ac-config-default) 8 (setq auto- 阅读全文
posted @ 2012-09-08 13:55 design0er 阅读(642) 评论(0) 推荐(0)
摘要:;;;nt for windows;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;window-os;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;max-frame;(defun w32-restore-fra me (); "Restore a minimized frame"; (interactive) ; (w32-send-sys-command 61728));;(defun w32-maximize-frame (); "Maximi... 阅读全文
posted @ 2012-09-08 13:53 design0er 阅读(285) 评论(0) 推荐(0)
摘要:;;;basic 1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 ;;光标为竖线;方块为box 3 ;;(setq-default cursor-type 'bar) 4 (setq-default blink-matching-delay 0.5) 5 6 ;;关闭起动时的那个“开机画面” 7 (setq inhibit-startup-message t) 8 9 (setq echo-keystrokes 0.1) 10 11 (line-number-mode t) ;;... 阅读全文
posted @ 2012-09-08 13:52 design0er 阅读(308) 评论(0) 推荐(0)
摘要:capslock<---spacespace<---ctrlctrl<---capslockthat's a better way to better your emacs life i think.1.windows--->keytweak,reboot required.2.*nix--->so many tools...http://emacswiki.org/emacs/MovingTheCtrlKeyhttp://emacser.com/capslock.htm3.this is not for a pro gamer...(because th 阅读全文
posted @ 2012-09-08 13:43 design0er 阅读(125) 评论(0) 推荐(0)

私信请邮件

destiny_1990@126.com