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

Do not move the directory with the 'open' command. #139

Closed
nabezokodaikon opened this issue Jun 14, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@nabezokodaikon
Copy link

commented Jun 14, 2019

Problems summary

Do not move the directory with the 'open' command.

Expected

Currently, when selecting a directory, the directory is moved using the 'open' command, but please do not move the directory.

Environment Information

  • defx version(SHA1): 1ca84d2

  • OS: Mac

  • neovim/Vim version: neovim 0.3.7

  • :checkhealth or :CheckHealth result(neovim only): OK

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

function! s:defx_my_settings() abort
  nnoremap <silent><buffer><expr> <CR>
    \ defx#do_action('open')
endfunction

The reproduce ways from neovim/Vim starting (Required!)

  1. When selecting a file, open the file with the 'open' command.
  2. When selecting a directory, just open the directory, do not move it.
@Shougo

This comment has been minimized.

Copy link
Owner

commented Jun 15, 2019

Sorry. I don't want to change the current behavior.

@Shougo Shougo closed this Jun 15, 2019

@Shougo Shougo added the wontfix label Jun 15, 2019

@Shougo

This comment has been minimized.

Copy link
Owner

commented Jun 15, 2019

Because, it breaks other users configuration.

@nabezokodaikon

This comment has been minimized.

Copy link
Author

commented Jun 15, 2019

Understood. Thank you for the reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.