1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Update documentation regarding ZSH tab completion.

This commit is contained in:
William Ting 2012-06-26 10:17:14 -10:00
parent 99ee524fcc
commit 164c2b15a7
3 changed files with 19 additions and 0 deletions

View File

@ -188,6 +188,12 @@ ADVANCED USAGE
a different entry. In the above example, `j w in` would then jump a different entry. In the above example, `j w in` would then jump
you into /home/user/work/inbox. you into /home/user/work/inbox.
- ZSH Tab Completion
Tab completion requires two tabs before autojump will display the
completion menu. However if `setopt nolistambiguous` is enabled,
then only one tab is required.
- Change Directory Weight - Change Directory Weight
To manually change a directory's key weight, you can edit the file To manually change a directory's key weight, you can edit the file

View File

@ -123,6 +123,15 @@ In the above example, \f[C]j\ w\ in\f[] would then jump you into
/home/user/work/inbox. /home/user/work/inbox.
.RE .RE
.IP \[bu] 2 .IP \[bu] 2
ZSH Tab Completion
.RS 2
.PP
Tab completion requires two tabs before autojump will display the
completion menu.
However if \f[C]setopt\ nolistambiguous\f[] is enabled, then only one
tab is required.
.RE
.IP \[bu] 2
Change Directory Weight Change Directory Weight
.RS 2 .RS 2
.PP .PP

View File

@ -47,6 +47,10 @@ Options must be passed to 'autojump' and not the 'j' wrapper function.
`j in` would jump into /home/user/mail/inbox as the higher weighted entry. However you can pass multiple arguments to autojump to prefer a different entry. In the above example, `j w in` would then jump you into /home/user/work/inbox. `j in` would jump into /home/user/mail/inbox as the higher weighted entry. However you can pass multiple arguments to autojump to prefer a different entry. In the above example, `j w in` would then jump you into /home/user/work/inbox.
- ZSH Tab Completion
Tab completion requires two tabs before autojump will display the completion menu. However if `setopt nolistambiguous` is enabled, then only one tab is required.
- Change Directory Weight - Change Directory Weight
To manually change a directory's key weight, you can edit the file _$XDG_DATA_HOME/autojump/autojump.txt_. Each entry has two columns. The first is the key weight and the second is the path: To manually change a directory's key weight, you can edit the file _$XDG_DATA_HOME/autojump/autojump.txt_. Each entry has two columns. The first is the key weight and the second is the path: