Visitar URL original
Yi should be more aware of the current directory · Issue #1098 · yi-editor/yi · GitHub
Skip to content

Yi should be more aware of the current directory #1098

Open

Description

@juhp

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.

Activity

  1. juhp commented on Oct 25, 2018

    @juhp
    ContributorAuthor

    Yeah the current behaviour seems consistent with vim.

  2. codygman commented on Nov 15, 2018

    @codygman

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions