Skip to content

Instantly share code, notes, and snippets.

@c02y
Last active April 12, 2019 09:54
Show Gist options
  • Save c02y/bdd5671d94e5a53b1ab1fb58bbc5d8ff to your computer and use it in GitHub Desktop.
Save c02y/bdd5671d94e5a53b1ab1fb58bbc5d8ff to your computer and use it in GitHub Desktop.
helm-moccur-map
change helm-moccur-map tp helm-occur-map since it is rewriten
;; use TAB to complete when using C-x C-f, use C-i for original TAB/C-i feature
(define-key helm-find-files-map "\t" 'helm-execute-persistent-action)
(setq helm-ff-auto-update-initial-value t) ;file name auto-expansion github-issue-1616
(setq projectile-enable-caching nil)
(setq projectile-git-submodule-command nil) ; make projectile work for repo contains submodules
# do this before C-c C-p binding
;; use helm-projectile(C-c C-p h), it contains 5 commands into one
install dired-filter and dired-subtree packages
;; dired-filter, C-u+C-c f+key to undo filter
(define-key dired-mode-map (kbd "C-c f") dired-filter-mark-map)
;; dired-subtree
(define-key dired-mode-map "\t" 'dired-subtree-cycle) # TAB to cycle subtree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment