From 126814bcb58bf49751a7e648d66601d8e4525f43 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 15 Apr 2022 20:11:49 -0400 Subject: [PATCH] nvim: which-key for Doom like experience --- home/neovim.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home/neovim.nix b/home/neovim.nix index 87b6c0e..14ad428 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -47,6 +47,7 @@ telescope-nvim telescope-zoxide + vim-which-key # Buffer tabs bufferline-nvim @@ -71,6 +72,12 @@ " Use spave instead of \ as leader key, like doom-emacs map + " which-key + let g:mapleader = "\" + let g:maplocalleader = ',' + nnoremap :WhichKey '' + nnoremap :WhichKey ',' + " telescope nnoremap ff Telescope find_files nnoremap fg Telescope live_grep