aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/nvim/init.vim3
1 files changed, 2 insertions, 1 deletions
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 <silent> <leader>n <cmd>lua vim.lsp.buf.rename()<CR>
nmap <silent> <leader>b <cmd>lua vim.lsp.buf.formatting()<CR>
nmap <silent> <leader>a <cmd>lua vim.lsp.buf.code_action()<CR>
+ nmap <silent> <leader>w <cmd>lua vim.lsp.buf.workspace_symbol()<CR>
nmap <silent> ]g <cmd>lua vim.diagnostic.goto_next()<CR>
nmap <silent> [g <cmd>lua vim.diagnostic.goto_prev()<CR>