Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Denite起動後、何故かnormal modeでmodifiable is offで言われる #640

Closed
take opened this issue Jun 2, 2019 · 12 comments
Closed

Comments

@take
Copy link
Contributor

take commented Jun 2, 2019

Problems summary

タイトルの通りです、以下の画像の様に起動後入力を受け付けない状態です

:Denite file/rec

Screen Shot 2019-06-03 at 0 36 02

Expected

入力を付けつける

Environment Information (Required!)

  • denite version (SHA1): f1d40d0

  • OS: macOS Mojave 10.14.4

  • Vim/neovim version:

VIM - Vi IMproved 8.1 (2018 May 18, compiled May 30 2019 19:14:02)
macOS version
Included patches: 1-1400
Compiled by Homebrew

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

init.vimが何かちょっとわからず、再現するための最小限の.vimrcでしたら以下になります

if &compatible
  set nocompatible
endif

set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim

if dein#load_state('~/.cache/dein')
        call dein#begin('~/.cache/dein')
        call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')

        call dein#add('Shougo/Denite.nvim')
        if !has('nvim')
                call dein#add('roxma/nvim-yarp')
                call dein#add('roxma/vim-hug-neovim-rpc')
        end

        call dein#end()
        call dein#save_state()
endif

filetype plugin indent on
syntax enable

.cache/deinを消し、上記の.vimrcでプラグインのインストールもし直しましたが、同じ現象が起きており困ってます… :(

過去のissuesを漁ってみたのですが、同じような報告が無く、過去に似たような事例等や、解決に関わりそうな事等ありましたら教えていただけると助かります 🙇

@get-me-power
Copy link
Contributor

おそらくですが,以下の設定を.vimrcに書いていないからだと思います.
スクリーンショット 2019-06-03 1 49 51
自分の手元で確認したら,再現しました.

@take
Copy link
Contributor Author

take commented Jun 2, 2019

@kazukazuinaina

おおおおおおありがとうございます!僕の設定不足でした… 🙇

そういえばDeniteの入力モード中、デフォルトだと c-g や c-t でカーソル移動出来た気がするんですが気の所為でしょうか… 👀

@take take closed this as completed Jun 3, 2019
@Shougo
Copy link
Owner

Shougo commented Jun 3, 2019

そういえばDeniteの入力モード中、デフォルトだと c-g や c-t でカーソル移動出来た気がするんですが気の所為でしょうか… eyes

その機能は削除されました。
Insert mode での移動は推奨していません。

@take
Copy link
Contributor Author

take commented Jun 3, 2019

なるほどです!アップデートしたら出来なくなったのはそういうことなんですね、ありがとうございます!

@languitar
Copy link

Could someone translate this to English? I am probably facing the same issue.

@tex
Copy link
Contributor

tex commented Jun 3, 2019

You need to provide mappings. In this case probably for 'i' to call open_filter_buffer.

@languitar
Copy link

Ok, thanks. Is there any chance to go into insert mode immediately after all the changes?

@take
Copy link
Contributor Author

take commented Jun 3, 2019

@languitar

immediately after all the changes?

you mean immediately after :Denite command? what do you mean by "all the changes" ? 👀

@languitar
Copy link

yes, immediately after calling :Denite, which further keyboard interaction.

At least the mapping configuration has changed significantly.

@Shougo
Copy link
Owner

Shougo commented Jun 3, 2019

Ok, thanks. Is there any chance to go into insert mode immediately after all the changes?

						*denite-option-start-filter*
-start-filter
		Start filtering on default.
		Default: false

@languitar
Copy link

Thanks!

@take
Copy link
Contributor Author

take commented Jun 3, 2019

ooooo I didn't know this as well, thanks!

Genki-S added a commit to Genki-S/dotfiles that referenced this issue Jun 9, 2020
The latest one doesn't recommend doing things in insert mode, however
that workflow is crucial for me (esp. when I'm opening a file using
file/rec).

ref: Shougo/denite.nvim#640
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants