Re: echo question

2006-05-14 Thread Yukihiro Nakadaira
let ruler = ru_save But the message may be truncated when there is no space for showcmd and ruler. It seems that showcmd and ruler require some spaces on the right side of cmdline area. -- Yukihiro Nakadaira [EMAIL PROTECTED]

Re: undo/redo mess with version 7.0 and utf-8 text

2006-08-28 Thread Yukihiro Nakadaira
} else if (cursor_index == 0 preedit_string[0] == '\0') { ! xim_has_preediting = FALSE; /* If at the start position (after typing backspace) * preedit_start_col must be reset. */ -- Yukihiro Nakadaira [EMAIL PROTECTED]

Re: formatexpr examples

2006-11-24 Thread Yukihiro Nakadaira
I wrote a plugin that uses formatexpr. But this is a bit complicated. http://yukihiro.nakadaira.googlepages.com/autofmt.zip -- Yukihiro Nakadaira - [EMAIL PROTECTED]

Re: timer revisited

2007-02-06 Thread Yukihiro Nakadaira
In Vim7 feedkeys() can be used. autocmd CursorHold * call Timer() function! Timer() echo strftime(%c) let K_IGNORE = \x80\xFD\x35internal key code that is ignored call feedkeys(K_IGNORE) endfunction -- Yukihiro Nakadaira - [EMAIL PROTECTED]

Re: hi Comment guifg=white guibg=black in ~/.vimrc ignored

2007-03-02 Thread Yukihiro Nakadaira
You should set 'background' option. set background=lightor dark hi ... hi ... If 'background' option is not set, Vim may change it while initializing GUI (after vimrc is sourced). Then syntax/syncolor.vim is sourced and highlight settings are reset. -- Yukihiro Nakadaira - [EMAIL

Re: completion problem

2006-09-28 Thread Yukihiro Nakadaira
Bram Moolenaar wrote: Yukihiro Nakadaira wrote: There are two problems in completion. I wrote a patch. Please check the following. 1. 'ignorecase' does not work for completion. For example, when :set nosmartcase ignorecase and buffer is 1: foo 2: Foo Then, complete with 3: C-N or 3

Re: block insert mode and CTRL-C problem

2006-09-28 Thread Yukihiro Nakadaira
Bram Moolenaar wrote: Yukihiro Nakadaira wrote: There are two problems in block insert mode (C-V + I). 1. When CTRL-C is used in block insert mode, text is inserted to first line only even if multi-line was selected. For example, when there are three lines and type 1GC-VjjIxxxC-C 1: aaa

Re: Calling COM Components from Vim (Win32)

2006-10-15 Thread Yukihiro Nakadaira
) for i in range(10) echo libcallnr(dll, count, 0) endfor -- Yukihiro Nakadaira - [EMAIL PROTECTED]

if_spidermonkey

2007-04-25 Thread Yukihiro Nakadaira
if_spidermonkey.diff cd src namke -f Make_mvc.mak USE_MSVCRT=yes GUI=yes SPIDERMONKEY=C:\tmp\js DYNAMIC_SPIDERMONKEY=yes DYNAMIC_SPIDERMONKEY_DLL=js32.dll 3. Type :spidermonkey command :spidermonkey print(hello, JavaScript!) see :help if_spidermonkey.txt -- Yukihiro Nakadaira - [EMAIL PROTECTED]