On Mon, 4 Apr 2011, henry wrote:
Hi folks,
I'm working on a writing website. I am making an attempt to transplant
the commands of the vim's Normal mode to an online editor.
The h and l moving comands have been implemented. And I have added two
commands H and L: when you move the cursor, you'll select the
characters it goes through. The H and L commands are similar to the
functionalities of the Visual mode commands h and l. Next, I'm
planning to implement more commands like j, k, w, b, etc.
I intend to combine the functionalities of VIM, Web editors, and
Wysiwyg. I'm not sure if there have been similar products. And I'm
wondering if my idea is a good idea. I really appreciate any
suggestions.
I'm building the site:
http://mynoteweb.com
The key bindings you're using there don't seem to work for me in either
Chrome or Firefox under OpenSUSE.
See this StackOverflow question[1] for a workaround. Looks like you're
using 'keypress' (naturally), but 'keyup' is more consistent
cross-browser.
--
Best,
Ben
[1]
http://stackoverflow.com/questions/1160008/which-keycode-for-escape-key-with-jquery/1160109#1160109
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php