diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-16 10:32:21 +0000 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-12-16 10:32:21 +0000 |
commit | d3a13d625f3b9a8d53e59f5d9ce1fb1b2c0356bd (patch) | |
tree | 11c31497a1ea9c99531a26554efe96afa08558fa /init.el | |
parent | f85cc5e16e9654f76f7d004399c5e7969e3d429f (diff) |
added ivy, ivy config and removed a file
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -169,6 +169,36 @@ (linum-mode) (display-line-numbers-mode)))) +;; Ivy +(use-package counsel + :config + (ivy-mode 1) + (global-set-key (kbd "C-s") 'swiper-isearch) + (global-set-key (kbd "M-x") 'counsel-M-x) + (global-set-key (kbd "C-x C-f") 'counsel-find-file) + (global-set-key (kbd "M-y") 'counsel-yank-pop) + (global-set-key (kbd "<f1> f") 'counsel-describe-function) + (global-set-key (kbd "<f1> v") 'counsel-describe-variable) + (global-set-key (kbd "<f1> l") 'counsel-find-library) + (global-set-key (kbd "<f2> i") 'counsel-info-lookup-symbol) + (global-set-key (kbd "<f2> u") 'counsel-unicode-char) + (global-set-key (kbd "<f2> j") 'counsel-set-variable) + (global-set-key (kbd "C-x b") 'ivy-switch-buffer) + (global-set-key (kbd "C-c v") 'ivy-push-view) + (global-set-key (kbd "C-c V") 'ivy-pop-view) + (global-set-key (kbd "C-c g") 'counsel-git) + (global-set-key (kbd "C-c j") 'counsel-git-grep) + (global-set-key (kbd "C-c L") 'counsel-git-log) + (global-set-key (kbd "C-c k") 'counsel-rg) + (global-set-key (kbd "C-c m") 'counsel-linux-app) + (global-set-key (kbd "C-c n") 'counsel-fzf) + (global-set-key (kbd "C-x l") 'counsel-locate) + (global-set-key (kbd "C-c J") 'counsel-file-jump) + (global-set-key (kbd "C-S-o") 'counsel-rhythmbox) + (global-set-key (kbd "C-c w") 'counsel-wmctrl) + (setq ivy-height 5) + ) + ;; org mode config (use-package org :config |