From f9c6c8f1bd9f007796a6042d31b48aa237958bfa Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Jan 2022 22:58:20 +0100 Subject: Update whichkey and spectre --- lua/config/whichkey.lua | 40 ---------------------------------------- 1 file changed, 40 deletions(-) (limited to 'lua/config/whichkey.lua') diff --git a/lua/config/whichkey.lua b/lua/config/whichkey.lua index d045f05..85ef65d 100644 --- a/lua/config/whichkey.lua +++ b/lua/config/whichkey.lua @@ -184,46 +184,6 @@ local mappings = { -- h = { "ToggleTerm size=10 direction=horizontal", "Horizontal" }, -- v = { "ToggleTerm size=80 direction=vertical", "Vertical" }, -- }, - r = { - t = { - "lua require('spectre').toggle_line()", - "toggle current item", - }, - -- ["enter_file"] = { - -- map = "", - -- cmd = "lua require('spectre.actions').select_entry()", - -- desc = "goto current file", - -- }, - Q = { - "lua require('spectre.actions').send_to_qf()", - "send all item to quickfix", - }, - c = { - "lua require('spectre.actions').replace_cmd()", - "input replace vim command", - }, - o = { - "lua require('spectre').show_options()", - "show option", - }, - R = { - cmd = "lua require('spectre.actions').run_replace()", - desc = "replace all", - }, - m = { - "lua require('spectre').change_view()", - "change result view mode", - }, - I = { - "lua require('spectre').change_options('ignore-case')", - "toggle ignore case", - }, - H = { - "lua require('spectre').change_options('hidden')", - "toggle search hidden", - }, - -- you can put your mapping here it only use normal mode - }, } local vopts = { -- cgit v1.2.3-70-g09d2