From cf2dc37aac347c084e1ac9fae183fad422587751 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Tue, 13 Aug 2024 14:35:47 +0300 Subject: fix p10k --- nvim/lua/keymaps.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'nvim/lua/keymaps.lua') diff --git a/nvim/lua/keymaps.lua b/nvim/lua/keymaps.lua index 8cbd8da..78f06fe 100644 --- a/nvim/lua/keymaps.lua +++ b/nvim/lua/keymaps.lua @@ -1,6 +1,8 @@ local map = vim.api.nvim_set_keymap local opts = {noremap = true, silent = true} +vim.g.mapleader = " " + -- Tree map('n', '', ':NvimTreeToggle', opts) @@ -10,10 +12,10 @@ map('n', 'fg', 'Telescope live_grep', opts) map('n', 'fb', 'Telescope buffers', opts) -- LSP ---map('n', 'e', vim.diagnostic.open_float, opts) ---map('n', '[d', vim.diagnostic.goto_prev, opts) ---map('n', ']d', vim.diagnostic.goto_next, opts) ---map('n', 'q', vim.diagnostic.setloclist, opts) +-- map('n', 'e', vim.diagnostic.open_float, opts) +-- map('n', '[d', vim.diagnostic.goto_prev, opts) +-- map('n', ']d', vim.diagnostic.goto_next, opts) +-- map('n', 'q', vim.diagnostic.setloclist, opts) local on_attach = function(client, bufnr) vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') -- cgit v1.2.3