Use nixvim

This commit is contained in:
Oliver Davies 2025-06-02 02:09:06 +01:00 committed by Oliver Davies
parent f0217e4640
commit ecb2a05d60
72 changed files with 691 additions and 1664 deletions

View file

@ -0,0 +1,62 @@
{
keymaps = [
{
action = "<Esc>A,<Esc>";
key = ",,";
mode = "i";
}
{
action = "<Esc>A;<Esc>";
key = ";;";
mode = "i";
}
{
action = "<cmd>lua vim.lsp.buf.format()<CR>";
key = "<leader>f";
}
{
action = "\"+y";
key = "<leader>y";
mode = "x";
}
{
action = "@q";
key = "Q";
}
{
action = "<cmd>silent !tmux new-window tmux-sessionizer<CR>";
key = "<C-f>";
}
{
action = "<Esc>:w<CR>";
key = "<C-s>";
mode = ["i" "n"];
}
{
action = "<cmd>tabnew<CR>";
key = "<C-t>";
}
{
action = "<cmd>!composer install<CR>";
key = "<leader>ci";
}
{
action = "<cmd>edit composer.json<CR>";
key = "<leader>ec";
}
{
action = "<cmd>edit flake.nix<CR>";
key = "<leader>ef";
}
];
}