I'm playing with vim 8.2 with popupwin feature enabled by default, it looks beautifull, but it will cover some text I wanna to view.
Some plugins will check and use this feature by default, perhaps I could disable each plugin popupwin feature according to the plugins config. There would be a lot of work to do if I wanna disable many plugins that use this feature.
So I need a way to disable this feature globally, just like vim doesn't have this feature, is there any config like set popupwin=disable in vimrc file?
Thanks!
Related
Did anyone figure out if Google Cloud Shell Editor has vim key bindings? If so, how do you turn them on?
I've been googling, clicking through the whole app, and can't find any information on whether it has vim key bindings or not.
Most online editors have it, including Cloud9. Would be weird if google excluded the key bindings.
From what I can see it is not currently supported. It is based on VS Code which does not support VIM Key Bindings by default. There is a VS Code Extension that can add VIM Keybindings, but Extensions are not supported for download in Google Cloud Shell.
Source: https://cloud.google.com/shell/docs/limitations
Auto Save or Prompt before navigating away from text editors in Kentico CMSDesk not working. I already set the Settings -> Content Management -> Prompt to save changes on exit to checked, but didn't work. Can somebody help me.
-Thanks in advance
What I would suggest is to enable the developer tools in chrome or firebug in firefox and check, if there are any javascript errors in your pages. it's possible that some custom javascript interferes with this check. Check for any errors and try to resolve them. Or, as a test, try creating a completely blank page in the content tree, with only an editable region and disable any master page inheritance so there won't be any custom code used on your page and test, if it works there. If it does, then keep adding your scripts and test to see which component or script is causing the issue. Also make sure your settings are enabled on a site level in the settings application.
Which version and hotfix do you use? I suppose you are using v7 (or less - because of CMSDesk). Please note there were some bug fixes related to prompt in CMSDesk (eg. in 7.0.80).
Content editing - The ‘Prompt to save changes on exit’ setting didn’t work correctly
You can find more information about hotfixes and fixed bugs here.
edit: after additional info (screen from your console) I think you have registered your own jquery and you don`t have registered it in no conflict mode. Can you agree? Could you register your jquery in nonconflict mode and try the prompt behavior again?
I've written a NPAPI plugin and I want to implement an NSIS installer that can install the plugin automatically.
I've googled a lot and found that from Chrome browser v25, *.crx package installation using the Windows registry does not work any more(the installed extension will be disabled by default). It seems that
Google does not allow any automatic extension installations without being approved by user.
However, I also found that if I install the plugin dll (instead of crx) on user's local machine and write reg keys to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins\#myplugin.com/myplugin with correct dll path, the plugin could be installed automatically as long as my user downloaded and executed my installer, without any notification that the new plugin was going to be installed.
My question is that why my installer works? Is it in contradiction with Google's policy?
Shouldn't all the plugins installed under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins be blocked or disabled by default?
Extensions and NPAPI plugins are very, very different, as are the associated risks to users, and they therefore have different policies.
Extensions can't be silently installed because that ends up being used to install malicious extensions that do things like change browser settings and make them hard to change back, easily harvest sensitive information from sites users visit, inject extra ads on every site the user visits (and/or replace ads that support sites with ads that just pay the malware authors), etc.
NPAPI plugins, on the other hand, do absolutely nothing in the browser unless specifically loaded by a page. They aren't particularly interesting as malware, because the added capability that NPAPI plugins give you is the ability to run native code. But if a malware author can get someone to run an installer to install the plugin, they could just as easily install something else instead that runs native code continuously in the background, rather than only when a user visits a site that triggers a plugin (and they can much more easily hide that than a plugin, which has to be in a known location, and shows up in Chrome).
The danger with NPAPI is around exploits of already-installed, non-malicious plugins, whereas the installation of malicious extensions is a real issue.
I've been using VIM for a few weeks now while messing with various web languages and I'm really enjoying it.
I find it cumbersome having to tab or click into my browser and refresh the page to see the effect of a code change. It's even more annoying as I'm using Virtual Box and I tend to be working from PDF files on the host system so I have limited window space.
Do you gurus have any fancy ways of doing this? I was wondering if it's possible to split the VIM workspace and have links/lynx in a window of its own or something to that effect?
edit:
out of curiosity, if anyone is still glancing at this:-
is it possible to execute a browser from vim and load a URL based on a variable of sorts?
:! firefox http://localhost/bla/$CURRENTWORKINGFILE
sort of thing?
If you are developing locally where no one cares, how about setting some JS to refresh the page?
<script>
setTimeout(function() { location.reload() }, 60000 );
</script>
That way you can keep working in vim and take a glance at the web page every min or so to see it refresh. This should work for most web pages.
I do this on dual monitors by leaving VIM open on one monitor and the browser on the other.
I don't know how to do this in specific, but I know of two plugins which let you communicate with a shell from within VIM:
http://code.google.com/p/conque/
http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/
Use an app called XRefresh.
I'm looking at this from the perspective of the plugin developer not the user of the browser, so I'm interested in what developers think is the ideal interface for plugins to a browser. For example: Plugins can reorder, create and destroy Tabs, Plugins can draw behind and in front of Browser pages etc.
I'm particularly concerned about the security aspects
A web browser should have a firebug plug inn which help the developers.Concerned about security browser should block Phishing.
The major thing that I look for right away is how easy it is to open a preference pane, new windows, and the security preference variables.
I also like the ability to iterate through tabs, searching through various aspects such as page currently displayed within each of those tabs.