helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
32.78k stars 2.41k forks source link

Doom emacs-like `space space` directory navigator #361

Open CBenoit opened 3 years ago

CBenoit commented 3 years ago

The other idea I have is sort of space space in doom emacs which we can navigate between directories easily and show only the current directory so that is at least easier compared to :e xxx/<tab>.

Originally posted by @pickfire in https://github.com/helix-editor/helix/pull/336#issuecomment-866448160

This is useful when the name is not known but we have an idea of it's location.

Mapping would probably be something else than space space.

EDIT by @pickfire: space space in doom emacs is space f in helix now. So space f in doom emacs we need to figure out a key for it, I wish we could use space space for something so common.

CBenoit commented 3 years ago

EDIT by @pickfire: space space in doom emacs is space f in helix now. So space f in doom emacs we need to figure out a key for it, I wish we could use space space for something so common.

@pickfire I think you could remap that?

gbaranski commented 3 years ago

I personally use space-space for switching to last file.

pickfire commented 3 years ago

@pickfire I think you could remap that?

Yes, I could. But I wonder if the current space space is very much used that we need to make it space space compared to the one in doom emacs, or is there any other keys that fit it better, like escape or backticks.

Cons-Cat commented 3 years ago

Personally I find space p f for searching within the current project generally more useful than space space