question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Double filer emulation no longer working

See original GitHub issue

Consider the following minimal vimrc

set nocompatible

let $DOTVIM = expand('$HOME/.config/nvim')

set runtimepath+=$DOTVIM/bundle/repos/github.com/Shougo/defx.nvim
filetype plugin indent on

call defx#custom#option('_', {
            \ 'winwidth': 40,
            \ 'split': 'vertical',
            \ 'direction': 'topleft',
            \ })
call defx#custom#column('filename', {'min_width': 23, 'max_width': 23})

nnoremap <silent> ,xdf :Defx `expand('%:p:h')`<CR>
            \ :Defx -new -split=horizontal -direction=<CR>
            \ :wincmd p<CR>

If I now open nvim and pres ,xdf I no longer get a “double filer” feature. In fact when I run :Defx -new -split=horizontal -direction= inside a defx buffer then the following error is triggered:

Error detected while processing function defx#util#call_defx[2]..defx#start[8]..defx#util#rpcrequest:
line   18:
error caught in async handler '_defx_async_action [['check_redraw', [], {'columns': 'mark:filename:type', 'auto_cd': False, 'prev_bufnr': 9, 'resume': False, 'sort': 'filename', 'listed': False, 'new': False, 'di
rection': 'topleft', 'show_ignored_files': False, 'winheight': 0, 'profile': False, 'search': '', 'buffer_name': 'default', 'winwidth': 40, 'split': 'vertical', 'cursor': 1, 'prev_winid': 1009, 'toggle': False}]]
'
Traceback (most recent call last):
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/__init__.py", line 45, in async_action
    self._rplugin.do_action(args)
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/rplugin.py", line 37, in do_action
    view.do_action(args[0], args[1], args[2])
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/view.py", line 389, in do_action
    for x in self._defxs}
AttributeError: 'View' object has no attribute '_defxs'
Error detected while processing function defx#util#call_defx[2]..defx#start[8]..defx#util#rpcrequest:
line   18:
error caught in async handler '_defx_async_action [['check_redraw', [], {'columns': 'mark:filename:type', 'auto_cd': False, 'prev_bufnr': 9, 'resume': False, 'sort': 'filename', 'listed': False, 'new': False, 'di
rection': 'topleft', 'show_ignored_files': False, 'winheight': 0, 'profile': False, 'search': '', 'buffer_name': 'default', 'winwidth': 40, 'split': 'vertical', 'cursor': 1, 'prev_winid': 1009, 'toggle': False}]]
'
Traceback (most recent call last):
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/__init__.py", line 45, in async_action
    self._rplugin.do_action(args)
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/rplugin.py", line 37, in do_action
    view.do_action(args[0], args[1], args[2])
  File "/home/pedro/git-repos/private/dotfiles/vim/bundle/.cache/init.vim/.dein/rplugin/python3/defx/view.py", line 389, in do_action
    for x in self._defxs}
AttributeError: 'View' object has no attribute '_defxs'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Shougocommented, Feb 21, 2019

I have described before… The feature is not supported in defx.

0reactions
petobenscommented, Apr 11, 2019

Awesome. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >
3270 and 5250 emulation troubleshooting checklist
Are you having trouble connecting to the host when using file transfer on a 5250 emulator session, using the HODCached applet, or loading...
Read more >
Emulator in Android Studio doesn't start
I just created the AVD with 768 MB RAM and it did run fine! UPDATE: November 2022. This answer was almost from 10...
Read more >
Android Emulator Troubleshooting - Xamarin
This article explains how to diagnose and work around problems that may occur when using the Android Emulator.
Read more >
Seeing Double: Emulation in Theory and Practice
The Erl-King piece (and likely any other major CP/M based video work) required a lot of external hardware, ... At this point I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found