summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/whichkey.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/after/plugin/whichkey.lua14
1 files changed, 6 insertions, 8 deletions
diff --git a/.config/nvim/after/plugin/whichkey.lua b/.config/nvim/after/plugin/whichkey.lua
index 7b74e73..de726b6 100644
--- a/.config/nvim/after/plugin/whichkey.lua
+++ b/.config/nvim/after/plugin/whichkey.lua
@@ -15,13 +15,10 @@ wk.register({
G = { ':FloatermNew lazygit<CR>', 'lazygit', noremap = true, silent = true },
h = { ':Startify<CR>', 'startify', noremap = true, silent = true },
k = { ':w<CR>:bp<CR>:bd #<CR>', 'write and close buffer', noremap = true, silent = false },
- p = { ':<C-u>CocList -A --normal yank<CR>', 'CoC paste', noremap = true, silent = true },
- u = { ':UndotreeShow<CR>', 'undotree', noremap = true, silent = true },
+ u = { vim.cmd.UndotreeToggle, 'undotree', noremap = true, silent = true },
v = { ':FloatermNew vifm<CR>', 'vifm', noremap = true, silent = true },
w = { ':w<CR>', 'write buffer', noremap = true, silent = false },
x = { ':w<CR>:bp<CR>:bd #<CR>', 'write and close buffer', noremap = true, silent = false },
- q = { name = '+coc-fix-current' },
- r = { name = '+coc-rename' },
f = {
name = 'telescope',
-- f = { ':Telescope find_files<CR>', 'find files', noremap = true, silent = true },
@@ -32,10 +29,11 @@ wk.register({
end, 'grep string', noremap = true, silent = true },
},
g = {
- name = 'grep',
- a = { ':Ag<CR>', 'the_silver_searcher', noremap = true, silent = true },
- g = { ':Grep<CR>', 'grep', noremap = true, silent = true },
- r = { ':Rg<CR>', 'ripgrep', noremap = true, silent = true },
+ name = 'git',
+ s = { vim.cmd.Git, 'git' },
+ -- a = { ':Ag<CR>', 'the_silver_searcher', noremap = true, silent = true },
+ -- g = { ':Grep<CR>', 'grep', noremap = true, silent = true },
+ -- r = { ':Rg<CR>', 'ripgrep', noremap = true, silent = true },
},
v = {
name = 'nvim',