From 967e3fd3830ceea2cfa280de061abe1bc41d70f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Mon, 24 Oct 2022 13:21:15 +0300 Subject: Change leader to ',', add bind for symbol search --- dotfiles/.config/nvim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dotfiles/.config/nvim') diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index 60fa726..5fda1b5 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -1,5 +1,5 @@ -let mapleader =" " +let mapleader = "," " Check if vim-plug is installed, otherwise download and install if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) @@ -244,6 +244,7 @@ call plug#end() nmap n lua vim.lsp.buf.rename() nmap b lua vim.lsp.buf.formatting() nmap a lua vim.lsp.buf.code_action() + nmap w lua vim.lsp.buf.workspace_symbol() nmap ]g lua vim.diagnostic.goto_next() nmap [g lua vim.diagnostic.goto_prev() -- cgit v1.2.3