From fbab6bde98a8114cbe60a2ec067170bfc5be1a34 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Sat, 29 Apr 2023 19:48:17 -0500 Subject: [PATCH] space space as buffer switch --- lua/map.lua | 4 ++-- lua/plugins/telescope.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/map.lua b/lua/map.lua index d11e9a8..7e729f2 100644 --- a/lua/map.lua +++ b/lua/map.lua @@ -2,7 +2,7 @@ vim.keymap.set('n', 'h', ":vsplit ") vim.keymap.set('n', 'v', ":split ") vim.keymap.set('n', 't', ':tabnew ') -vim.keymap.set('n', 'b', 'bprev') +vim.keymap.set('n', '', 'bprev') -- move through virtual lines vim.keymap.set('n', 'j', 'gj') @@ -12,7 +12,7 @@ vim.keymap.set('n', 'k', 'gk') vim.keymap.set('n', 'Q', '@@') -- center the screen for movement commands -vim.keymap.set('n', '', 'za') +vim.keymap.set('n', 'w', 'za') vim.keymap.set('n', 'n', 'nzz') vim.keymap.set('n', 'N', 'Nzz') vim.keymap.set('n', '', 'zz') diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index 5daa760..841417b 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -6,7 +6,7 @@ return { { 'f', 'Telescope git_files' }, { 'F', 'Telescope find_files' }, { '', 'Telescope live_grep' }, - { 'B', 'Telescope buffers' }, + { 'b', 'Telescope buffers' }, { '', 'Telescope command_history' }, { 'D', 'Telescope diagnostics' }, { 'g', 'Telescope git_commits' }, -- 2.45.2