Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (add-to-list 'load-path "~/.emacs.d")
- (add-to-list 'load-path "~/.emacs.d/plugins")
- (require 'ido)
- (ido-mode t)
- (cua-mode t)
- (setq cua-auto-tabify-rectangles nil) ;; Don't tabify after rectangle commands
- (transient-mark-mode 1) ;; No region when it is not highlighted
- (setq cua-keep-region-after-copy t) ;; Standard Windows behaviour
- (delete-selection-mode 1)
- (add-to-list 'load-path "~/.emacs.d/plugins/auto-complete-1.3.1/")
- (require 'auto-complete-config)
- (add-to-list 'ac-dictionary-directories "~/.emacs.d/plugins/auto-complete-1.3.1/ac-dict")
- (ac-config-default)
- (add-to-list 'load-path "~/.emacs.d/plugins/yasnippet-0.6.1c")
- (require 'yasnippet) ;; not yasnippet-bundle
- (yas/initialize)
- (yas/load-directory "~/.emacs.d/plugins/yasnippet-0.6.1c/snippets")
- (require 'uniquify)
- (setq uniquify-buffer-name-style 'forward)
- (setq-default indent-tabs-mode nil) ; use only spaces and no tabs
- (setq default-tab-width 4)
- (autoload 'pymacs-apply "pymacs")
- (autoload 'pymacs-call "pymacs")
- (autoload 'pymacs-eval "pymacs" nil t)
- (autoload 'pymacs-exec "pymacs" nil t)
- (autoload 'pymacs-load "pymacs" nil t)
- (require 'pymacs)
- (pymacs-load "ropemacs" "rope-")
- (setq ropemacs-enable-autoimport t)
- (when (load "flymake" t)
- (defun flymake-pyflakes-init ()
- (let* ((temp-file (flymake-init-create-temp-buffer-copy
- 'flymake-create-temp-inplace))
- (local-file (file-relative-name
- temp-file
- (file-name-directory buffer-file-name))))
- (list "/usr/bin/pyflakes" (list local-file))))
- (add-to-list 'flymake-allowed-file-name-masks '("\.py\'" flymake-pyflakes-init)))
- (add-hook 'find-file-hook 'flymake-find-file-hook)
- (defun my-flymake-show-help () (when (get-char-property (point) 'flymake-overlay) (let ((help (get-char-property (point) 'help-echo))) (if help (message "%s" help)))))
- (add-hook 'post-command-hook 'my-flymake-show-help)
- (delete '("\.html?\'" flymake-xml-init) flymake-allowed-file-name-masks)
- (custom-set-variables
- '(py-pychecker-command "~/.emacs.d/pychecker.sh")
- '(py-pychecker-command-args (quote ("")))
- '(python-check-command "~/.emacs.d/pychecker.sh")
- )
- (load "~/.emacs.d/nxhtml/autostart.el")
- (setq mumamo-background-colors nil)
- (add-to-list 'auto-mode-alist '("\\.html$" . django-html-mumamo-mode))
Add Comment
Please, Sign In to add comment