add aerial keymaps
This commit is contained in:
parent
c8c5184e36
commit
137ca4d7c5
2 changed files with 21 additions and 3 deletions
|
|
@ -35,11 +35,29 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
rootOpts.keymaps = [
|
rootOpts.keymaps = [
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>lO";
|
||||||
|
action.__raw = ''function() require("aerial").open({direction = "left"}) end'';
|
||||||
|
options.desc = "Symbols outline (left)";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<leader>lo";
|
key = "<leader>lo";
|
||||||
action.__raw = ''function() require("aerial").toggle() end'';
|
action.__raw = ''function() require("aerial").open({direction = "float"}) end'';
|
||||||
options.desc = "Symbols outline";
|
options.desc = "Symbols outline (floating)";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "]S";
|
||||||
|
action.__raw = ''function() require("aerial").next() end'';
|
||||||
|
options.desc = "Next symbol";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "[S";
|
||||||
|
action.__raw = ''function() require("aerial").prev() end'';
|
||||||
|
options.desc = "Previous symbol";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ pkgs.vimUtils.buildVimPlugin {
|
||||||
# };
|
# };
|
||||||
|
|
||||||
src = builtins.fetchTarball {
|
src = builtins.fetchTarball {
|
||||||
url = "http://github.com/stevearc/aerial.nvim/archive/v2.1.0.tar.gz";
|
url = "http://github.com/stevearc/aerial.nvim/archive/v${version}.tar.gz";
|
||||||
sha256 = "sha256:0ip8xmncp82svlbkphlas88xjvzrpzyy5b1c9x06dqbm4ifai0va";
|
sha256 = "sha256:0ip8xmncp82svlbkphlas88xjvzrpzyy5b1c9x06dqbm4ifai0va";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue