vim-office
vim-office copied to clipboard
It works with `:e file.pdf` but not with `vim file.pdf`
Thanks for the plugin.
It works as expected from within vim/neovim: :e file.pdf converts pdf to text and opens it in vim.
But execution from command line doesn't work well. vim file.pdf opens it as is (so no conversion at all).
Strange. Works for me with the following vimrc and Vim version 8.0.1568
set nocompatible
language messages en_US " To avoid scrambled non english letters.
let &rtp = '~/.vim/plugged/vim-office' . ',' . &rtp
filetype plugin indent on
syntax on
Could you distill a minimal example?
It works well with minimal example. I used this one:
set nocompatible
set runtimepath^=~/.vim runtimepath+=~/.vim/after
call plug#begin('~/.vim/plugged')
Plug 'Konfekt/vim-office'
call plug#end()
filetype plugin indent on
syntax enable
I'll try to find out which plugin or setting conflict with vim-office.