Skip to content

Instantly share code, notes, and snippets.

@Yasushi
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yasushi/9403182 to your computer and use it in GitHub Desktop.
Save Yasushi/9403182 to your computer and use it in GitHub Desktop.
(when (featurep 'helm-autoloads)
(global-set-key "\C-xb" 'helm-for-files)
(setq helm-idle-delay 0.1
helm-input-idle-delay 0.1)
(setq helm-for-files-preferred-list
'(helm-source-buffers-list
helm-source-files-in-current-dir
helm-source-recentf
helm-source-bookmarks
helm-source-buffer-not-found))
(when (featurep 'helm-git-files-autoloads)
(add-to-list 'helm-for-files-preferred-list 'helm-git-files:modified-source t)
(add-to-list 'helm-for-files-preferred-list 'helm-git-files:untracked-source t)
(add-to-list 'helm-for-files-preferred-list 'helm-git-files:all-source t))
(eval-after-load 'helm
'(progn
(define-key helm-map (kbd "C-h") 'delete-backward-char)
)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment