New emoji-ab plugin with C-Space

This commit is contained in:
Jeremy Gardais 2022-08-17 15:19:53 +02:00
parent 7389b68007
commit bdf560fab8
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 19 additions and 1 deletions

20
vimrc
View File

@ -282,6 +282,7 @@ let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_min_syntax_length = 3 let g:neocomplcache_min_syntax_length = 3
let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*' let g:neocomplcache_lock_buffer_name_pattern = '\*ku\*'
"########################## "##########################
" Airline : " Airline :
"########################## "##########################
@ -423,7 +424,7 @@ let g:lightline.mode_map = {
endfunction endfunction
function! MyFiletype() function! MyFiletype()
return winwidth('.') > 70 ? (strlen(&filetype) ? &filetype : 'no ft') : '' return winwidth('.') > 70 ? (strlen(&filetype) ? &filetype : 'noft') : ''
endfunction endfunction
let g:ctrlp_status_func = { let g:ctrlp_status_func = {
@ -516,6 +517,14 @@ nmap <leader>t :TagbarToggle<CR>
" https://github.com/tpope/vim-fugitive " https://github.com/tpope/vim-fugitive
"Plug '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-Space> C-x C-o
inoremap <C-@> <C-x><C-o>
"########################## "##########################
" vim-markdown-preview: " vim-markdown-preview:
"########################## "##########################
@ -636,6 +645,14 @@ call plug#begin('~/.vim/plugged')
" Git wrapper inside Vim " Git wrapper inside Vim
Plug 'tpope/vim-fugitive' 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() call plug#end()
@ -724,6 +741,7 @@ iabbrev :lol: 😆
iabbrev :mask: 😷 iabbrev :mask: 😷
iabbrev :relieved: 😌 iabbrev :relieved: 😌
iabbrev :relieve: 😌 iabbrev :relieve: 😌
iabbrev :rolling: 🤣
iabbrev :sad_relieved: 😥 iabbrev :sad_relieved: 😥
iabbrev :sad_relieve: 😥 iabbrev :sad_relieve: 😥
iabbrev :scream: 😱 iabbrev :scream: 😱