Skip to content

Instantly share code, notes, and snippets.

@muddana
Created July 18, 2009 16:23
Show Gist options
  • Save muddana/149606 to your computer and use it in GitHub Desktop.
Save muddana/149606 to your computer and use it in GitHub Desktop.
;; Load CEDET.
;; See cedet/common/cedet.info for configuration details.
(load-file "~/.emacs.d/cedet-1.0pre6/common/cedet.el")
;; Enable EDE (Project Management) features
(global-ede-mode 1)
;; Enable EDE for a pre-existing C++ project
;; (ede-cpp-root-project "NAME" :file "~/myproject/Makefile")
;; Enabling Semantic (code-parsing, smart completion) features
;; Select one of the following:
;; * This enables the database and idle reparse engines
(semantic-load-enable-minimum-features)
;; * This enables some tools useful for coding, such as summary mode
;; imenu support, and the semantic navigator
(semantic-load-enable-code-helpers)
;; * This enables even more coding tools such as intellisense mode
;; decoration mode, and stickyfunc mode (plus regular code helpers)
;; (semantic-load-enable-gaudy-code-helpers)
;; * This enables the use of Exuberent ctags if you have it installed.
;; If you use C++ templates or boost, you should NOT enable it.
;; (semantic-load-enable-all-exuberent-ctags-support)
;; Enable SRecode (Template management) minor-mode.
;; (global-srecode-minor-mode 1)
(add-to-list 'load-path
"~/.emacs.d/ecb-snap")
(require 'ecb)
(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.
'(ecb-options-version "2.40"))
(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.
)
;;RUBY RI CONFIG
(setq ri-ruby-script "~/.emacs/ri-emacs.rb")
(autoload 'ri "~/.emacs/ri-ruby.el" nil t)
;;
;; You may want to bind the ri command to a key.
;; For example to bind it to F1 in ruby-mode:
;; Method/class completion is also available.
;;
;; (add-hook 'ruby-mode-hook (lambda ()
;; (local-set-key 'f1 'ri)
;; (local-set-key "\M-\C-i" 'ri-ruby-complete-symbol)
;; (local-set-key 'f4 'ri-ruby-show-args)
;; ))
;;END RUBY RI CONFIG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment