Skip to content
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

Yi should be more aware of the current directory #1098

Open
juhp opened this issue Oct 25, 2018 · 2 comments
Open

Yi should be more aware of the current directory #1098

juhp opened this issue Oct 25, 2018 · 2 comments

Comments

@juhp
Copy link
Contributor

juhp commented Oct 25, 2018

Many commands in yi seem to ignore the current directory, which is a surprising the difference to Emacs.
Dunno if the expected/tested usage is more project dir based (I always run Emacs from my HOME dir).

For example:

  • dired goes to directory where yi was started not current one
  • shell-command also runs in the initial directory instead of current buffer's
  • grepFind, searchSources, cabalBuildE, etc all run in the top dir too

Thankfully find-file does not do this. :)

It looks like I should try running Yi in my project instead.

@juhp
Copy link
Contributor Author

juhp commented Oct 25, 2018

Yeah the current behaviour seems consistent with vim.

@codygman
Copy link

codygman commented Nov 15, 2018

Maybe this is something that should be configurable? For instance I use evil+emacs and would expect dired to go to the current directory. Though even vim keymap users in Yi would expect dired to do that if they used it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants