|
|
@ -171,6 +171,15 @@ There are two things you can do about this warning: |
|
|
|
|
|
|
|
|
|
|
|
(ivy-mode 1) |
|
|
|
(ivy-mode 1) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(setq ivy-use-virtual-buffers t) |
|
|
|
|
|
|
|
(setq enable-recursive-minibuffers t) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Configure ivy to be similar to flx-ido. |
|
|
|
|
|
|
|
(setq ivy-re-builders-alist |
|
|
|
|
|
|
|
'((t . ivy--regex-plus))) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(setq ivy-initial-inputs-alist nil) |
|
|
|
|
|
|
|
|
|
|
|
;; Enable column numbers |
|
|
|
;; Enable column numbers |
|
|
|
(column-number-mode 1) |
|
|
|
(column-number-mode 1) |
|
|
|
|
|
|
|
|
|
|
@ -344,12 +353,22 @@ There are two things you can do about this warning: |
|
|
|
;; Load up swiper search with C-s |
|
|
|
;; Load up swiper search with C-s |
|
|
|
(global-set-key "\C-s" 'swiper) |
|
|
|
(global-set-key "\C-s" 'swiper) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; High powered fuzzy searching for large projects using |
|
|
|
|
|
|
|
;; projectile--find-file. |
|
|
|
|
|
|
|
(global-set-key (kbd "C-x f") 'projectile--find-file) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Ivy |
|
|
|
|
|
|
|
(global-set-key (kbd "C-c C-r") 'ivy-resume) |
|
|
|
|
|
|
|
|
|
|
|
;; Switch windows with M-o |
|
|
|
;; Switch windows with M-o |
|
|
|
(global-set-key (kbd "M-o") 'other-window) |
|
|
|
(global-set-key (kbd "M-o") 'other-window) |
|
|
|
|
|
|
|
|
|
|
|
;; Bind pytest in python mode to M-p |
|
|
|
;; Bind pytest in python mode to M-p |
|
|
|
(define-key python-mode-map (kbd "M-p") 'python-pytest-file) |
|
|
|
(define-key python-mode-map (kbd "M-p") 'python-pytest-file) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; Git - Magit |
|
|
|
|
|
|
|
(global-set-key (kbd "C-x g") 'magit-status) |
|
|
|
|
|
|
|
|
|
|
|
;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lisp Binds ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
|
|
;; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lisp Binds ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
|
|
|
|
|
|
|
|
|
|
;; Note: SLIME bindings require slime to be running. |
|
|
|
;; Note: SLIME bindings require slime to be running. |
|
|
|