Hi,<br><br>the underscore (_) is a typical map-leader (the LHS of mappings typically starts with an _). However, for some reason it cannot be used in vim on vms.<br><br>Example:<br>:map _h :echo &quot;hi&quot;&lt;CR&gt;<br>

<br>In my gvim on Windows, when I create the mapping above, and then start typing &quot;_h&quot;, vim knows that &quot;_&quot; is the prefix of a mapping, so it does not apply/type the &quot;_&quot; immediately. Instead, it cashes the keypress and displays the &quot;_&quot; in the bottom-right corner. That means, vim is waiting for the next key - if it is an &quot;h&quot;, vim will apply the _h mapping; if it is an &quot;o&quot;, vim will type &quot;_o&quot; (since there is no mapping for _o).<br>

<br>However, this does not work on vms: the _ gets applied/typed immediately (it is not cashed). Thus, typing _h does not apply the mapping, but performs the &quot;_&quot; action and then the &quot;h&quot; action.<br><br>

Sam<br><br>=======================<br>:version<br>VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan 13 2009 12:38:00)<br>OpenVMS version - Alpha<br>Included patches: 1-79<br>Compiled by SYSTEM@ALPHA::<a href="http://alpha.polarhome.com">alpha.polarhome.com</a><br>

Huge version without GUI.  Features included (+) or not (-):<br>+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent -clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv -cscope -cursorshape +dialog_con +diff<br>

+digraphs -dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer -gettext -hangul_input -iconv +insert_expand +jumplist +keymap +langmap -libcall<br> +linebreak +lispindent +listcmds +localmap +menu +mksession +modify_fname +mouse -mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang<br>

-mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript +printer +profile -python +quickfix +reltime +rightleft -ruby +scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax<br>+tag_binary +tag_old_static -tag_any_white -tcl +tgetent +termresponse +textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace +wildignore +wildmenu<br>

+windows -writebackup -X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save<br>   system vimrc file: &quot;$VIM/vimrc&quot;<br>     user vimrc file: &quot;sys$login:.vimrc&quot;<br> 2nd user vimrc file: &quot;sys$login:_vimrc&quot;<br>

      user exrc file: &quot;sys$login:.exrc&quot;<br>  2nd user exrc file: &quot;sys$login:_exrc&quot;<br>Compilation: cc/def=(FEAT_HUGE,HAVE_CONFIG_H  )  /opt/prefix=all  /include=([.proto])<br>Compiler: Compaq C V6.5-001 on OpenVMS Alpha V7.3<br>

Linking: link /exe=vim.exe *.OBJ<br>