diff options
author | Joe <rrbo@proton.me> | 2023-09-22 15:07:14 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-22 15:07:14 +0200 |
commit | 727a6edc7545f6c47a8433c8c8cd9bc0423d0103 (patch) | |
tree | bbedbce172f77a203d551688471d077384f54f15 /.config/nvim/after/plugin/whichkey.lua | |
parent | up (diff) | |
download | dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.gz dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.bz2 dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.xz dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.tar.zst dotfiles-bsd-727a6edc7545f6c47a8433c8c8cd9bc0423d0103.zip |
up
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/after/plugin/whichkey.lua | 14 |
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', |