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]
}
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]
I wrote a plugin that uses formatexpr. But this is a bit complicated.
http://yukihiro.nakadaira.googlepages.com/autofmt.zip
--
Yukihiro Nakadaira - [EMAIL PROTECTED]
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]
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
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
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
)
for i in range(10)
echo libcallnr(dll, count, 0)
endfor
--
Yukihiro Nakadaira - [EMAIL PROTECTED]
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]