mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
well english is not my thing
This commit is contained in:
10
after/plugin/whichkey.lua
Normal file
10
after/plugin/whichkey.lua
Normal file
@@ -0,0 +1,10 @@
|
||||
local wk = require 'which-key'
|
||||
wk.setup {}
|
||||
wk.register({
|
||||
f = { name = '[F]ile' },
|
||||
s = { name = '[S]earch' },
|
||||
t = { name = '[T]est' },
|
||||
w = { name = '[W]orkspace' },
|
||||
g = { name = '[G]it' },
|
||||
l = { name = '[L]SP' },
|
||||
}, { prefix = '<leader>' })
|
||||
@@ -1,12 +0,0 @@
|
||||
local wk = require 'which-key'
|
||||
wk.setup {}
|
||||
wk.register {
|
||||
['<leader>'] = {
|
||||
f = { name = '[F]ile' },
|
||||
s = { name = '[S]earch' },
|
||||
t = { name = '[T]est' },
|
||||
w = { name = '[W]orkspace' },
|
||||
g = { name = '[G]it' },
|
||||
l = { name = '[L]SP' },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user