Skip to content

Commit

Permalink
Add keystrokes for wordy and grammarous for neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantas0s committed Oct 17, 2018
1 parent 110b65a commit fba269b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nvim/pluggedconf/md/grammarous.nvimrc
Expand Up @@ -2,12 +2,13 @@ autocmd FileType markdown nmap <buffer><leader>go <plug>(grammarous-move-to-info
autocmd FileType markdown nmap <buffer><leader>gc <plug>(grammarous-close-info-window)
autocmd FileType markdown nmap <buffer><leader>gr <plug>(grammarous-reset)

autocmd FileType markdown nmap <buffer><leader>gn <Plug>(grammarous-move-to-next-error)
autocmd FileType markdown nmap <buffer><leader>gN <Plug>(grammarous-move-to-previous-error)

autocmd FileType markdown nmap <buffer><leader>gf <Plug>(grammarous-fixit)

" <Plug>(grammarous-close-info-window)
" autocmd FileType markdown nmap <buffer><leader>go <plug>(grammarous-open-info-window)
" <Plug>(grammarous-reset)
" <Plug>(grammarous-fixit)
" <Plug>(grammarous-fixall)
" <Plug>(grammarous-remove-error)
" <Plug>(grammarous-disable-rule)
" <Plug>(grammarous-move-to-next-error)
" <Plug>(grammarous-move-to-previous-error)
18 changes: 18 additions & 0 deletions nvim/pluggedconf/wordy.nvimrc
@@ -0,0 +1,18 @@
" Default ring
" let 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',
" \ ]

noremap <silent> <F8> :<C-u>NextWordy<cr>
xnoremap <silent> <F8> :<C-u>NextWordy<cr>
inoremap <silent> <F8> <C-o>:NextWordy<cr>

0 comments on commit fba269b

Please sign in to comment.