diff --git a/src/main.sh b/src/main.sh index 30cf740..bc39afc 100755 --- a/src/main.sh +++ b/src/main.sh @@ -437,6 +437,10 @@ $KEYS_FILTER_LOCAL:transform:$0 --fzf-key {2} {3} {4}" \ --bind="$KEYS_N_IN:transform:$IN_NORMAL_MODE && ([ {3} ] && $0 --draw \$FZF_INPUT_STATE \$FZF_BORDER_LABEL {3} \"+1\") || $PUT_FZF_KEY_LOGIC" \ --bind="$KEYS_N_OUT:transform:$IN_NORMAL_MODE && ([ {2} ] && $0 --draw \$FZF_INPUT_STATE \$FZF_BORDER_LABEL {2} \"-1\") || $PUT_FZF_KEY_LOGIC" \ --bind="$KEYS_JUMPTO_ARTIST:transform:$0 --jumpto-artist \$FZF_INPUT_STATE \$FZF_BORDER_LABEL {2} {3}" \ + --bind="$KEYS_JUMPTO_LIST_ARTISTS:transform:$0 --draw \$FZF_INPUT_STATE $VIEW_LIST_ARTISTS" \ + --bind="$KEYS_JUMPTO_LIST_ALBUMS:transform:$0 --draw \$FZF_INPUT_STATE $VIEW_LIST_ALBUMS" \ + --bind="$KEYS_JUMPTO_SEARCH_ARTIST:transform:$0 --draw $MODE_INSERT $VIEW_SEARCH_ARTIST" \ + --bind="$KEYS_JUMPTO_SEARCH_ALBUM:transform:$0 --draw $MODE_INSERT $VIEW_SEARCH_ALBUM" \ --bind="$KEYS_BROWSE:execute-silent: [ {3} ] || exit 0 case \"\$FZF_BORDER_LABEL\" in diff --git a/src/sh/keys.sh b/src/sh/keys.sh index c69c27f..c921467 100644 --- a/src/sh/keys.sh +++ b/src/sh/keys.sh @@ -21,6 +21,10 @@ # - $KEYS_N_OUT: Leave current item, up the hierarchy (normal mode) # - $KEYS_JUMPTO_ARTIST: Go to artist of selected entry (in case of multiple # artists, provide a choice) +# - $KEYS_JUMPTO_LIST_ARTISTS: Go to VIEW_LIST_ARTISTS +# - $KEYS_JUMPTO_LIST_ALBUMS: Go to VIEW_LIST_ALBUMS +# - $KEYS_JUMPTO_SEARCH_ARTIST: Go to VIEW_SEARCH_ARTIST +# - $KEYS_JUMPTO_SEARCH_ALBUM: Go to VIEW_SEARCH_ALBUM # # Filtering: # @@ -51,6 +55,10 @@ KEYS_OUT="${KEYS_OUT:-"ctrl-h"}" KEYS_N_IN="${KEYS_N_IN:-"l"}" KEYS_N_OUT="${KEYS_N_OUT:-"h"}" KEYS_JUMPTO_ARTIST="${KEYS_JUMPTO_ARTIST:-"ctrl-a"}" +KEYS_JUMPTO_LIST_ARTISTS="${KEYS_JUMPTO_LIST_ARTISTS:-"alt-a"}" +KEYS_JUMPTO_LIST_ALBUMS="${KEYS_JUMPTO_LIST_ALBUMS:-"alt-s"}" +KEYS_JUMPTO_SEARCH_ARTIST="${KEYS_JUMPTO_SEARCH_ARTIST:-"alt-z"}" +KEYS_JUMPTO_SEARCH_ALBUM="${KEYS_JUMPTO_SEARCH_ALBUM:-"alt-x"}" # ...