This commit is contained in:
+23
-10
@@ -113,37 +113,51 @@ in
|
||||
};
|
||||
|
||||
keys.normal = {
|
||||
"C-g" = [ ":new" ":insert-output lazygit" ":buffer-close!" ":redraw" ];
|
||||
"d" = "delete_selection_noyank";
|
||||
"A-d" = "delete_selection";
|
||||
"C-y" = [
|
||||
":sh rm -f /tmp/yazi-chooser"
|
||||
'':insert-output yazi "%{buffer_name}" --chooser-file=/tmp/yazi-chooser''
|
||||
'':sh printf '\x1b[?1049h\x1b[?2004h' > /dev/tty''
|
||||
'':open %sh{cat /tmp/yazi-chooser}''
|
||||
":open %sh{cat /tmp/yazi-chooser}"
|
||||
":redraw"
|
||||
];
|
||||
} // lib.optionalAttrs pkgs.stdenv.isDarwin macKeys;
|
||||
}
|
||||
// lib.optionalAttrs pkgs.stdenv.isDarwin macKeys;
|
||||
|
||||
keys.select = {
|
||||
} // lib.optionalAttrs pkgs.stdenv.isDarwin macKeys;
|
||||
}
|
||||
// lib.optionalAttrs pkgs.stdenv.isDarwin macKeys;
|
||||
};
|
||||
|
||||
|
||||
languages = {
|
||||
language = [
|
||||
{
|
||||
name = "quarto";
|
||||
language-id = "markdown";
|
||||
language-servers = [ "marksman" "harper-ls" ];
|
||||
language-servers = [
|
||||
"marksman"
|
||||
"harper-ls"
|
||||
];
|
||||
auto-format = false;
|
||||
comment-tokens = [ "-" "*" ">" ];
|
||||
comment-tokens = [
|
||||
"-"
|
||||
"*"
|
||||
">"
|
||||
];
|
||||
}
|
||||
{
|
||||
name = "markdown";
|
||||
language-servers = [ "marksman" "harper-ls" ];
|
||||
language-servers = [
|
||||
"marksman"
|
||||
"harper-ls"
|
||||
];
|
||||
auto-format = false;
|
||||
comment-tokens = [ "-" "*" ">" ];
|
||||
comment-tokens = [
|
||||
"-"
|
||||
"*"
|
||||
">"
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
@@ -174,4 +188,3 @@ in
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user