feat: authoring plugins
This commit is contained in:
parent
dfc3c98bf6
commit
3cdca2add9
7 changed files with 102 additions and 0 deletions
23
lua/custom/plugins/notes/vim-wordy.lua
Normal file
23
lua/custom/plugins/notes/vim-wordy.lua
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
return {
|
||||
'preservim/vim-wordy',
|
||||
config = function()
|
||||
vim.g.wordy_ring = {
|
||||
'weak',
|
||||
{ 'being', 'passive-voice' },
|
||||
'business-jargon',
|
||||
'weasel',
|
||||
'puffery',
|
||||
{ 'problematic', 'redundant' },
|
||||
{ 'colloquial', 'idiomatic', 'similies' },
|
||||
'art-jargon',
|
||||
{ 'contractions', 'opinion', 'vague-time', 'said-synonyms' },
|
||||
'adjectives',
|
||||
'adverbs',
|
||||
}
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<F8>', ':<C-u>NextWordy<CR>', { silent = true })
|
||||
vim.api.nvim_set_keymap('x', '<F8>', ':<C-u>NextWordy<CR>', { silent = true })
|
||||
vim.api.nvim_set_keymap('i', '<F8>', '<C-o>:NextWordy<CR>', { silent = true })
|
||||
end,
|
||||
ft = { 'markdown', 'mkd', 'textile', 'tex', 'text' },
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue