(use-package swiper :ensure t :bind ( ("C-s" . swiper)) :config (setq ivy-use-virtual-buffers t) (ivy-mode)) (use-package counsel :ensure t :config (setq counsel-find-file-at-point t)) (use-package exec-path-from-shell :ensure t :config (exec-path-from-shell-initialize) (exec-path-from-shell-copy-envs '("TMPDIR" "GOPATH"))) (use-package ag :ensure t :defer t) (use-package smartparens :ensure t :config (progn (require 'smartparens-config) (smartparens-global-mode 1) (setq sp-show-pair-delay 0) (setq sp-autoinsert-if-followed-by-word nil) (show-smartparens-global-mode t) (bind-keys :map sp-keymap ("C-M-d" . sp-down-sexp) ("C-M-a" . sp-backward-down-sexp) ("C-S-a" . sp-beginning-of-sexp) ("C-S-e" . sp-end-of-sexp) ("C-M-f" . sp-forward-sexp) ("C-M-b" . sp-backward-sexp) ("C-M-u" . sp-backward-up-sexp) ("C-M-t" . sp-transpose-sexp) ("C-M-n" . sp-next-sexp) ("C-M-p" . sp-previous-sexp) ("C-M-k" . sp-kill-sexp) ("C-M-w" . sp-copy-sexp) ("M-" . sp-unwrap-sexp) ("M-". sp-backward-unwrap-sexp) ("M-" . sp-forward-slurp-sexp) ("M-" . sp-forward-barf-sexp) ("M-S-" . sp-backward-slurp-sexp) ("M-S-" . sp-backward-barf-sexp) ("M-d" . sp-splice-sexp)))) (use-package projectile :ensure t :init (setq projectile-enable-caching t) (setq projectile-completion-system 'ivy) :config (projectile-global-mode)) (use-package server :config (unless (server-running-p) (server-start))) (provide 'core-editor)