dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit fd7277880036c16faeeb5490ffa531a8b26d2531
parent 982d938703f56c4c0d9f44df5e2a267d6705dcab
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sun,  3 Dec 2017 17:18:19 -0500

add emoji functionality to git commits 📝

Diffstat:
Alinks/.vim/ftplugin/gitcommit.vim | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/links/.vim/ftplugin/gitcommit.vim b/links/.vim/ftplugin/gitcommit.vim @@ -0,0 +1,10 @@ +augroup gitcommit_typography + call pencil#init({'wrap': 'soft', 'textwidth': 80, 'conceallevel': 0}) + call litecorrect#init() + setlocal spell spl=en_us + setlocal fdo+=search + setlocal list + setlocal formatoptions=alw2qt " automatically reflow paragraphs + setlocal completefunc=emoji#complete + nnoremap <buffer> <silent> cd :<C-U>Gcommit --amend --date="$(date)"<CR> +augroup END