Hacker News new | past | comments | ask | show | jobs | submit login

Vimperator also has this by default (^i triggers it I believe). Then you never have to have the disorientation of leaving a vim environment :-)



I use the mentioned "It's all Text" in Firefox (to pop open gvim) alongside another addon called "Vim Fx"; these two addons together provide for a far superior experience than the vanilla iPython notebook. Though I'm still hoping they integrate vim keybindings eventually -- I've noticed that there are some branches on github w/ these, but can hardly wait to see that kind of thing surface in master.


Awesome, didn't realize it worked in pentadactyl as well.

One small caveat: i use macvim, it opens a new window in macvim, i close/sync it with :wq. Any idea how I can have it so it jumps back to the firefox window instead another macvim window?


I found this on the MacVim wiki.

    mvim -f --nomru -c "au VimLeave * !open -a Terminal"'
for refocusing the terminal after editing a commit message. Think it'll work fine if you change Terminal to Firefox. The --nomru is to make sure the file isn't added to the recently edited files list, which is also helpful.


It does, thank you. For others, this is my solution for now:

set editor='mvim --nomru -f +<line> +"sil! call cursor(0, <column>)" <file> -c "au VimLeave * !open -a Firefox"'




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: