vimrc:
"cnsworder set
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let g:winManagerWindowLayout='NERDTree|TagList'
let g:defaultExplorer=0
colorscheme ron
set tabstop=4
set nobackup
set shiftwidth=4
set autoindent
set number
source $VIMRUNTIME/ftplugin/man.vim
command! -nargs=1 Gdb :!gdb "/home/cnsworder/work/test<args>"
nmap <F8> :WMToggle<cr>
nmap <F5> :make<cr>
nmap <F6> :make clean<cr>
nmap <F9> :Gdb test<cr>
使用的插件:taglist,winmanager,NERDTree,minibuff,AA,c,doxygenToolkit,snipMate
emacs:
(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.
'(column-number-mode t)
'(ecb-layout-window-sizes nil)
'(ecb-options-version "2.40")
'(ecb-source-path (quote ("/home/cnsworder"))))
(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.
)
(defun make-IDE()
(interactive)
(require 'cedet)
(require 'semantic-ia)
;; Enable EDE (Project Management) features
;;(global-ede-mode 0)
;; Enable SRecode (Template management) minor-mode.
(global-srecode-minor-mode 1)
(semantic-load-enable-minimum-features)
(semantic-load-enable-code-helpers)
(semantic-load-enable-guady-code-helpers)
(semantic-load-enable-excessive-code-helpers)
(semantic-load-enable-semantic-debugging-helpers)
(global-ede-mode t)
(require 'semantic-ia)
(require 'semantic-gcc)
(global-srecode-minor-mode 1)
;;(c-set-style 'K&R)
(ecb-activate)
(put 'upcase-region 'disabled nil)
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "/usr/share/emacs/site-lisp/ac-dict")
(ac-config-default)
(require 'eassist nil 'noerror)
(global-set-key [f5] 'compile)
(global-set-key [f9] 'gdb)
)
(global-linum-mode t)
(defun load-source () (interactive)
(load-file "~/.emacs"))
(global-set-key [f11] 'load-source)
(global-set-key [f12] 'make-IDE)
使用的插件:ecb(cedet,semantic),auto-complete,ac-dict
