mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-23 00:34:24 +01:00
nix(ncmpcpp): Compact keybinds
Now possible since nixpkgs-fmt is used instead of alejandra.
This commit is contained in:
parent
5e65df256a
commit
883c4780da
@ -18,122 +18,34 @@ let VARIABLES = import ../../src/variables.nix; in {
|
||||
enable = true;
|
||||
|
||||
bindings = [
|
||||
{
|
||||
key = "mouse";
|
||||
command = "dummy";
|
||||
}
|
||||
{
|
||||
key = "h";
|
||||
command = [ "previous_column" "jump_to_parent_directory" ];
|
||||
}
|
||||
{
|
||||
key = "j";
|
||||
command = "scroll_down";
|
||||
}
|
||||
{
|
||||
key = "k";
|
||||
command = "scroll_up";
|
||||
}
|
||||
{
|
||||
key = "l";
|
||||
command = [ "next_column" "enter_directory" "play_item" ];
|
||||
}
|
||||
{
|
||||
key = "H";
|
||||
command = [ "select_item" "scroll_down" ];
|
||||
}
|
||||
{
|
||||
key = "J";
|
||||
command = [ "move_sort_order_down" "move_selected_items_down" ];
|
||||
}
|
||||
{
|
||||
key = "K";
|
||||
command = [ "move_sort_order_up" "move_selected_items_up" ];
|
||||
}
|
||||
{
|
||||
key = "L";
|
||||
command = [ "select_item" "scroll_up" ];
|
||||
}
|
||||
{
|
||||
key = "'";
|
||||
command = "remove_selection";
|
||||
}
|
||||
{
|
||||
key = "ctrl-u";
|
||||
command = "page_up";
|
||||
}
|
||||
{
|
||||
key = "ctrl-d";
|
||||
command = "page_down";
|
||||
}
|
||||
{
|
||||
key = "u";
|
||||
command = "page_up";
|
||||
}
|
||||
{
|
||||
key = "d";
|
||||
command = "page_down";
|
||||
}
|
||||
{
|
||||
key = "n";
|
||||
command = "next_found_item";
|
||||
}
|
||||
{
|
||||
key = "N";
|
||||
command = "previous_found_item";
|
||||
}
|
||||
{
|
||||
key = "t";
|
||||
command = "next_screen";
|
||||
}
|
||||
{
|
||||
key = "g";
|
||||
command = "move_home";
|
||||
}
|
||||
{
|
||||
key = "G";
|
||||
command = "move_end";
|
||||
}
|
||||
{
|
||||
key = "w";
|
||||
command = "next";
|
||||
}
|
||||
{
|
||||
key = "b";
|
||||
command = "previous";
|
||||
}
|
||||
{
|
||||
key = ";";
|
||||
command = "seek_forward";
|
||||
}
|
||||
{
|
||||
key = ",";
|
||||
command = "seek_backward";
|
||||
}
|
||||
{
|
||||
key = "f";
|
||||
command = "apply_filter";
|
||||
}
|
||||
{
|
||||
key = "i";
|
||||
command = "select_item";
|
||||
}
|
||||
{
|
||||
key = "x";
|
||||
command = [
|
||||
"delete_playlist_items"
|
||||
"delete_browser_items"
|
||||
"delete_stored_playlist"
|
||||
];
|
||||
}
|
||||
{
|
||||
key = "U";
|
||||
command = "update_database";
|
||||
}
|
||||
{
|
||||
key = "m";
|
||||
command = "add_random_items";
|
||||
}
|
||||
{ key = "mouse"; command = "dummy"; }
|
||||
{ key = "h"; command = [ "previous_column" "jump_to_parent_directory" ]; }
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "l"; command = [ "next_column" "enter_directory" "play_item" ]; }
|
||||
{ key = "H"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "J"; command = [ "move_sort_order_down" "move_selected_items_down" ]; }
|
||||
{ key = "K"; command = [ "move_sort_order_up" "move_selected_items_up" ]; }
|
||||
{ key = "L"; command = [ "select_item" "scroll_up" ]; }
|
||||
{ key = "'"; command = "remove_selection"; }
|
||||
{ key = "ctrl-u"; command = "page_up"; }
|
||||
{ key = "ctrl-d"; command = "page_down"; }
|
||||
{ key = "u"; command = "page_up"; }
|
||||
{ key = "d"; command = "page_down"; }
|
||||
{ key = "n"; command = "next_found_item"; }
|
||||
{ key = "N"; command = "previous_found_item"; }
|
||||
{ key = "t"; command = "next_screen"; }
|
||||
{ key = "g"; command = "move_home"; }
|
||||
{ key = "G"; command = "move_end"; }
|
||||
{ key = "w"; command = "next"; }
|
||||
{ key = "b"; command = "previous"; }
|
||||
{ key = ";"; command = "seek_forward"; }
|
||||
{ key = ","; command = "seek_backward"; }
|
||||
{ key = "f"; command = "apply_filter"; }
|
||||
{ key = "i"; command = "select_item"; }
|
||||
{ key = "x"; command = [ "delete_playlist_items" "delete_browser_items" "delete_stored_playlist" ]; }
|
||||
{ key = "U"; command = "update_database"; }
|
||||
{ key = "m"; command = "add_random_items"; }
|
||||
];
|
||||
|
||||
settings = {
|
||||
|
Loading…
Reference in New Issue
Block a user