1
Fork 0

Clean up lapetus a bit

This commit is contained in:
prescientmoon 2024-11-09 12:45:25 +01:00
parent 2b082e9808
commit 0c6aff0470
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
16 changed files with 34 additions and 204 deletions
home/features/neovim

View file

@ -150,6 +150,7 @@ let
# Use global clipboard using *cp*
(keymap "nv" "<f11>" ''"+'' "Use global clipboard")
# Save using *ji*
(nmap "<f12>" (thunk ''
-- If we don't do this, the statusbar will flash for a second...
@ -181,8 +182,6 @@ let
}
# }}}
# {{{ Diagnostics
(dmap "[d" "goto_prev" "Goto previous [d]iagnostic")
(dmap "]d" "goto_next" "Goto next [d]iagnostic")
(dmap "J" "open_float" "Open current diagnostic")
(dmap "<leader>D" "setloclist" "[D]iagnostic loclist")
(nmap "qj" "J" "join lines")
@ -197,7 +196,9 @@ let
# lua
thunk "vim.opt.spell = not vim.o.spell"
) "toggle [s]pell checker")
(nmap "<leader>yp" "<cmd>!curl --data-binary @% https://paste.rs<cr>" "[y]ank [p]aste.rs link")
(nmap "<leader>yp" "<cmd>!curl --data-binary @% https://paste.rs | wl-copy<cr>"
"[y]ank [p]aste.rs link to clipboard"
)
# }}}
];
# }}}
@ -1072,7 +1073,7 @@ let
};
};
# tinymist.settings.exportPdf = "onType";
tinymist.settings.exportPdf = "onSave";
tinymist.offset_encoding = "utf-8";
cssls = { };
@ -1490,6 +1491,12 @@ let
};
};
# }}}
# {{{ justfile support
just = {
package = "NoahTheDuke/vim-just";
event = "VeryLazy";
};
# }}}
# }}}
# {{{ external
# These plugins integrate neovim with external services