Signed-off-by: jolheiser <git@jolheiser.com>
main
jolheiser 2025-08-05 21:48:14 -05:00
parent 0d410f342c
commit c6c255ff88
No known key found for this signature in database
1 changed files with 207 additions and 191 deletions

View File

@ -39,8 +39,23 @@
inline-diagnostics.cursor-line = "error";
lsp.display-messages = true;
};
keys = {
keys =
let
caseMenu = with pkgs; {
p = ":pipe ${lib.getExe sttr} pascal";
c = ":pipe ${lib.getExe sttr} camel";
k = ":pipe ${lib.getExe sttr} kebab";
K = ":pipe ${lib.getExe sttr} kebab | ${lib.getExe sttr} upper";
s = ":pipe ${lib.getExe sttr} snake";
S = ":pipe ${lib.getExe sttr} snake | ${lib.getExe sttr} upper";
u = ":pipe ${lib.getExe sttr} upper";
l = ":pipe ${lib.getExe sttr} lower";
t = ":pipe ${lib.getExe sttr} title";
};
in
{
normal = {
"~" = caseMenu;
space = {
q = ":quit";
Q = ":quit!";
@ -162,6 +177,7 @@
];
};
select = {
"~" = caseMenu;
space = {
j = with pkgs; {
e = ":pipe ${lib.getExe jq}";