From bdf560fab8b2258fe9bf3f94b58c0a938cd576f2 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Wed, 17 Aug 2022 15:19:53 +0200 Subject: [PATCH] New emoji-ab plugin with C-Space --- vimrc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 39ea70a..1ff9d91 100644 --- a/vimrc +++ b/vimrc @@ -282,6 +282,7 @@ let g:neocomplcache_enable_at_startup = 1 let g:neocomplcache_min_syntax_length = 3 let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' + "########################## " Airline : "########################## @@ -423,7 +424,7 @@ let g:lightline.mode_map = { endfunction function! MyFiletype() - return winwidth('.') > 70 ? (strlen(&filetype) ? &filetype : 'no ft') : '' + return winwidth('.') > 70 ? (strlen(&filetype) ? &filetype : 'noft') : '' endfunction let g:ctrlp_status_func = { @@ -516,6 +517,14 @@ nmap t :TagbarToggle " https://github.com/tpope/vim-fugitive "Plug 'tpope/vim-fugitive' +"########################## +" plug vim-emoji-ab : +"########################## +" https://github.com/acmpo6ou/vim-emoji-ab +"Plug "acmpo6ou/vim-emoji-ab" +"inoremap C-x C-o +inoremap + "########################## " vim-markdown-preview: "########################## @@ -636,6 +645,14 @@ call plug#begin('~/.vim/plugged') " Git wrapper inside Vim Plug 'tpope/vim-fugitive' + " Emoji abbreviations and completion + Plug 'acmpo6ou/vim-emoji-ab' + " Default type + "au FileType html,markdown,md,text,mail,gitcommit,vim + " Try to enable emoji-ab plugin for all files + au FileType * + \ runtime plugged/vim-emoji-ab/macros/emoji-ab.vim + call plug#end() @@ -724,6 +741,7 @@ iabbrev :lol: 😆 iabbrev :mask: 😷 iabbrev :relieved: 😌 iabbrev :relieve: 😌 +iabbrev :rolling: 🤣 iabbrev :sad_relieved: 😥 iabbrev :sad_relieve: 😥 iabbrev :scream: 😱