Some of the problems encountered in using the Vim configuration scheme spf13

Source: Internet
Author: User
Tags lua

Preparation Before installing SPF13:

To install Git:

sudo apt-get install gitsudo apt-get Install Curl

Install and execute Https://github.com/spf13/spf13-vim using the official method

Curl Https://j.mp/spf13-vim3-L > spf13-vim.sh && sh spf13-vim.sh

You need to wait a while for the script to download the plugin to install itself.


I am using the tty1 terminal;

After the installation is complete, it is not possible to automatically prompt, enter "neocompleteenable" under Command mode ":" To discover that the prompt cannot be started

"It requires Vim 7.3.885 or later with Lua support (" +lua ")"


Install Vim-nox, Vim-athena on GitHubto solve the problem {Portal} (https://github.com/spf13/spf13-vim/issues/773):

sudo apt-get install vim-noxsudo apt-get Install Vim-athena

Auto-completion cannot only prompt

In the process of use, the automatic hint of things can not be displayed, or the kind of plug-in form.

Workaround {Portal} (https://github.com/spf13/spf13-vim/issues/819):

Add the following code to the . Vimrc.loacl :

Inoremap <expr><CR> neosnippet#expandable ()? Neosnippet#mappings#expand_or_jump_impl (): Pumvisible ()? Neocomplete#close_popup (): "\<cr>"

Do not show color effects:

Add the following code to the . Vimrc.loacl "for reference (http://www.cnblogs.com/keepHack/archive/2012/04/09/2439361.html)":

Set t_co=256

Subsequent issues that will continue to be added

This article comes from the blog, "The more you know, the smaller you feel," make sure to keep this source http://johnjohn.blog.51cto.com/4481703/1703262

Some of the problems encountered in using the Vim configuration scheme spf13

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.