From 2cc8349007ec02aa10229a214f187cd07d175868 Mon Sep 17 00:00:00 2001 From: He4eT Date: Tue, 31 Jan 2023 20:06:28 +0300 Subject: [PATCH] nvim: cleanup --- nvim/init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nvim/init.lua b/nvim/init.lua index 40d12ca..f59c801 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -20,8 +20,8 @@ require('packer').startup(function(use) use 'nvim-treesitter/nvim-treesitter' -- Highlight, edit, and navigate code use 'neovim/nvim-lspconfig' -- Collection of configurations for built-in LSP client - use { "williamboman/mason.nvim" } -- Automatically install language servers to stdpath - use { "williamboman/mason-lspconfig.nvim" } + use 'williamboman/mason.nvim' -- Automatically install language servers to stdpath + use 'williamboman/mason-lspconfig.nvim' use { 'hrsh7th/nvim-cmp', requires = { 'hrsh7th/cmp-nvim-lsp' } } -- Autocompletion use 'ggandor/leap.nvim' -- Motion plugin @@ -180,7 +180,7 @@ require('nvim-treesitter.configs').setup { -- Window managment vim.keymap.set('n', 'w', '', { remap = true }) -vim.keymap.set('n', 'j', 'w', { remap = true }) +vim.keymap.set('n', 'k', 'w', { remap = true }) vim.keymap.set('n', 'q', ':bd') -- Diagnostic keymaps