How to quickly create a Python version of the Vim IDE

Source: Internet
Author: User

Originally did not want to write, then think about the benefit of the people who need it, because really admire a key to the author. I know a lot of people can configure their own vim plug-in, but it is estimated that it will play anything for a long time, there is a person on git has integrated all the plugins he thinks good (actually git this thing a lot), Step through how to do it:

1 Go git on HTTPS://GITHUB.COM/ETS-LABS/PYTHON-VIMRC follow the author's description to install the plugin, this is not difficult, just do it, if vim itself supports Python completion, The general Linux default is not with this complement function, need to recompile, do not ask how to compile vim, if not compiled, with caution with Linux, as to how to support python complement, Baidu can.

2 Maybe the author is careless, or what, install the plug-in you may encounter a and "exuberant-ctags" related error, if encountered, direct Apt-get install Exuberant-ctags (yum), At the same time you do not need to do any configuration. This is basically a graphical way to play vim, but it's not finished yet.

3 Next I think you may be concerned about the Chinese help document, yes, must know so complex (relative to a single interface) vim how to use it, you need to read the document bar, or to see the Chinese cool bar, so do:

wget Http://nchc.dl.sourceforge.net/sourceforge/vimcdoc/vimcdoc-1.5.0.tar.gzsudo./vimcdoc.sh-i

3 Chinese documents loaded, press F1 can be seen. And then you can fly happily, I think this time someone said that vim can be programmed, but also the graphical interface to do, yes! Most of the vim is reluctant to buy a new computer family of good man, how to do without the GUI, do:

VIM/ETC/X11/DEFAULT-DISPLAY-MANAGER#/USR/SBIN/LIGHTDM (also may be xfce/gnome/kde or something, see personal system) False

4 If you save on the terminal can be used vim hi, and then there may be new problems, TTY resolution is very low AH, grub sometimes does not use the maximum display resolution, X does not start and can not use Xrandr.

Edit file: $ sudo gedit/etc/default/grub

Add a line: grub_gfxpayload_linux=1280x1024 (set to the resolution supported by your graphics card)

Update grub:$ sudo update-grub

5 Restart the computer and found that the resolution of the TTY finally is what I want, but the new problem, the Chinese culture, what to do, the terminal is garbled, here are two solutions, are not very good (I am English, by the way practice English) One of them is to install Fbterm, input method configuration is slightly cumbersome:

Apt-get Install Fbterm

As for the fbterm how to input Chinese please Baidu, there are, I used Sogou, but will be stuck, now do not have Chinese, feeling or will pit

There is a way to display Chinese, by default, the use of the whole Chinese language, relatively simple, experience can also be:

$ sudo apt-get install Zhcon $ zhcon--utf8--drv=fb can put Zhcon--utf9--drv=fb in. BASHRC inside, save every time you knock

6 Try not to use Chinese bar, this time should be almost, of course, you may feel that the left and right display is not very good, File Manager and function display can be put together ah, can use Winmanager, but a bit more bugs, multi-search found also have netizens with black technology to solve, but not elegant, I will not pretend.

Last Enjoy it!

Section reference: http://blog.csdn.net/namecyf/article/details/7787479

This article is from the "wind-like Freedom" blog, please make sure to keep this source http://capricorn.blog.51cto.com/8304701/1891083

How to quickly create a Python version of the Vim IDE

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.