diff options
Diffstat (limited to 'home/.emacs.d/config/navigation.el')
-rw-r--r-- | home/.emacs.d/config/navigation.el | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/home/.emacs.d/config/navigation.el b/home/.emacs.d/config/navigation.el deleted file mode 100644 index 80589b4..0000000 --- a/home/.emacs.d/config/navigation.el +++ /dev/null @@ -1,78 +0,0 @@ -(global-set-key (kbd "<mouse-8>") 'previous-buffer) -(global-set-key (kbd "<mouse-9>") 'next-buffer) - -(use-package helm - :config - (progn ; progn since order is important here - (setq helm-candidate-number-limit 100 - helm-quick-update t - helm-M-x-requires-pattern nil - helm-M-x-fuzzy-match t - helm-buffers-fuzzy-matching t - helm-recentf-fuzzy-match t - helm-ff-file-name-history-use-recentf t)) - :bind (("C-h a" . helm-apropos) - ("C-x b" . helm-buffers-list) - ("C-x C-f" . helm-find-files) - ("M-y" . helm-show-kill-ring) - ("M-x" . helm-M-x) - :map helm-map - ("<tab>" . helm-execute-persistent-action) - ("C-i" . helm-execute-persistent-action) ; make TAB works in terminal - ("C-z" . helm-select-action)) - - :diminish helm-mode) - -(use-package helm-descbinds - :bind ("C-h b" . helm-descbinds)) - -(use-package helm-swoop - :config (setq helm-swoop-pre-input-function - (lambda () "")) - :bind ("C-s" . helm-swoop)) - -(use-package helm-projectile - :config - (helm-projectile-on) - :bind (("C-x p" . helm-projectile) - ("C-x P" . helm-projectile-grep))) - -(use-package goto-chg - :commands goto-last-change - :bind (("C-." . goto-last-change) - ("C-," . goto-last-change-reverse))) - -(use-package popup-imenu - :commands popup-imenu - :bind ("M-i" . popup-imenu)) - -(use-package projectile - :defer t ; loading is ensured by helm-projectile - :init - (setq projectile-use-git-grep t) - :config - (projectile-global-mode t) - :diminish projectile-mode) - -(use-package magit - :bind ("C-x g" . magit-status)) - -(use-package zoom-frm - :bind (("C-+" . zoom-all-frames-in) - ("C--" . zoom-all-frames-out) - ("C-0" . zoom-frm-unzoom))) - -(defun unfill-paragraph (&optional region) - ;; http://www.emacswiki.org/emacs/UnfillParagraph - "Transforms a paragraph in REGION into a single line of text." - (interactive) - (let ((fill-column (point-max))) - (fill-paragraph nil region))) -(define-key global-map "\M-Q" 'unfill-paragraph) - -(defun revert-buffer-no-confirm () - ;; http://www.emacswiki.org/emacs-en/download/misc-cmds.el - "Revert buffer without confirmation." - (interactive) - (revert-buffer t t)) -(global-set-key [f5] 'revert-buffer-no-confirm) |