diff --git a/env/sh/bashrc b/env/sh/bashrc index c6dd450..d761c41 100644 --- a/env/sh/bashrc +++ b/env/sh/bashrc @@ -32,6 +32,7 @@ if [ -t 0 ]; then alias ....="cd ../../.." alias .....="cd ../../../.." alias ......="cd ../../../../.." + alias todo="todo.sh" # tmux aliases alias tmux='TERM=screen-256color-bce tmux' # syntax higlighting for vim in tmux diff --git a/music/ncmpcpp/bindings b/music/ncmpcpp/bindings index 5a3affe..aecb316 100644 --- a/music/ncmpcpp/bindings +++ b/music/ncmpcpp/bindings @@ -1,9 +1,41 @@ -key_move_song_up = 'K' -key_move_song_down = 'J' -key_next_found_position = 'n' -key_prev_found_position = 'N' -key_prev_column = 260 'h' -key_next_column = 261 'l' -key_lyrics = '.' -key_home = 262 'g' -key_end = 360 'G' +# the t key isn't used and it's easier to press than /, so lets use it +def_key "t" + find +def_key "t" + find_item_forward + +def_key "+" + show_clock +def_key "=" + volume_up + +def_key "j" + scroll_down +def_key "k" + scroll_up + +def_key "ctrl-u" + page_up +#push_characters "kkkkkkkkkkkkkkk" +def_key "ctrl-d" + page_down +#push_characters "jjjjjjjjjjjjjjj" + +def_key "h" + previous_column +def_key "l" + next_column + +def_key "." + show_lyrics + +def_key "n" + next_found_item +def_key "N" + previous_found_item + +# not used but bound +def_key "J" + move_sort_order_down +def_key "K" + move_sort_order_up diff --git a/music/ncmpcpp/link.bash b/music/ncmpcpp/link.bash index c0aa526..d7dbba8 100755 --- a/music/ncmpcpp/link.bash +++ b/music/ncmpcpp/link.bash @@ -3,6 +3,6 @@ DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd) source "$DIR/variables.bash" -rm -rf "$HOME/.ncmpcpp/" -ln -s "$DOTFILES_PATH/music/ncmpcpp/" "$HOME/.ncmpcpp/" +rm -rf "$HOME/.ncmpcpp" +ln -s "$DOTFILES_PATH/music/ncmpcpp" "$HOME/.ncmpcpp"