diff --git a/lua/config/keys.lua b/lua/config/keys.lua index 8b103e4..8ab58a6 100644 --- a/lua/config/keys.lua +++ b/lua/config/keys.lua @@ -54,6 +54,22 @@ local keymaps = { cmd = '') + end, + desc = "Shift selection in visual mode right" + }, + { + mode = { 'i' }, + keys = '', + cmd = function() + vim.cmd(':<') + end, + desc = "Shift selection in visual right" + }, -- -- Window controls -- .............................................. @@ -88,7 +104,7 @@ local keymaps = { if buf_type == '' then -- check if buffer is in ignore - in_ignore = false + local in_ignore = false for _, v in ipairs(ignore) do if v == file_type then in_ignore = true @@ -155,6 +171,17 @@ local keymaps = { vim.lsp.buf.format() end, desc = "Format buffer with current LSP" + }, + -- + -- Telescope + -- .............................................. + { + mode = { 'n', 'i', 'v' }, + keys = '', + cmd = function() + vim.cmd('Telescope') + end, + desc = "Open Telescope" } } diff --git a/lua/plugins/mini.lua b/lua/plugins/mini.lua index d14e05b..e2e68a2 100644 --- a/lua/plugins/mini.lua +++ b/lua/plugins/mini.lua @@ -37,8 +37,8 @@ return { up = '', -- Move current line in Normal mode - line_left = '', - line_right = '', + line_left = nil, + line_right = nil, line_down = '', line_up = '', }