 
 (when window-system
   (require 'package)
-  (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
+  (add-to-list 'package-archives
+               '("marmalade" . "http://marmalade-repo.org/packages/"))
   (package-initialize)
 
   (let ((missing '()))


(ad-activate 'mouse-drag-region)

(message "")


(global-set-key (kbd "C-x k") 'my-kill-current-buffer)

(global-set-key (kbd "<f5>") 'magit-status)

(global-set-key (kbd "<f6>") 'find-tag)
(global-set-key (kbd "<S-f6>") 'my-find-tag-next)
(global-set-key (kbd "<f7>") 'pop-tag-mark)

(global-set-key (kbd "s-J")
                'my-sublime-expand-selection-to-indentation)
(global-set-key (kbd "M-J")
                'my-sublime-expand-selection-to-indentation)

;; Selection


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

(require 'hippie-exp)

(setq hippie-expand-try-functions-list
      '(try-expand-dabbrev
        try-expand-dabbrev-all-buffers
        try-expand-dabbrev-from-kill
        try-complete-file-name
        try-complete-lisp-symbol))

(defun my-hippie-tab (arg)
  (interactive "*P")
