notifications on buffer content changes

2010-12-29 Fir de Conversatie Yaron
Hello, I've been trying to get notifications from Vim on when the contents of buffer(s) change. I've encountered the following problems: 1. Trying to use autocmd you don't always have the right events you can use as hooks to be notified of changes. For example, you can hook a callback to

vim -w or -W records K_SPECIAL sequence from xterm version string in script

2010-12-29 Fir de Conversatie Josh Triplett
vim -w or -W records all the keystrokes entered in Vim. If running on an xterm or another terminal that supports requesting the terminal version, vim will do so, and process the resulting version response to set a few options. In the process of doing so, it ends up recording three extra bytes at

Launchpad bug #137854 in vim

2010-12-29 Fir de Conversatie Roy Jamison
Hi all, A bug has been reported to Launchpad (quite a while back in fact) at https://bugs.launchpad.net/ubuntu/+source/vim/+bug/137854 and also to Debian at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379612 but there doesn't appear to have been anything done with it, therefore I would like

vim notifications on buffer content change

2010-12-29 Fir de Conversatie Yaron Hirsch
Hello, I've been trying to get notifications from Vim on when the contents of buffer(s) change. I've encountered the following problems: 1. Trying to use autocmd you don't always have the right events you can use as hooks to be notified of changes. For example, you can hook a callback to

Re: vim notifications on buffer content change

2010-12-29 Fir de Conversatie Ingo Karkat
On 29-Dec-2010 13:44, Yaron Hirsch wrote: Hello, I've been trying to get notifications from Vim on when the contents of buffer(s) change. I've encountered the following problems: (...) Why do you need this? What is your use case (and is it related to text editing, or already going beyond it

Re: vim notifications on buffer content change

2010-12-29 Fir de Conversatie Yaron
The purpose is to analyse parts of the text dynamically as they're being changed. As I mentioned above, it can be done but pretty inefficiently and there are the limitations I mentioned. I was wondering if there were good ways to do this. I'm not trying to do anything that's outside of the

Re: Keyboard input handling

2010-12-29 Fir de Conversatie boxofrox
I'm interested in trying my hand at implementing this. I'm new to vim-dev, so if anyone has any advice or reading material I should review, I'd appreciate it :) -- View this message in context: http://vim.1045645.n5.nabble.com/Keyboard-input-handling-tp1211322p3322160.html Sent from the Vim -