added better keybind for treesj.
This commit is contained in:
parent
9d03357d45
commit
ec2a7506a3
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue