Created
January 26, 2014 00:22
-
-
Save joaotavora/8626001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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