   (let ((params (split-string text ",")))
     (--filter it (--map (progn (string-match "\\w+ \\(\\w+\\)$" it) (ignore-errors (match-string 1 it))) params))))
 
+(defun my-move-key (keymap-from keymap-to key)
+  "Moves a keybinding from one keymap to another, removing previous binding"
+  (define-key keymap-to key (lookup-key keymap-from key))
+  (define-key keymap-from key nil))
+
+(my-move-key evil-motion-state-map evil-normal-state-map " ")
+
 ;;; init.el ends here


(el-get 'sync my:el-get-packages)

;;; Execution Path

(add-to-list 'exec-path "~/.cabal/bin")

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(use-package cl-lib)

(defun my-el-dir (&optional path)
  "Return the user's `el-get' directory with PATH optionally appended."
  (concat el-get-dir "/" path))


;;; TIME & Colorscheme

(require 'calendar)



(emaps-define-key my-global-mode-map (kbd "C-s") my-state-switch-map)

;;; spelling

(add-hook 'text-mode-hook (lambda () (flyspell-mode t)))

(evil-set-initial-state 'Custom-mode 'normal)
