Comments (14)
Hey, thanks for the compliments. They make my day. ^_^
So I was definitely inspired by Vimperator. It's pretty sweet. There are some major differences between vim-anywhere and it though. Quoting the Vimperator docs:
Vimperator is a Firefox browser extension
vim-anywhere runs gVim or MacVim native on your system so you can use it anywhere. For instance, I commonly use vim-anywhere to type up emails. I've had a few people mention other use cases that I thought were really interesting. For instance, corresponding over chat involving code and you want to quickly write up an example that is properly formatted.
However, Vimperator does not try to be a 100% Vim clone
vim-anywhere is just invoking Vim, so it it is 100% everything you would expect and nothing more.
Hopefully that clears things up. Cheers!
from vim-anywhere.
Hi Chris,
that's something I can work with. I installed it and now I opened thunderbird and press to edit the text in gVim but nothing happens. Do I have to restart my system after installing it? Don't know if I'm the first Ubuntu user ... :).
from vim-anywhere.
Hmn, thats interesting. Can you provide me with more details? What exactly happens? Does gVim open? Do you :wq
gVim or are you closing it by closing the window?
Also, what version of Ubuntu are you running?
from vim-anywhere.
The problem could either be the shortcut isn't getting set properly, or there is something wrong with the script. I'm better on the former.
from vim-anywhere.
I'm running Xubuntu (Ubuntu) 13.10 and I don't have a running gVim session. I just installed the script and did no configuration. You can find my vim configuration here: https://github.com/matthias-guenther/vim-settings
from vim-anywhere.
Hmn, I definitely haven't tested anything on Xubuntu. Right now we only officially support Gnome. That said, I believe newer versions of Xubuntu use dconf
so we should be able to get it to work.
The problem is, we are using the gnome interface to dconf
, gsettings
right now. @pyrated or I will open up a pull request to fix this sometime later tonight.
from vim-anywhere.
Okay, yeah did not thought about xfce :). Thanks for taking responsibility in this issue.
from vim-anywhere.
Apparently using plain old dconf
through the command line is a huge pain. gsettings
(what we currently depend on) is much simpler. Until I can figure out dconf
I can't really fix the installer. That said, it should fail because you would be missing gsettings
and gconftool
. Did it succeed? If so, thats definitely a bug.
from vim-anywhere.
I executed curl -fsSL https://raw.github.com/cknadler/vim-anywhere/master/install | bash
and the installation was a success but running gconftool -t str --set /desktop/gnome/keybindings/vim-anywhere/binding Ctrl+Alt+v
as well as disabling vimperator doesn't change anything. I could not find the /desktop/gnome/keybindings/vim-anywhere/binding
folder on my system beginning from the /desktop
directory. I think keybindings are stored under xfce under another location.
from vim-anywhere.
@matthias-guenther /desktop/gnome/keybindings/vim-anywhere/binding
isn't an actual directory. It's a path inside of a configuration file.
There is currently an issue with systems that use dconf (including Xubuntu) but also have gconftool installed.
If you have gsettings
installed then running:
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['others', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybindings:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere name "vim-anywhere"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybindings:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere binding "<CTRL><ALT>v"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybindings:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere command "~/.vim-anywhere/bin/run"
Should correctly bind the keys. These commands are supposed to be running during install on systems like yours but they are not at the moment. I currently have no way of testing for xfce-based desktops right now, so your milage may vary.
You can also graphically modify these settings using dconf-editor
.
from vim-anywhere.
Hi @pyrated thanks for your help. I actually could set gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['others', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere']"
option and it showed up in the settings when I fire up dconf-editor
.
But when I run gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybindings:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/vim-anywhere name "vim-anywhere"
I get No such schema 'org.gnome.settings-daemon.plugins.media-keys.custom-keybindings'
.
Again, I'm a little bit lost :).
from vim-anywhere.
having same error as wikimatze first gsettings
command works, second give No such schema ...
error was this resolved ?
from vim-anywhere.
Hey, are you guys still having this issue? Let me know and I can dig a little more into it. Thanks!
from vim-anywhere.
Almost forgot this issue 😄, I tried gconftool -t str --set /desktop/gnome/keybindings/vim-anywhere/binding "<CTRL><ALT>v"
and it is still not working. I'm now using Xubuntu 14.04.
from vim-anywhere.
Related Issues (20)
- macOS - No hotkey in Services HOT 3
- feature proposition: Automatic pasting HOT 5
- Can't auto refocus the previous editer after quit vim in Ubuntu18.04 HOT 2
- How to open a new buffer in current MacVim window? HOT 1
- Doesnt work on only i3wm? Really needs gnome? HOT 1
- Can't lock the PC, the lock file doesn't exist HOT 1
- Keybind Not Working in Chrome HOT 1
- Workflow starts, but nothing else happens HOT 1
- change key board shortcut on ubuntu HOT 1
- Switch to soft wrap on launch?
- Use without temp files on mac [suggestion]
- Plugin not working HOT 2
- Vim takes a long time to start after being invoked.
- Open Vim with selected text
- On Linux Mint Cinnamon: use `cinnamon-settings` or `dconf`
- Support without gvim. HOT 9
- Changing xclip to xsel for Linux HOT 2
- not working? (with screencast) HOT 2
- Windows version HOT 3
- put vim in insert mode automatically 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 vim-anywhere.