WOVOJYXQSEPSUTQGPT625ZIXV7GHKFRJ64CGGL64QBNOIRHOKVTAC
rust-tools-nvim
(buildVimPlugin {
pname = "vimpeccable";
version = "10-31-2020";
src = (pkgs.fetchFromGitHub {
owner = "svermeulen";
repo = "vimpeccable";
rev = "00300b311de64d91b3facc1e4a6fe11463735e68";
sha256 = "0mb8a7ypd6pvbjpa46h9hmc8isvxfmn7dq5gcpdg6h2wmkgrv4c4";
});
})
];
nerdtree
] ++ [(buildVimPlugin { # I'm guessing this is temporary, so I don't care about
# making an overlay from the flake.nix.
pname = "nvim-whichkey";
version = "2021-06-20";
src = pkgs.fetchFromGitHub{
owner = "folke";
repo = "which-key.nvim";
rev = "bea079f1eb0574ca9fb4bcceab67c3dc2757c5f8";
sha256 = "nNBni6I0G6HSI4aV9AUnfJX/LPaRaAOwZUtNhMIYUYM=";
};
})];
local wk = require'which-key'
wk.setup {}
wk.register({
f = {
name = "telescope",
f = {"<cmd>Telescope find_files<CR>", "Find File"},
g = {"<cmd>Telescope live_grep<CR>", "Live Grep"},
},
p = {":NERDTreeToggle<CR>", "Toggle NERDTree"},
}, {prefix = "<leader>"})
local t = require'utils'.t;
vim.api.nvim_set_keymap('n', '<Leader>p', ':NERDTreeToggle<CR>', {})