Last active
July 10, 2022 05:44
-
-
Save kawarimidoll/31edc1b58e44fdd350fa378bbb7c9722 to your computer and use it in GitHub Desktop.
Show sources of ins-completion by which-key.nvim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local wk = require("which-key") | |
wk.setup() | |
-- :h ins-completion | |
wk.register({ | |
["<C-l>"] = 'Whole lines', | |
["<C-n>"] = 'keywords in the current file', | |
["<C-k>"] = 'keywords in dictionary', | |
["<C-t>"] = 'keywords in thesaurus', | |
["<C-i>"] = 'keywords in the current and included files', | |
["<C-]>"] = 'tags', | |
["<C-f>"] = 'file names', | |
["<C-d>"] = 'definitions or macros', | |
["<C-v>"] = 'Vim command-line', | |
["<C-u>"] = 'User defined completion', | |
["<C-o>"] = 'omni completion', | |
["<C-s>"] = 'Spelling suggestions', | |
["<C-z>"] = 'stop completion', | |
}, { | |
mode = "i", | |
prefix = "<C-x>", | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Article(in Japanese): https://zenn.dev/kawarimidoll/articles/53e96110ea99e3