-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support without gvim. #89
Comments
Totally on the same page. What about a Other things that would have to change:
I may have some time to open a pull request this weekend... |
I'm happy to see I'm not alone. If you have the time to make that is awesome, I have not the time at the moment. |
@austinglaser, that would be great since that would allow me to easily use |
And regular vim for folks like me |
Never got around to adding features properly. However, I've been using the following patch, which seems to work reasonably: bin/run | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/run b/bin/run
index 804a137037a3..2c5abf1f77ec 100755
--- a/bin/run
+++ b/bin/run
@@ -38,7 +38,7 @@ done
AW_PATH=$HOME/.vim-anywhere
TMPFILE_DIR=/tmp/vim-anywhere
TMPFILE=$TMPFILE_DIR/doc-$(date +"%y%m%d%H%M%S")
-VIM_OPTS=--nofork
+#VIM_OPTS=--nofork
# Use ~/.gvimrc.min or ~/.vimrc.min if one exists
VIMRC_PATH=($HOME/.gvimrc.min $HOME/.vimrc.min)
@@ -56,7 +56,7 @@ touch $TMPFILE
# Linux
if [[ $OSTYPE == "linux-gnu" ]]; then
chmod o-r $TMPFILE # Make file only readable by you
- gvim $VIM_OPTS $TMPFILE
+ termite -e "nvim $TMPFILE"
cat $TMPFILE | xclip -selection clipboard
# OSX |
Do you have an idea on how to do this with OSX+iterm2?. I've been experimenting with bin/run
script/set_frontmost_app.scpt
script/current_app.scpt
|
I updated the above script to work fully. I also forked and committed it here: https://github.com/Dbz/vim-anywhere |
When I use these scripts, the iterm window is left open after running vim (or nvim, which I use). Is there a way to close the iterm window when vim is done? |
@tthkbw I ran into the same thing, and setting up one last VimLeave autocommand to exit the window does the trick!
(it kind of feels like one of those things that shouldn't work, and yet) Edit: The feeling was true. This no longer works for me. |
First thanks for your project it's great. Just know if it possible to add a support without gvim. I don't want to need install gvim for use your project.
The text was updated successfully, but these errors were encountered: