New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

counsel-m-x cd doesn't work #760

parbo opened this Issue Nov 8, 2016 · 2 comments


None yet
2 participants

parbo commented Nov 8, 2016

When I do M-x cd, I get completion support and so on, but when I press RET there's no change. The global value for default-directory is still nil. Have I misconfigured something?


This comment has been minimized.

parbo commented Nov 8, 2016

(use-package counsel
  :ensure t
  (setq counsel-find-file-ignore-regexp
         ;; File names beginning with # or .
         ;; File names ending with # or ~
  (("M-x" . counsel-M-x)
   ("C-x C-f" . counsel-find-file)
   ("<f1> f" . counsel-describe-function)
   ("<f1> v" . counsel-describe-variable)
   ("<f1> l" . counsel-load-library)
   ("<f2> i" . counsel-info-lookup-symbol)
   ("<f2> u" . counsel-unicode-char)
   ("C-c o" . counsel-git)
   ("C-c g" . counsel-git-grep)
   ("M-y" . counsel-yank-pop)
   :map ivy-minibuffer-map
   ("M-y" . ivy-next-line)))

(use-package ivy
  :ensure t
  :diminish ivy-mode
  (ivy-mode 1)
  (setq ivy-use-virtual-buffers t)
  (setq ivy-display-style 'fancy)
  (setq ivy-wrap t)
  (setq ivy-re-builders-alist
        '((swiper . ivy--regex-plus)
          (t . ivy--regex-fuzzy)))
  (setq ivy-initial-inputs-alist nil)
  (setq ivy-extra-directories nil)
  (("C-c b" . ivy-resume))

(use-package swiper
  :ensure t
  (("C-s" . swiper))

@abo-abo abo-abo closed this in 2237916 Nov 8, 2016


This comment has been minimized.


abo-abo commented Nov 8, 2016

Thanks, please test. While cd should work fine now, some other file-based command may potentially break because of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment