error about drop
See original GitHub issuetest.vim
" $XDG_CONFIG_HOME/test.vim
set runtimepath=$VIMRUNTIME,$GITHUBWORKSPACE/Shougo/defx.nvim
nnoremap <expr> ; defx#do_action('drop', 'split')
Reproduce Procedures
in shell
vi -u $XDG_CONFIG_HOME/test.vim
in vi
" now working directory of this buffer is ~
Defx `$XDG_CONFIG_HOME` -split
lcd $XDG_CONFIG_HOME
" now working directory of defx is $XDG_CONFIG_HOME
" press ; in init.vim
" you will open an empty file ~/nvim/init.vim not $XDG_CONFIG_HOME/nvim/init.vim
" because the 2 buffers have differenet working directories
" i guess that some path variable should be absoluate path not relative path to solve this problem
Environment
- vi: nvim 0.4.3
- OS: linux 5.4.13
It is mime, although I think this problem should exist in other environments.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Drop Error - Monash Business School
Drop Error. a mistake made by a company in deciding to abandon a new product idea that, in hindsight, might have been successful...
Read more >Twitch Drops 'Error occurred drop was not claimed' fix
Here is how to fix the Twitch Drops "Error occurred drop was not claimed" message. Users struggling to get rewards will want to...
Read more >Drop Error - RAJADHARMAM
A Drop error is when a mistake made by a company in deciding to abandon a new product idea that, in hindsight, might...
Read more >Drop Errors and The Trouble with Peer Review | Mises Wire
The "drop" error occurs when an idea that could have been highly profitable is eliminated from further consideration.
Read more >drop error class - Sybase Infocenter
Use the drop error class command to remove an error class. When an error class is dropped, all actions assigned for it are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @Shougo, this seems like a valid fix to me. I’m glad we could keep the relative path behaviour in place.
Dietrich
I have added
haslocaldir()
check for it.