Use of vim and Cmder in Windows

Source: Internet
Author: User

Although there are gvim, I still prefer the console (which can be understood as the blogger's paranoia has developed to a certain stage).

Windows comes with a console that sucks, especially if the Win7 I'm using doesn't have full-screen functionality. Any icon that occupies the screen is obviously intolerable.

Although I already have Cygwin but I still want to use the native environment of vim (persistent development of bigotry)

On GitHub search, we got Cmder, whose homepage has

Cmder Points of attention:

1. Requires VC2015 Runtime support

2. Upgrade PowerShell to 4.0

3. Run the command after executing with administrator privileges

Set-executionpolicy-executionpolicy Bypass

Alt+enter into full screen, the target basically reached

Then it's vim.

Use, add path not much to say.

The main problem is garbled.

Because the code page for Windows is cp936, you must set the encoding in _VIMRC.

The input method cannot input some Chinese characters in console mode, although it is defined as cp936 input is normal, but too many plugins are designed according to Utf-8, if using other values will cause errors. In addition console mode, the Chinese cursor position is not correct. Set ENCODING=UTF-8 "console display defined as Cp936set termencoding=cp936" file encoding does not need to define "set Fileencoding=utf-8" coded search order, if encoding is cp936, Ucs-bom Invalid set fileencodings=ucs-bom,utf-8,cp936

My vim version:

: Version VIM-Vi Improved7.4( -TheTen, compiled -  the Geneva: at: One) MS-windows --bit Console version Included Patches:1-417 Compiled by Haroogan<[email protected]>Hug  E version without GUI. Features included (+) or not (-):                                                                                                +acl +comments +ex_extra +keymap +multi_byte_ime/dyn +reltime-t Ag_any_white +Vreplace+arabic +conceal +extra_search +langmap +multi_lang +rightleft-t CL +Wildignore+autocmd +CRYPTV +farsi +libcall-mzscheme +ruby/dyn-t Getent +Wildmenu-balloon_eval +cscope +file_in_path +LINEBREAK-NETBEANS_INTG +scrollbind-t Ermresponse +Windows-browse +cursorbind +find_in_path +lispindent +path_extra +signs +t Extobjects +Writebackup++builtin_terms +cursorshape +float+listcmds +Perl/dyn +smartindent +title-Xfontset+byte_offset +dialog_con +folding +localmap +persistent_undo-sniff-t Oolbar-Xim+cindent +diff-footer +lua/dyn-postscript +startuptime +user_commands-Xterm_save+clientserver +digraphs +gettext/dyn +menu +printer +statusline +v Ertsplit-Xpm_w32+clipboard-dnd-hangul_input +mksession +profile-sun_workshop +Virtualedit+cmdline_compl-ebcdic +iconv/dyn +modify_fname +python/dyn +syntax +Visual+cmdline_hist +emacs_tags +insert_expand +mouse +python3/dyn +tag_binary +Visualextra+cmdline_info +eval +jumplist-mouseshape +quickfix +tag_old_static +viminfo System VIMRCfile:"$VIM \VIMRC" User VIMRCfile:"$HOME \_VIMRC" 2nd User VIMRCfile:"$HOME \VIMFILES\VIMRC"3rd U Ser VIMRCfile:"$VIM \_VIMRC" User EXRCfile:"$HOME \_EXRC" 2nd User EXRCfile:"$VIM \_EXRC" Dependency:python27.dll, Python34.dll, x64-msvcrt-ruby200.dll, Lua52.dll, Perl518.dll, Libintl.dll, Libiconv.dll, Iconv.dll

Complete:

Use of vim and Cmder in Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.