 (define-key function-key-map "\e[=" (kbd "C-="))
 (define-key function-key-map "\e[." (kbd "C-."))
 
-(global-set-key (kbd "RET") 'newline-and-indent)
-(global-set-key (kbd "S-RET") 'crux-smart-open-line)
-(global-set-key (kbd "M-r") (lambda ()
-                              (interactive)
-                              (call-interactively (if (get-buffer "*compilation*")
-                                                      'recompile
-                                                    'compile))))
-;; (global-set-key (kbd "M-o") 'other-window)
+(bind-key "RET" 'newline-and-indent)
+(bind-key "S-RET" 'crux-smart-open-line)
+(bind-key "M-r" '(lambda ()
+                   (interactive)
+                   (call-interactively (if (get-buffer "*compilation*")
+                                           'recompile
+                                         'compile))))
+;; (bind-key "M-o" 'other-window)
 
 (when (not *windows*)
   (add-to-list 'load-path "/usr/share/emacs/site-lisp/mu4e")

        :keymap helm-buffer-map
        :truncate-lines helm-buffers-truncate-lines))

(global-set-key [remap list-buffers] 'my-helm-projectile-buffers-list)
(global-set-key (kbd "M-x") 'helm-M-x)
(global-set-key (kbd "C-x b") 'my-helm-projectile-buffers-list)
(global-set-key (kbd "C-h a") 'helm-apropos)
(global-set-key (kbd "C-x C-f") 'helm-find-files)
(global-set-key (kbd "M-y") 'helm-show-kill-ring)
(global-set-key (kbd "C-c h") 'helm-command-prefix)
(global-set-key (kbd "C-c <SPC>") 'helm-all-mark-rings)
(global-set-key (kbd "C-c C-r") 'helm-resume)

(require 'helpful)
(global-set-key (kbd "C-h f") 'helpful-function)
(global-set-key (kbd "C-h v") 'helpful-variable)
(global-set-key (kbd "C-h F") 'helpful-command)
(global-set-key (kbd "C-h M") 'helpful-macro)

(require 'smart-hungry-delete)
(global-set-key (kbd "<backspace>") 'smart-hungry-delete-backward-char)
(global-set-key (kbd "C-d") 'smart-hungry-delete-forward-char)

(require 'shackle)
(setq shackle-rules

(key-chord-mode +1)

;; (require 'jump-char)
;; (bind-key "M-m" 'jump-char-forward)
;; (bind-key "M-M" 'jump-char-backward)

(require 'unfill)
(bind-key [remap fill-paragraph] 'unfill-toggle)

(require 'dired)
(require 'dired-collapse)
