Earlier quoted context omitted.
On Mac OS X, the standard shortcut is Command-[ instead (and Command-] is Forward).
I generally use three fingers swipe to the left.
Vim.js - JavaScript port of Vim
91–100 of 107 posts
Re: Vim.js - JavaScript port of Vim
#92This... Plus Gmail... Man that's fantastic. I have sent an embarrassing number of emails that end with :wq. Once you try Vim, it's really hard to go back. I also tried using mutt instead of GMail, and while it gets me 90% of the way there, the lack of graphical preview of attachments and things like filters and HelloSign make GMails web interface more useful.
I use "It's all text!" in Firefox for this purpose and it works well; the workflow is pretty simple: focus in textarea, hotkey to switch to vim, save & close buffer to switch back to the browser. (not affiliated, just a user).
You do of course lose rich text formatting.
Re: Vim.js - JavaScript port of Vim
#93Earlier quoted context omitted.
That would be Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript. http://www.codinghorror.com/blog/2007/07/the-principle-of-le... And tlrobinson's Law (or corollary?): Any submission to Hacker News about a novel JavaScript program will contain a comment referencing Atwood's Law. https://twitter.com/tlrobinson/status/395636386671235072
PatientZero's law: Any submission to Hacker News about a novel Java script program containing a reference to Atwood's law will contain a reference to tlrobinson's law. ;-)
Re: Vim.js - JavaScript port of Vim
#94so... what exactly am i supposed to do with no file system?
Not really sure how it all works, I only took a quick look.
Re: Vim.js - JavaScript port of Vim
#95Earlier quoted context omitted.
That would be Atwood's Law: any application that can be written in JavaScript, will eventually be written in JavaScript. http://www.codinghorror.com/blog/2007/07/the-principle-of-le... And tlrobinson's Law (or corollary?): Any submission to Hacker News about a novel JavaScript program will contain a comment referencing Atwood's Law. https://twitter.com/tlrobinson/status/395636386671235072
PatientZero's law: Any submission to Hacker News about a novel Java script program containing a reference to Atwood's law will contain a reference to tlrobinson's law. ;-)
Re: Vim.js - JavaScript port of Vim
#96Too slow for me on FF.
Re: Vim.js - JavaScript port of Vim
#97This... Plus Gmail... Man that's fantastic. I have sent an embarrassing number of emails that end with :wq. Once you try Vim, it's really hard to go back. I also tried using mutt instead of GMail, and while it gets me 90% of the way there, the lack of graphical preview of attachments and things like filters and HelloSign make GMails web interface more useful.
There are browser plugins that let you edit elements in your $EDITOR. I use "It's all text!" in Firefox for this purpose and it works well; the workflow is pretty simple: focus in textarea, hotkey to switch to vim, save & close buffer to switch back to the browser. (not affiliated, just a user). You do of course lose rich text formatting.
Re: Vim.js - JavaScript port of Vim
#98Earlier quoted context omitted.
Well, I don't know what you mean by slow, but it could be the use of setTimeout() every 10ms to simulate[1] Vim's synchronous busy-wait is affecting responsiveness. Lu mentioned[2] on vim_dev that it was necessary to write a hack for this portion. [1] https://github.com/coolwanglu/vim.js/blob/master/web/vim_lib... [2] https://groups.google.com/forum/#!topic/vim_dev/AQTHbUHijgg
Yeah, I hit this same road-block when trying to port vim to JS and gave up because it didn't seem worth it after that. If only vim ran a regular event loop, it would have been such an easy port, compared to what they had to do here. When figuring out how I could overcome it, I remember reading accounts of KDE developers trying to embed vim into their widgets and failing over and over. In the end, there was a solution…
Re: Vim.js - JavaScript port of Vim
#99Earlier quoted context omitted.
Done. http://www.emacswiki.org/emacs-fr/Ejacs Ejacs is an Ecma-262 compliant JavaScript interpreter written entirely in Emacs Lisp. It should work in GNU Emacs versions 22 and higher.
What about emacs in Linux in JavaScript? :-) http://bellard.org/jslinux/
Re: Vim.js - JavaScript port of Vim
#100Can anyone think of a sane way to make this integrate with github?