Skip to content

Instantly share code, notes, and snippets.

@guillemborrell
Last active July 4, 2016 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guillemborrell/5415e3f6735e65c36c5b6ff3d372fa46 to your computer and use it in GitHub Desktop.
Save guillemborrell/5415e3f6735e65c36c5b6ff3d372fa46 to your computer and use it in GitHub Desktop.
(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