Comments (11)
Thanks for the report -- I was aware of this problem but have not come up with
a solution to it.
The reason for the error is that when you open from Spotlight MacVim tries to
highlight the search term (the way
other apps do as well) but if the file does not contain the search term you get
an error. I've tried to make Vim
suppress the error message when there is no match but can't seem to figure out
how this is done.
I may just disable the automatic search, although when it matches it is a nice
feature.
Original comment by [email protected]
on 18 Apr 2010 at 11:03
from macvim.
I see, that explains it.
I agree that when it matches it is a nice feature, but this is very much
dependent on
how somebody uses spotlight.
For example, the majority of the time I use it to find things by file name,
therefore
highlighting terms within a file is unnecessary but somebody else might use
spotlight
to mainly find things inside a document where the highlight feature is nice
(assuming
they have hlsearch).
I would say: please keep the feature in MacVim, its best had then not had. An
unnecessary luxury would be if there was an option to turn it off/on, but I am
sure
that everybody can live with pressing any key to continue when the "pattern not
found" comes up.
Original comment by [email protected]
on 20 Apr 2010 at 5:32
from macvim.
I've fixed this problem now -- no more error message if the Spotlight text
could not be found.
Original comment by [email protected]
on 1 Sep 2010 at 4:14
- Changed state: Fixed
from macvim.
How did you fix it?
Original comment by [email protected]
on 7 Sep 2011 at 5:15
from macvim.
I'm having this issue now. If it was fixed a year ago, it seems to be unfixed
now.
MacVim version 7.3 (53), OS X 10.7.1.
Original comment by [email protected]
on 11 Oct 2011 at 4:36
from macvim.
Still works for me. How do you reproduce? Does it depend on file name/type or
the name of the folder it is in (e.g. are there spaces or other non-alphabetic
characters in the name)?
Note that build 53 DOES NOT work well on Lion. You have to update to the
latest snapshot (currently build 62).
Original comment by [email protected]
on 11 Oct 2011 at 9:05
from macvim.
Steps to reproduce:
1. Double-click a file that opens with MacVim.
2. Type "/asdf" (or some other keyword that does not appear in the file) and
hit enter.
3. The message should say "Pattern not found: asdf"; ignore it and click the
close button in the top-left to close the window.
4. Double-click any file which does not contain "asdf" and opens with MacVim.
The MacVim window will open with the message at the bottom:
"~/path/to/file.txt" 28L, 581C
Error detected while processing command line:
E486: Pattern not found: asdf
Press ENTER or type command to continue
5. Pressing ENTER opens the file anyway.
I tried files of different extensions in other folders and it does the same
thing. Also, quitting MacVim entirely after step 3 does not change the error.
Is there an easy list of the known issues with build 53 in Lion, because I
don't recall encountering any other issues except this one and I'd rather not
update unless I see the need. But maybe it would fix this problem too.
Original comment by [email protected]
on 11 Oct 2011 at 3:01
from macvim.
So...you are not using Spotlight then (which is what the original issue was
about)?
It seems to me that you are having a plugin or configuration problem. Please
go through the troubleshooting guide:
https://github.com/b4winckler/macvim/wiki/Troubleshooting
If that doesn't lead you to a solution you ask for help on the vim_use Google
group.
Original comment by [email protected]
on 12 Oct 2011 at 7:41
from macvim.
[deleted comment]
from macvim.
Hi M. winckler, thank you very much for you great job.
Unfortunately I have tbe exact same problem as Ricky28 described, but it only
occurs when opening file from finder (open with and/or double click), not when
I use a droplet or mvim.
I also tried to trouble shoot it using the link you gave, but it still
happening even when no plugin are loaded (moved ~/.vim folder). any though ?
Original comment by [email protected]
on 29 Nov 2011 at 11:43
from macvim.
#7 and #10: this is a separate issue. Please don't hijack other issues,
instead open a new one and I will try to help.
Original comment by [email protected]
on 30 Nov 2011 at 9:07
from macvim.
Related Issues (20)
- Vertical Split in full screen mode results in cursor dissappearing on "o" HOT 3
- saving Session.vim info HOT 9
- cindent doesn't work fine HOT 1
- SQL syntax file causes insert mode navigation problems with the left and right arrow keys HOT 6
- Shift-navigation does not provide consistent Mac feel HOT 2
- Fullscreen mode disables Spotlight HOT 6
- project files drawer HOT 1
- Arabic support in macvim HOT 5
- Build fails if Build Products is not in the project directory HOT 7
- Zooming on new macbook trackpad throws a small error HOT 1
- Doesn't MacVim support search history? HOT 3
- #ifdef MM_ENABLE_PLUGINS => not Compile! HOT 4
- :vs fills window with garbage HOT 2
- Full-screen redraw problems with vertical splits HOT 5
- Macvim snapshot 52: Colors look "off" HOT 5
- Folding by syntax in with large ruby files kills performance HOT 2
- Input method candidate window position problem HOT 1
- macvim doesn't respect the file Labels that one may set in Mac OS X Finder HOT 1
- Ctrl-w and Ctrl-x don't work HOT 6
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 macvim.