summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftplugin/nroff.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/nroff.vim b/.config/nvim/after/ftplugin/nroff.vim
index 63c4b9b..62eca08 100644
--- a/.config/nvim/after/ftplugin/nroff.vim
+++ b/.config/nvim/after/ftplugin/nroff.vim
@@ -1 +1,4 @@
setlocal textwidth=73
+
+nnoremap <LocalLeader>c :w !wc -w<CR>
+xnoremap <LocalLeader>c :'<,'>w !deroff \| wc -w<CR>