Skip to content

expand slow with vim-orgmode plugin #356

@whisper404

Description

@whisper404

Problems summary

When I edit org files with vim-orgmode plugin, neosnippet expand is very slow. It cost about 1-2 seconds to expand text. Also, expand is slower than vim.

Environment Information

  • OS:macOS 10.12.1
  • Vim version:NVIM v0.1.6-279-gf96dfae

Provide a minimal .vimrc with less than 50 lines (Required!)

" Your minimal .vimrc
let s:cache_dir = expand('~/.cache/')
execute 'set runtimepath^=' . s:cache_dir . '/dein/repos/github.com/Shougo/dein.vim'
call dein#begin(s:cache_dir . '/dein')
call dein#add('Shougo/dein.vim')
call dein#add('Shougo/neosnippet-snippets')
call dein#add('Shougo/neosnippet.vim', {
            \ 'hook_add': "
            \ imap <C-k> <Plug>(neosnippet_jump_or_expand)"
            \ })
call dein#add('Shougo/deoplete.nvim' , {
            \ 'hook_add': "let g:deoplete#enable_at_startup = 1"
            \ })
call dein#add('jceb/vim-orgmode')
call dein#end()
filetype plugin indent on

The reproduce ways from Vim starting (Required!)

  1. Open org file in vim.
  2. Input date
  3. Press Ctrl-K to expand text.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions