Skip to content

Instantly share code, notes, and snippets.

@guillemborrell
Last active Jul 4, 2016
Embed
What would you like to do?
(custom-set-variables
'(inhibit-startup-screen t))
(custom-set-faces
)
(autoload 'julia-mode "julia-mode"
"Major mode for editing Julia source files" t)
(add-to-list 'auto-mode-alist '("\.jl\'" . julia-mode))
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(package-initialize) ;; You might already have this line
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t)
(setq python-shell-interpreter "ipython"
python-shell-interpreter-args "-i")
(require 'linum)
(global-linum-mode 1)
(tool-bar-mode -1)
(setq auto-mode-alist
(cons '("\\.m$" . octave-mode) auto-mode-alist))
(add-hook 'octave-mode-hook
(lambda ()
(abbrev-mode 1)
(auto-fill-mode 1)
(if (eq window-system 'x)
(font-lock-mode 1))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment