summaryrefslogtreecommitdiffstats
path: root/neovim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'neovim.nix')
-rw-r--r--neovim.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/neovim.nix b/neovim.nix
index a6562d9..7e7797c 100644
--- a/neovim.nix
+++ b/neovim.nix
@@ -1,4 +1,8 @@
-{inputs, pkgs, ...}: {
+{
+ inputs,
+ pkgs,
+ ...
+}: {
config.vim = {
viAlias = true;
vimAlias = true;
@@ -151,6 +155,19 @@
cheatsheet.enable = true;
};
+ keymaps = [
+ {
+ mode = "n";
+ key = "<leader>?";
+ action = ":Cheatsheet<CR>";
+ }
+ {
+ mode = "n";
+ key = "<leader>e";
+ action = ":Neotree toggle<CR>";
+ }
+ ];
+
telescope.enable = true;
git = {