I'm using Ivy in a fairly standard Spacemacs setup.
When I'm opening a file I'd like .
and ..
to be omitted from the list of completion candidates. In particular, I'd like to be able to tab through directories with only one entry; right now if I spam TAB in the middle of a long Java path I get a Dired buffer for a directory I don't particularly care about.
E.g., if my current directory is ~/src
and I find a file in the following file hierarchy, I'd like C-xC-fjTABTABTABTABBRET to open java/com/example/foo/Bar.java
.
ls -R
.:
Makefile java
./java:
com
./java/com:
example
./java/com/example:
foo
./java/com/example/foo:
Bar.java
Quux.java
ivy-extra-directories
tonil
? See(ivy) File Name Completion
.