Comments (15)
That's weird. Do you have any buffer-related tweaks or plugins in your vimrc?
from far.vim.
I get the same error with a vim config with nothing but add Far directory to my runtimepath.
nvim is version 0.1.7. I'm also running on linux, I'm not sure if that would make a difference at all.
from far.vim.
Linux shouldn't be the problem. I also use nvim 0.1.7 running on Ubuntu 16.04.
Could you check something on your side please. Modify autoload/far.vim
, add absolute path to the user-service
dir, i.e. instead of this (~ line 816):
exec 'buffer! '.file_ctx.fname
should be this:
exec 'buffer! <PATH TO "user-service" DIR>/'.file_ctx.fname
from far.vim.
Same problem.
Also after the command fails, ls!
doesn't show any buffers besides the Far buffer.
from far.vim.
Can you try again with these options:
g:far#auto_write_replaced_buffers = 0
g:far#auto_delete_replaced_buffers = 0
if still fails, than these
g:far#auto_write_replaced_buffers = 1
g:far#auto_delete_replaced_buffers = 0
from far.vim.
I still get the error with those options (I tried both)
from far.vim.
same here. If I run Fardo
repeatedly, it eventually works.
from far.vim.
@tmccombs Please, turn on debug mode, reproduce the bug and attach the log file since I have no idea why it fails on your side.
from far.vim.
https://gist.github.com/c5f6c1ef592344583d5d1dc5f5d91640
from far.vim.
I just updated Far and it seems to work now.
from far.vim.
nvm. It still happens. I think what is happenign is it opens a preview buffer when you move the cursor over one of the lines that will be replaced. So if I scroll through all the replacements, it works. But if I do a :Fardo
immediately it fails, because the buffers haven't been opened yet. Here are the results of debug mode:
from far.vim.
Everything works fine on my side, it is really weird. Can you attach your vim.rc
, /home/thayne/sandbox/test
dir. any other information you'd think is useful.
from far.vim.
Attached is the sandbox/test directory. the test.vim
file in it is a minimal vim.rc that I can reproduce the problem with.
from far.vim.
@tmccombs It should be OK now. Please check. And thanks for the help!
from far.vim.
Looks good. Thanks!
from far.vim.
Related Issues (20)
- Search hidden files? HOT 3
- vim windows are normalized after Far execution
- Setting ignore_files results in errors when searching HOT 2
- Error when use Fardo with ripgrep HOT 2
- Support for case-preserving substitution, or vim-abolish mode
- Unable to handle open parenthesis HOT 1
- "L76 E64: * follows nothing; E475: Invalid argument: \%53l\%18c\v*\c" when using the multiline replacement
- When running Fardo on C++ file all matches just turn red and no changes take place HOT 4
- Visual selection disables randomly
- Add some way to filter results after searching
- Add debounce to results window loading
- Search in project [improvement] HOT 1
- Arrows not working while writing text [bug] HOT 1
- \b prevents replacement
- Far and Fardo raise errors
- Error when using ripgrep or Ag HOT 1
- Far search fails if folder / file name containing characters {{ or }}
- File mask not being applied when g:far#source='ag'
- Feature request: Use ripgrep's globs HOT 3
- Search all files by default? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from far.vim.