From f29602df02d93c7574a2a8e01a4d2af327463861 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Mon, 3 Apr 2023 20:12:14 +0530 Subject: [PATCH] update keybinds --- home/nixvim.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/home/nixvim.nix b/home/nixvim.nix index a2e0803..2d26581 100644 --- a/home/nixvim.nix +++ b/home/nixvim.nix @@ -29,6 +29,42 @@ termguicolors = true; updatetime = 100; wrap = true; + splitright = true; + splitbelow = true; + }; + maps = { + normal = { + "" = { + action = ":bp"; + }; + "" = { + action = ":bn"; + }; + "" = { + silent = true; + action = ":noh"; + }; + "1" = { + silent = true; + action = ":NvimTreeToggle"; + }; + "`" = { + silent = true; + action = ":split term://zsh"; + }; + "ff" = { + silent = true; + action = "Telescope find_files"; + }; + "fg" = { + silent = true; + action = "Telescope live_grep"; + }; + "fb" = { + silent = true; + action = "Telescope buffers"; + }; + }; }; extraPlugins = with pkgs.vimPlugins; [ dracula-nvim git-blame-nvim ]; colorscheme = "dracula";