New emoji-ab plugin with C-Space
This commit is contained in:
parent
7389b68007
commit
bdf560fab8
20
vimrc
20
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 <leader>t :TagbarToggle<CR>
|
||||
" 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-Space> C-x C-o
|
||||
inoremap <C-@> <C-x><C-o>
|
||||
|
||||
"##########################
|
||||
" 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: 😱
|
||||
|
Loading…
Reference in New Issue
Block a user