From 34158f5357b5744d75a8a9e9008d3137663d3b05 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 21 Jul 2024 18:32:25 +0300 Subject: feat(neovim-keymaps): added keymap for :wqa, removed commented code --- .config/nvim/lua/custom/statusline.lua | 29 ----------------------------- .config/nvim/plugin/keymaps.lua | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/.config/nvim/lua/custom/statusline.lua b/.config/nvim/lua/custom/statusline.lua index 8b607d3..ce581c4 100644 --- a/.config/nvim/lua/custom/statusline.lua +++ b/.config/nvim/lua/custom/statusline.lua @@ -71,35 +71,6 @@ lualine.setup({ function() return lsp_progress.progress() end, - -- { - -- 'lsp_progress', - -- -- separators = { spinner = { pre = '⟨', post = '⟩' } }, - -- -- display_components = { 'lsp_client_name', 'spinner', { 'title', 'percentage', 'message' } }, - -- display_components = { 'spinner', { 'title', 'percentage', 'message' } }, - -- -- spinner_symbols = { -- 20 wide - -- -- '░░░░░░░░░░░░░░░░░░░░', - -- -- '█░░░░░░░░░░░░░░░░░░░', - -- -- '██░░░░░░░░░░░░░░░░░░', - -- -- '███░░░░░░░░░░░░░░░░░', - -- -- '████░░░░░░░░░░░░░░░░', - -- -- '█████░░░░░░░░░░░░░░░', - -- -- '██████░░░░░░░░░░░░░░', - -- -- '███████░░░░░░░░░░░░░', - -- -- '████████░░░░░░░░░░░░', - -- -- '█████████░░░░░░░░░░░', - -- -- '██████████░░░░░░░░░░', - -- -- '███████████░░░░░░░░░', - -- -- '████████████░░░░░░░░', - -- -- '█████████████░░░░░░░', - -- -- '██████████████░░░░░░', - -- -- '███████████████░░░░░', - -- -- '████████████████░░░░', - -- -- '█████████████████░░░', - -- -- '██████████████████░░', - -- -- '███████████████████░', - -- -- '████████████████████', - -- -- }, - -- }, }, lualine_x = { 'searchcount', diff --git a/.config/nvim/plugin/keymaps.lua b/.config/nvim/plugin/keymaps.lua index 07a3a58..bc5c73e 100644 --- a/.config/nvim/plugin/keymaps.lua +++ b/.config/nvim/plugin/keymaps.lua @@ -12,7 +12,6 @@ local function toggle_zen() vim.cmd('UndotreeHide') end - local function paste() vim.fn.getreg('+') end @@ -27,6 +26,7 @@ unbind({ 'i', 'n', 'v' }, '') set('n', 'U', 'redo') set('i', '', 'undo') set('i', '', 'undo') +set({ 'i', 'n', 'v' }, '', 'wqa') -- Window Navigation - NO NEED BECAUSE IT CONFLICTS WITH TMUX -- set('n', '', '', { desc = 'Move focus to the left window' }) -- cgit v1.3.1