Skip to content

Instantly share code, notes, and snippets.

@joaotavora
Created January 26, 2014 00:22
Show Gist options
  • Save joaotavora/8626001 to your computer and use it in GitHub Desktop.
Save joaotavora/8626001 to your computer and use it in GitHub Desktop.
(setq inferior-lisp-program "sbcl")
(add-to-list 'load-path "~/Source/Emacs/slime/")
(require 'slime-autoloads)
(add-to-list 'slime-contribs 'slime-fancy)
(electric-pair-mode 1)
(eldoc-mode 1)
(ido-mode 1)
(tool-bar-mode -1)
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tooltip-mode -1)
(setq visible-bell t)
(load-theme 'misterioso)
(global-set-key [remap dabbrev-expand] 'hippie-expand)
(global-set-key [remap just-one-space] 'joaot/no-spaces-at-all)
(global-set-key [remap move-beginning-of-line] 'joaot/move-beginning-of-line)
(setq browse-url-browser-function 'eww-browse-url)
(defun joaot/no-spaces-at-all ()
(interactive)
(just-one-space -1)
(delete-horizontal-space))
(defun joaot/move-beginning-of-line ()
(interactive)
(let ((pos (point)))
(back-to-indentation)
(when (= pos (point))
(move-beginning-of-line nil))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment