summaryrefslogtreecommitdiffstats
path: root/neovim.nix
diff options
context:
space:
mode:
authorAndrew <admonty1@protonmail.com>2025-08-30 14:02:16 -0400
committerAndrew <admonty1@protonmail.com>2025-08-30 14:02:16 -0400
commit4bfb5b88c31af4d668816926be20184ffa8607c5 (patch)
tree788c47cd5bafdf035e51cc35bd9bc293ece042f3 /neovim.nix
parenttmux and neovim config (diff)
downloadnixos-4bfb5b88c31af4d668816926be20184ffa8607c5.tar.gz
nixos-4bfb5b88c31af4d668816926be20184ffa8607c5.tar.bz2
nixos-4bfb5b88c31af4d668816926be20184ffa8607c5.zip
change some stuff in neovim config
Diffstat (limited to '')
-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 = {