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 982d938703f56c4c0d9f44df5e2a267d6705dcab
parent a378da1920a38f84b7dce2195f5d64432a2409ba
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Sun,  3 Dec 2017 17:09:32 -0500

add command to replace :string: with corresponding emoji

Diffstat:
Mlinks/.vim/plugins.vim | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/links/.vim/plugins.vim b/links/.vim/plugins.vim @@ -188,3 +188,6 @@ function! s:MaybeUpdateLightline() abort call lightline#update() end endfunction + +" run vim-emoji on entire document +command! -range EmojiReplace <line1>,<line2>s/:\([^:]\+\):/\=emoji#for(submatch(1), submatch(0))/g