From: Huck Boles Date: Sun, 30 Apr 2023 00:48:17 +0000 (-0500) Subject: space space as buffer switch X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=fbab6bde98a8114cbe60a2ec067170bfc5be1a34;p=nvim.git space space as buffer switch --- 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' },