pvk7 / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

<C-@> #141

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Ctrl-@ doesn't work on Windows version

What do you see instead?
In insert mode I see only @ character.
In normal mode I see only @ character on status bar
it should display ^@ .

What version of the product are you using? On what operating system?
MS-Windows 32-bit console version
Included patches: 1-1163
Compiled by Vim7-Win32-PC
Huge version without GUI.  Features included (+) or not (-):
+arabic          +ex_extra        -mouseshape      +tag_binary
+autocmd         +extra_search    +multi_byte      +tag_old_static
-balloon_eval    +farsi           +multi_lang      -tag_any_white
-browse          +file_in_path    -mzscheme        -tcl
++builtin_terms  +find_in_path    -netbeans_intg   -tgetent
+byte_offset     +float           +path_extra      -termresponse
+cindent         +folding         -perl            +textobjects
+clientserver    -footer          +persistent_undo +title
+clipboard       -gettext         -postscript      -toolbar
+cmdline_compl   -hangul_input    +printer         +user_commands
+cmdline_hist    +iconv/dyn       +profile         +vertsplit
+cmdline_info    +insert_expand   -python          +virtualedit
+comments        +jumplist        -python3         +visual
+conceal         +keymap          +quickfix        +visualextra
+cryptv          +langmap         +reltime         +viminfo
+cscope          +libcall         +rightleft       +vreplace
+cursorbind      +linebreak       -ruby            +wildignore
+cursorshape     +lispindent      +scrollbind      +wildmenu
+dialog_con      +listcmds        +signs           +windows
+diff            +localmap        +smartindent     +writebackup
+digraphs        -lua             -sniff           -xfontset
-dnd             +menu            +startuptime     -xim
-ebcdic          +mksession       +statusline      -xterm_save
+emacs_tags      +modify_fname    -sun_workshop    -xpm_w32
+eval            +mouse           +syntax
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32   -DFEAT_CSCO
PE       -DWINVER=0x0400 -D_WIN32_WINNT=0x0400  /Fo.\ObjCi386/ /Ox /GL -DNDEBUG
 /Zl /MT -DDYNAMIC_ICONV -DFEAT_HUGE /Fd.\ObjCi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:console /map /mapinfo:lines /LTCG:STAT
US oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ol
e32.lib uuid.lib /machine:i386 /nodefaultlib  libcmt.lib   user32.lib
  /PDB:vim.pdb -debug
Please provide any additional information below.

Original issue reported on code.google.com by Zulolox4...@gmail.com on 11 Jun 2013 at 4:33

GoogleCodeExporter commented 9 years ago
Have you gotten it to work in other programs in the terminal? ^@ actually maps 
to the null character in Unix (see 
http://www.unix-manuals.com/refs/misc/ascii-table.html), so if you're using 
Cygwin this is in fact the expected behavior. I'm not sure about the Windows 
command line though. Have you tried using gvim?

Original comment by HoweJ...@gmail.com on 6 Mar 2014 at 11:57

GoogleCodeExporter commented 9 years ago
Thanks !
I found the probleme, it doesn't work when using a keyboard not US. On a french 
keyboard for Ctrl-@ vim keystroke The Ctrl and 2 keys combination it works !
Best regards !

Original comment by Zulolox4...@gmail.com on 9 Mar 2014 at 1:20

GoogleCodeExporter commented 9 years ago

Original comment by chrisbr...@googlemail.com on 30 Sep 2014 at 8:34