added better keybind for treesj.

This commit is contained in:
Gabe Venberg 2024-04-23 11:04:37 -05:00
parent 9d03357d45
commit ec2a7506a3

View file

@ -29,7 +29,22 @@
extraPlugins = with pkgs.vimPlugins; [
treesj
];
extraConfigLua = ''require("treesj").setup({})'';
extraConfigLua = ''
require("treesj").setup({
use_default_keymaps=false,
})
'';
keymaps = [
{
action = ":TSJToggle<CR>";
key = "<leader>j";
mode = "n";
options = {
silent = true;
desc = "tree sitter join toggle";
};
}
];
};
};
imports = [