diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 22:58:20 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 22:58:20 +0100 |
commit | f9c6c8f1bd9f007796a6042d31b48aa237958bfa (patch) | |
tree | 96f2018659031b2cc3d38617a8c7b1fdd80a2b8b /lua/config/whichkey.lua | |
parent | 2db2f4c15b79e53fee2d852b83f71c7a8b4f5957 (diff) |
Update whichkey and spectre
Diffstat (limited to 'lua/config/whichkey.lua')
-rw-r--r-- | lua/config/whichkey.lua | 40 |
1 files changed, 0 insertions, 40 deletions
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 = { "<cmd>ToggleTerm size=10 direction=horizontal<cr>", "Horizontal" }, -- v = { "<cmd>ToggleTerm size=80 direction=vertical<cr>", "Vertical" }, -- }, - r = { - t = { - "<cmd>lua require('spectre').toggle_line()<CR>", - "toggle current item", - }, - -- ["enter_file"] = { - -- map = "<cr>", - -- cmd = "<cmd>lua require('spectre.actions').select_entry()<CR>", - -- desc = "goto current file", - -- }, - Q = { - "<cmd>lua require('spectre.actions').send_to_qf()<CR>", - "send all item to quickfix", - }, - c = { - "<cmd>lua require('spectre.actions').replace_cmd()<CR>", - "input replace vim command", - }, - o = { - "<cmd>lua require('spectre').show_options()<CR>", - "show option", - }, - R = { - cmd = "<cmd>lua require('spectre.actions').run_replace()<CR>", - desc = "replace all", - }, - m = { - "<cmd>lua require('spectre').change_view()<CR>", - "change result view mode", - }, - I = { - "<cmd>lua require('spectre').change_options('ignore-case')<CR>", - "toggle ignore case", - }, - H = { - "<cmd>lua require('spectre').change_options('hidden')<CR>", - "toggle search hidden", - }, - -- you can put your mapping here it only use normal mode - }, } local vopts = { |