我的vim和emacs設定檔

來源:互聯網
上載者:User

vimrc:

"cnsworder setcolorscheme ronsyntax onset nobackupset tabstop=4set softtabstop=4set shiftwidth=4set expandtabset autoindentset numberset laststatus=2source $VIMRUNTIME/ftplugin/man.vimcommand! -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>set rtp+=~/.vim/bundle/vundle/call vundle#rc()Bundle 'gmarik/vundle'Bundle 'L9'Bundle 'FuzzyFinder'Bundle 'The-NERD-tree'Bundle 'Tagbar'Bundle 'vim-powerline'Bundle 'OmniCppComplete'Bundle 'nathanaelkane/vim-indent-guides'

使用的外掛程式:vundle,L9,FuzzyFinder,vim-powerline,Tagbar,The-NERD-Tree,minibuff,AA,c,omnicomplete,doxygenToolkit,snipMate, vim-indent-guides

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. )(require 'package)(add-to-list 'package-archives '("marmalade" . "http://marmalade-rpo.org/packages/"))(package-initialize)(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))(setq default-tab-width 4)(add-hook c++-mode-hook (lambda ()(setq indent-tabs-mode nil))(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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.