Giter Club home page Giter Club logo

spf13-vim's Introduction

spf13-vim : Steve Francia's Vim Distribution

                __ _ _____              _
     ___ _ __  / _/ |___ /      __   __(_)_ __ ___
    / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
    \__ \ |_) |  _| |___) |_____|\ V / | | | | | | |
    |___/ .__/|_| |_|____/        \_/  |_|_| |_| |_|
        |_|

spf13-vim is a distribution of vim plugins and resources for Vim, Gvim and MacVim.

It is a good starting point for anyone intending to use VIM for development running equally well on Windows, Linux, *nix and Mac.

The distribution is completely customisable using a ~/.vimrc.local, ~/.vimrc.bundles.local, and ~/.vimrc.before.local Vim RC files.

spf13-vim image

Unlike traditional VIM plugin structure, which similar to UNIX throws all files into common directories, making updating or disabling plugins a real mess, spf13-vim 3 uses the Vundle plugin management system to have a well organized vim directory (Similar to mac's app folders). Vundle also ensures that the latest versions of your plugins are installed and makes it easy to keep them up to date.

Great care has been taken to ensure that each plugin plays nicely with others, and optional configuration has been provided for what we believe is the most efficient use.

Lastly (and perhaps, most importantly) It is completely cross platform. It works well on Windows, Linux and OSX without any modifications or additional configurations. If you are using MacVim or Gvim additional features are enabled. So regardless of your environment just clone and run.

Installation

Requirements

To make all the plugins work, specifically neocomplete, you need vim with lua.

Linux, *nix, Mac OSX Installation

The easiest way to install spf13-vim is to use our automatic installer by simply copying and pasting the following line into a terminal. This will install spf13-vim and backup your existing vim configuration. If you are upgrading from a prior version (before 3.0) this is also the recommended installation.

Requires Git 1.7+ and Vim 7.3+

    curl https://j.mp/spf13-vim3 -L > spf13-vim.sh && sh spf13-vim.sh

If you have a bash-compatible shell you can run the script directly:

    sh <(curl https://j.mp/spf13-vim3 -L)

Installing on Windows

On Windows and *nix Git and Curl are required. Also, if you haven't done so already, you'll need to install Vim. The quickest option to install all three dependencies (Git, Curl, Vim and spf13-vim) is via Chocolatey NuGet. After installing Chocolatey, execute the following commands on the command prompt:

C:\> choco install spf13-vim

Note: The spf13-vim package will install Vim also!

If you want to install msysgit, Curl and spf13-vim individually, follow the directions below.

Installing dependencies

Install Vim

After the installation of Vim you must add a new directory to your environment variables path to make it work with the script installation of spf13.

Open Vim and write the following command, it will show the installed directory:

:echo $VIMRUNTIME
C:\Program Files (X86)\Vim\vim74

Then you need to add it to your environment variable path. After that try execute vim within command prompt (press Win-R, type cmd, press Enter) and you’ll see the default vim page.

Install msysgit

After installation try running git --version within command prompt (press Win-R, type cmd, press Enter) to make sure all good:

C:\> git --version
git version 1.7.4.msysgit.0

Setup Curl

Instructions blatently copied from vundle readme Installing Curl on Windows is easy as Curl is bundled with msysgit! But before it can be used with Vundle it's required make curl run in command prompt. The easiest way is to create curl.cmd with this content

@rem Do not use "echo off" to not affect any child calls.
@setlocal

@rem Get the abolute path to the parent directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0..") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%PATH%

@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%

@curl.exe %*

And copy it to C:\Program Files\Git\cmd\curl.cmd, assuming msysgit was installed to c:\Program Files\Git

to verify all good, run:

C:\> curl --version
curl 7.21.1 (i686-pc-mingw32) libcurl/7.21.1 OpenSSL/0.9.8k zlib/1.2.3
Protocols: dict file ftp ftps http https imap imaps ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: Largefile NTLM SSL SSPI libz

Installing spf13-vim on Windows

The easiest way is to download and run the spf13-vim-windows-install.cmd file. Remember to run this file in Administrator Mode if you want the symlinks to be created successfully.

Updating to the latest version

The simpliest (and safest) way to update is to simply rerun the installer. It will completely and non destructively upgrade to the latest version.

    curl https://j.mp/spf13-vim3 -L -o - | sh

Alternatively you can manually perform the following steps. If anything has changed with the structure of the configuration you will need to create the appropriate symlinks.

    cd $HOME/to/spf13-vim/
    git pull
    vim +BundleInstall! +BundleClean +q

Fork me on GitHub

I'm always happy to take pull requests from others. A good number of people are already contributors to spf13-vim. Go ahead and fork me.

A highly optimized .vimrc config file

spf13-vimrc image

The .vimrc file is suited to programming. It is extremely well organized and folds in sections. Each section is labeled and each option is commented.

It fixes many of the inconveniences of vanilla vim including

  • A single config can be used across Windows, Mac and linux
  • Eliminates swap and backup files from littering directories, preferring to store in a central location.
  • Fixes common typos like :W, :Q, etc
  • Setup a solid set of settings for Formatting (change to meet your needs)
  • Setup the interface to take advantage of vim's features including
    • omnicomplete
    • line numbers
    • syntax highlighting
    • A better ruler & status line
    • & more
  • Configuring included plugins

Customization

Create ~/.vimrc.local and ~/.gvimrc.local for any local customizations.

For example, to override the default color schemes:

    echo colorscheme ir_black  >> ~/.vimrc.local

Before File

Create a ~/.vimrc.before.local file to define any customizations that get loaded before the spf13-vim .vimrc.

For example, to prevent autocd into a file directory:

    echo let g:spf13_no_autochdir = 1 >> ~/.vimrc.before.local

For a list of available spf13-vim specific customization options, look at the ~/.vimrc.before file.

Fork Customization

There is an additional tier of customization available to those who want to maintain a fork of spf13-vim specialized for a particular group. These users can create .vimrc.fork and .vimrc.bundles.fork files in the root of their fork. The load order for the configuration is:

  1. .vimrc.before - spf13-vim before configuration
  2. .vimrc.before.fork - fork before configuration
  3. .vimrc.before.local - before user configuration
  4. .vimrc.bundles - spf13-vim bundle configuration
  5. .vimrc.bundles.fork - fork bundle configuration
  6. .vimrc.bundles.local - local user bundle configuration
  7. .vimrc - spf13-vim vim configuration
  8. .vimrc.fork - fork vim configuration
  9. .vimrc.local - local user configuration

See .vimrc.bundles for specifics on what options can be set to override bundle configuration. See .vimrc.before for specifics on what options can be overridden. Most vim configuration options should be set in your .vimrc.fork file, bundle configuration needs to be set in your .vimrc.bundles.fork file.

You can specify the default bundles for your fork using .vimrc.before.fork file. Here is how to create an example .vimrc.before.fork file in a fork repo for the default bundles.

    echo let g:spf13_bundle_groups=[\'general\', \'programming\', \'misc\', \'youcompleteme\'] >> .vimrc.before.fork

Once you have this file in your repo, only the bundles you specified will be installed during the first installation of your fork.

You may also want to update your README.markdown file so that the bootstrap.sh link points to your repository and your bootstrap.sh file to pull down your fork.

For an example of a fork of spf13-vim that provides customization in this manner see taxilian's fork.

Easily Editing Your Configuration

<Leader>ev opens a new tab containing the .vimrc configuration files listed above. This makes it easier to get an overview of your configuration and make customizations.

<Leader>sv sources the .vimrc file, instantly applying your customizations to the currently running vim instance.

These two mappings can themselves be customized by setting the following in .vimrc.before.local:

let g:spf13_edit_config_mapping='<Leader>ev'
let g:spf13_apply_config_mapping='<Leader>sv'

Plugins

spf13-vim contains a curated set of popular vim plugins, colors, snippets and syntaxes. Great care has been made to ensure that these plugins play well together and have optimal configuration.

Adding new plugins

Create ~/.vimrc.bundles.local for any additional bundles.

To add a new bundle, just add one line for each bundle you want to install. The line should start with the word "Bundle" followed by a string of either the vim.org project name or the githubusername/githubprojectname. For example, the github project spf13/vim-colors can be added with the following command

    echo Bundle \'spf13/vim-colors\' >> ~/.vimrc.bundles.local

Once new plugins are added, they have to be installed.

    vim +BundleInstall! +BundleClean +q

Removing (disabling) an included plugin

Create ~/.vimrc.local if it doesn't already exist.

Add the UnBundle command to this line. It takes the same input as the Bundle line, so simply copy the line you want to disable and add 'Un' to the beginning.

For example, disabling the 'AutoClose' and 'scrooloose/syntastic' plugins

    echo UnBundle \'AutoClose\' >> ~/.vimrc.bundles.local
    echo UnBundle \'scrooloose/syntastic\' >> ~/.vimrc.bundles.local

Remember to run ':BundleClean!' after this to remove the existing directories

Here are a few of the plugins:

If you undo changes and then make a new change, in most editors the changes you undid are gone forever, as their undo-history is a simple list. Since version 7.0 vim uses an undo-tree instead. If you make a new change after undoing changes, a new branch is created in that tree. Combined with persistent undo, this is nearly as flexible and safe as git ;-)

Undotree makes that feature more accessible by creating a visual representation of said undo-tree.

QuickStart Launch using <Leader>u.

NERDTree is a file explorer plugin that provides "project drawer" functionality to your vim editing. You can learn more about it with :help NERDTree.

QuickStart Launch using <Leader>e.

Customizations:

  • Use <C-E> to toggle NERDTree
  • Use <leader>e or <leader>nt to load NERDTreeFind which opens NERDTree where the current file is located.
  • Hide clutter ('.pyc', '.git', '.hg', '.svn', '.bzr')
  • Treat NERDTree more like a panel than a split.

Ctrlp replaces the Command-T plugin with a 100% viml plugin. It provides an intuitive and fast mechanism to load files from the file system (with regex and fuzzy find), from open buffers, and from recently used files.

QuickStart Launch using <c-p>.

This plugin is a tool for dealing with pairs of "surroundings." Examples of surroundings include parentheses, quotes, and HTML tags. They are closely related to what Vim refers to as text-objects. Provided are mappings to allow for removing, changing, and adding surroundings.

Details follow on the exact semantics, but first, consider the following examples. An asterisk (*) is used to denote the cursor position.

  Old text                  Command     New text ~
  "Hello *world!"           ds"         Hello world!
  [123+4*56]/2              cs])        (123+456)/2
  "Look ma, I'm *HTML!"     cs"<q>      <q>Look ma, I'm HTML!</q>
  if *x>3 {                 ysW(        if ( x>3 ) {
  my $str = *whee!;         vllllS'     my $str = 'whee!';

For instance, if the cursor was inside "foo bar", you could type cs"' to convert the text to 'foo bar'.

There's a lot more, check it out at :help surround

NERDCommenter allows you to wrangle your code comments, regardless of filetype. View help :NERDCommenter or checkout my post on NERDCommenter.

QuickStart Toggle comments using <Leader>c<space> in Visual or Normal mode.

Neocomplete is an amazing autocomplete plugin with additional support for snippets. It can complete simulatiously from the dictionary, buffer, omnicomplete and snippets. This is the one true plugin that brings Vim autocomplete on par with the best editors.

QuickStart Just start typing, it will autocomplete where possible

Customizations:

  • Automatically present the autocomplete menu
  • Support tab and enter for autocomplete
  • <C-k> for completing snippets using Neosnippet.

neocomplete image

YouCompleteMe is another amazing completion engine. It is slightly more involved to set up as it contains a binary component that the user needs to compile before it will work. As a result of this however it is very fast.

To enable YouCompleteMe add youcompleteme to your list of groups by overriding it in your .vimrc.before.local like so: let g:spf13_bundle_groups=['general', 'programming', 'misc', 'scala', 'youcompleteme'] This is just an example. Remember to choose the other groups you want here.

Once you have done this you will need to get Vundle to grab the latest code from git. You can do this by calling :BundleInstall!. You should see YouCompleteMe in the list.

You will now have the code in your bundles directory and can proceed to compile the core. Change to the directory it has been downloaded to. If you have a vanilla install then cd ~/.spf13-vim-3/.vim/bundle/YouCompleteMe/ should do the trick. You should see a file in this directory called install.sh. There are a few options to consider before running the installer:

  • Do you want clang support (if you don't know what this is then you likely don't need it)?
    • Do you want to link against a local libclang or have the installer download the latest for you?
  • Do you want support for c# via the omnisharp server?

The plugin is well documented on the site linked above. Be sure to give that a read and make sure you understand the options you require.

For java users wanting to use eclim be sure to add let g:EclimCompletionMethod = 'omnifunc' to your .vimrc.local.

Syntastic is a syntax checking plugin that runs buffers through external syntax checkers as they are saved and opened. If syntax errors are detected, the user is notified and is happy because they didn't have to compile their code or execute their script to find them.

AutoClose does what you expect. It's simple, if you open a bracket, paren, brace, quote, etc, it automatically closes it. It handles curlys correctly and doesn't get in the way of double curlies for things like jinja and twig.

Fugitive adds pervasive git support to git directories in vim. For more information, use :help fugitive

Use :Gstatus to view git status and type - on any file to stage or unstage it. Type p on a file to enter git add -p and stage specific hunks in the file.

Use :Gdiff on an open file to see what changes have been made to that file

QuickStart <leader>gs to bring up git status

Customizations:

  • <leader>gs :Gstatus
  • <leader>gd :Gdiff
  • <leader>gc :Gcommit
  • <leader>gb :Gblame
  • <leader>gl :Glog
  • <leader>gp :Git push
  • <leader>gw :Gwrite
  • :Git ___ will pass anything along to git.

fugitive image

The most feature complete and up to date PHP Integration for Vim with proper support for PHP 5.3+ including latest syntax, functions, better fold support, etc.

PIV provides:

  • PHP 5.3 support
  • Auto generation of PHP Doc (,pd on (function, variable, class) definition line)
  • Autocomplete of classes, functions, variables, constants and language keywords
  • Better indenting
  • Full PHP documentation manual (hit K on any function for full docs)

php vim itegration image

Ack.vim uses ack to search inside the current directory for a pattern. You can learn more about it with :help Ack

QuickStart :Ack

Tabularize lets you align statements on their equal signs and other characters

Customizations:

  • <Leader>a= :Tabularize /=<CR>
  • <Leader>a: :Tabularize /:<CR>
  • <Leader>a:: :Tabularize /:\zs<CR>
  • <Leader>a, :Tabularize /,<CR>
  • <Leader>a<Bar> :Tabularize /<Bar><CR>

spf13-vim includes the Tagbar plugin. This plugin requires exuberant-ctags and will automatically generate tags for your open files. It also provides a panel to navigate easily via tags

QuickStart CTRL-] while the cursor is on a keyword (such as a function name) to jump to its definition.

Customizations: spf13-vim binds <Leader>tt to toggle the tagbar panel

tagbar image

Note: For full language support, run brew install ctags to install exuberant-ctags.

Tip: Check out :help ctags for information about VIM's built-in ctag support. Tag navigation creates a stack which can traversed via Ctrl-] (to find the source of a token) and Ctrl-T (to jump back up one level).

EasyMotion provides an interactive way to use motions in Vim.

It quickly maps each possible jump destination to a key allowing very fast and straightforward movement.

QuickStart EasyMotion is triggered using the normal movements, but prefixing them with <leader><leader>

For example this screen shot demonstrates pressing ,,w

easymotion image

Airline provides a lightweight themable statusline with no external dependencies. By default this configuration uses the symbols and as separators for different statusline sections but can be configured to use the same symbols as Powerline. An example first without and then with powerline symbols is shown here:

airline image

To enable powerline symbols first install one of the Powerline Fonts or patch your favorite font using the provided instructions. Configure your terminal, MacVim, or Gvim to use the desired font. Finally add let g:airline_powerline_fonts=1 to your .vimrc.before.local.

Additional Syntaxes

spf13-vim ships with a few additional syntaxes:

  • Markdown (bound to *.markdown, *.md, and *.mk)
  • Twig
  • Git commits (set your EDITOR to mvim -f)

Amazing Colors

spf13-vim includes solarized and spf13 vim color pack:

  • ir_black
  • molokai
  • peaksea

Use :color molokai to switch to a color scheme.

Terminal Vim users will benefit from solarizing their terminal emulators and setting solarized support to 16 colors:

let g:solarized_termcolors=16
color solarized

Terminal emulator colorschemes:

Snippets

It also contains a very complete set of snippets for use with snipmate or neocomplete.

Intro to VIM

Here's some tips if you've never used VIM before:

Tutorials

Modes

  • VIM has two (common) modes:
    • insert mode- stuff you type is added to the buffer
    • normal mode- keys you hit are interpreted as commands
  • To enter insert mode, hit i
  • To exit insert mode, hit <ESC>

Useful commands

  • Use :q to exit vim
  • Certain commands are prefixed with a <Leader> key, which by default maps to \. Spf13-vim uses let mapleader = "," to change this to , which is in a consistent and convenient location.
  • Keyboard cheat sheet.

Analytics Bitdeli Badge

spf13-vim's People

Contributors

bronzehedwick avatar chrisnicola avatar e7h4n avatar fabianhjr avatar j1mr10rd4n avatar jamestomasino avatar jcbwlkr avatar jhenahan avatar jhnwsk avatar johntyree avatar joveyu avatar jphustman avatar krbltgokhan avatar lihuazhang avatar lukedomanski avatar mmikitka avatar parherman avatar putermancer avatar rekendahl avatar sbennett18 avatar shoekstra avatar spf13 avatar stephpy avatar switchspan avatar taxilian avatar teasp00n avatar toejough avatar victoredwardocallaghan avatar wolfgangpfnuer avatar xcmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spf13-vim's Issues

error when opening python files

i have done an automatic install using curl on osx. i get the following error upon opening any python file...any suggestions on how to fix this and get rid of this startup error messages?


Error detected while processing /Users/ns/.spf13-vim-3/.vim/bundle/python-mode/ftplugin/python/pymode.vim:
line 48:
E121: Undefined variable: g:pymode_doc
E15: Invalid expression: g:pymode_doc
line 64:
E121: Undefined variable: g:pymode_lint
E15: Invalid expression: g:pymode_lint
line 103:
E121: Undefined variable: g:pymode_rope
E15: Invalid expression: g:pymode_rope
line 123:
E121: Undefined variable: g:pymode_run
E15: Invalid expression: g:pymode_run
line 139:
E121: Undefined variable: g:pymode_breakpoint
E15: Invalid expression: g:pymode_breakpoint
line 151:
E121: Undefined variable: g:pymode_utils_whitespaces
E15: Invalid expression: g:pymode_utils_whitespaces
Error detected while processing /Users/ns/.spf13-vim-3/.vim/bundle/python-mode/after/ftplugin/python.vim:
line 2:
E121: Undefined variable: g:pymode_rope
E15: Invalid expression: g:pymode && g:pymode_rope && g:pymode_rope_vim_completion


Disabling auto close

How do I disable autoclose? I cannot stand editors adding extra characters when i do not want them. When I put in

let g:autoclose_loaded = 1

I get errors when trying to use backspace

E117: Unknown function: neocomplcache#smart_close_popup
E15: Invalid expression: neocomplcache#smart_close_popup()."\^H"

DelimitMate error.

Whenever I'm in insert mode and press backspace, I get this error:

=DelimitMate_BS() E117: Unknown function: DelimitMate_BS

NERDCommenter not included by default??

NERDCommenter is mentioned in this github README homepage.
However, I notice that it isn't included in my installation, so it isn't installed by default right?
Why does it appear in the homepage? So misleading? Or that's the problem with my installation?

fuf

might not be an issue as such, but seems you've got fuf config in .vimrc but the bundle is not in repo.

256 colors in terminal seems not working properly

Env:

  1. Mac OS X Lion, iTerm2
  2. I use homebrew to install vim and macvim. which have both ruby and python enabled.

Problem:
I try to enable 256-color support based on you config file, but no success.

I modified these lines in Vim UI part

" Vim UI {
  colorscheme solarized
  set t_Co=256    " Enable 256 color support                                                                                                                         
  set gfn=Monaco:h12
  " Configure solarized theme {
      set background=dark         " Assume a dark background
      let g:solarized_termtrans=1
      let g:solarized_termcolors=256
  " }

But the 256 color only enabled for php files. For other files, I need to manually type
:set t_Co=256
:colorscheme solarized
to get 256-colors enabled.

The config seems not working, It's really weird to me.

Another thing similar is, when I open .php file, the codes were always folded even after I changed the set foldenable to set nofoldenable.

Why these config not working? I'm still new to vim config, so if there're anything more I should provide, give me a hint.

Thanks.

snipmate errors out on multiple-choice snippets

First of all, i did the couple of fixes mentioned on the comments of other issues, fixing the order of the VimDebugger functions as mentioned on issue #27, and eliminating the extra directory on the the path of the snipmate-snippets as mentioned on issue #24.

I create a new html file. I type "skel", i get this:

Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   12
E117: Función desconocida: tlib#input#List
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   12
E15: La expresión no es válida: tlib#input#List('si','select snippet by name',snippet) -1
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   13
E121: Variable sin definir: idx
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   13
E15: La expresión no es válida: idx == -1
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E121: Variable sin definir: idx
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E116: Argumentos inválidos para la función: funcref#Call(a:snippets[keys(a:snippets)[idx]])
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E15: La expresión no es válida: funcref#Call(a:snippets[keys(a:snippets)[idx]])
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   12
E117: Función desconocida: tlib#input#List
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   12
E15: La expresión no es válida: tlib#input#List('si','select snippet by name',snippet) -1
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   13
E121: Variable sin definir: idx
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   13
E15: La expresión no es válida: idx == -1
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E121: Variable sin definir: idx
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E116: Argumentos inválidos para la función: funcref#Call(a:snippets[keys(a:snippets)[idx]])
Pulse INTRO o escriba una orden para continuar
Se ha detectado un error al procesar function TriggerSnippet..<SNR>32_GetSnippet..<SNR>32_ChooseSnippet:
línea   19
E15: La expresión no es válida: funcref#Call(a:snippets[keys(a:snippets)[idx]])
Pulse INTRO o escriba una orden para continuar

The expected behavior here should be to offer me a list of the contents of .vim/bundle/snipmate-snippets/snippets/html/skel/ instead of erroring out like that.

Will be looking for a workaround/fix and post it if found.

openning buffers in new tabs causes error

While opening or changing buffers inside newly created tabs I'm getting the same error message over and over again:

Error detected while processing function 32_BEActivateBuffer:
line 18:
E684: list index out of range: 3

After pressing enter buffer opens, but it's really annoying. It only occurs inside newly created tabs.
Any ideas on what's causing this and what to do about it?

Thank you very much.

Easytags error

This might be a noob error on my part but, even though :scriptnames has easytags.vim listed as being sourced on startup, none of the easy tags commands work (nor appear in the local help documentation).

I haven't modified anything about the easytags folder within the bundle folder of my .vim folder, nor have I changed any of the pathogen commands within the .vimrc file. Any idea why it would not be working?

Syntax highlight in php

When saving a php file the syntax highlight is removed.

(I can see some text flashing by, but I don't know how to find it).

Ins/Del/PgUp/PgDown/Home/End keybindings are broken

If you press PageUp or PageDown, instead of going up or down a page it changes the case of the character under the cursor.

I checked the vimrc just in case it was voluntarily disabled, but couldn't find any signs of that. If this is expected or intentional it would be good to tell the user and give a way to revert to the default if possible.

Edit: It's not just PageUp and Down, it's all of that block of keys, updated issue title to clarify

LaTeX symbols

After installing this, characters in LaTeX are actually substituted in. (e.g. the command \alpha appears as the literal character α in my gvim window).

I would like to turn this off. Which plugin is controlling this?

256 vs 8 colors problem with tmux linux-consoles and xterm

I frequently use xterm as well as linux ttys (virtual linux consoles) with a new tmux-session running on each instance of them.

Native linux tty is unable to display 256 colors (AFAIK) and whereas xterm is..
But since both tty and xterm runs tmux session, $TERM is same for both.
I am unable to set t_Co value in vimrc.local, so that it would be able to distinguish tty and xterm terminal emulators with tmux running over them.

Although, I would love to use a tty with 256 color support (Question 1->) any suggestions about tty with 256 color support?? Currently checking out fbterm n a few others..

For now it would be great to able to identify terminal type and set t_Co correspondingly..
(Question2->)How should I do it??

I have been using spf13-vim for like a year or so. After this upgrade to 3.0 version, I am facing this sudden demand for 256 colors and vim is running slow too on xterm..
So (Question 3->) Does the additions done in 3.0 really bring things which previous versions lacked???

Escaping spaces in InitializeDirectories() should have global flag

On line 415, the line is:

      let directory = substitute(directory, " ", "\\\\ ", "")

Only the first space gets escaped, so if directory has two spaces, the next line gets borked. I had this problem on Windows, where my home directory was under C:\Documents and Settings\. This can be fixed by passing in the global flag:

      let directory = substitute(directory, " ", "\\\\ ", "g")

Nerdtree and statusbar problems

Hi, firstly I want to thank you for the awesome 3.0 version of your wonderful vim-distro, but I have some cosmetic issues I would like to get rid of:

1.) My statusbar looks like this, with a ^B instead of the pipe sign.
http://i43.tinypic.com/551jdz.png

2.) When I doubleclick on a filename in the NerdTree window the following error occurs.
http://i44.tinypic.com/2942ezn.png

  • I'm not able to open maps in nerdtree when clicking on them and the plus sign next to the directory name is gone.

PS:

I'm using Debian.

UPDATE:

2.) Seems to be a NerdTree bug.

Easytags error

bundle/easytags/autoload/easytags.vim: Vim(call):E117: Unknown function: xolox#debug (at function easytags#[email protected]_run_ctags, line 3

Does anyone know what is causing this error? The error above is shown periodically in vim and, whenever I'm in insert mode and press backspace, I get this error:

=DelimitMate_BS() E117: Unknown function: DelimitMate_BS

hmn

ERROR: Permission to spf13/snipmate-snippets denied to xxx.
fatal: The remote end hung up unexpectedly
Clone of '[email protected]:spf13/snipmate-snippets.git' into submodule path '.vim/bundle/snipmate-snippets/snippets' failed

Removing trailing whitespaces and ^M chars does not work for JAVASCRIPT file.

Hi
The line:
autocmd FileType c,cpp,java,php,js,python,ruby autocmd BufWritePre :call setline(1,map(getline(1,"$"),'substitute(v:val,"\s+$","","")'))

does not work for JAVASCRIPT file.

But when I change js to javascript:
autocmd FileType c,cpp,java,php,javascript,python,ruby autocmd BufWritePre :call setline(1,map(getline(1,"$"),'substitute(v:val,"\s+$","","")'))

It works.

I use mac 10.7.3 vim 7.3

ShowMarks Bundle not installed

Thanks for sharing this, it's definitely one of the best vim config around ;)

Btw you have some config for ShowMarks in your .vimrc, but I think "vim-scripts/ShowMarks" bundle declaration is lacking somehow, no ?

CoffeeScript does not syntax highlight

I've narrowed it down to the InitializeDirectories function. I'm not entirely sure why this block is keeping CoffeeScript syntax from highlighting properly.

starting problems

Hi,

i got some errors by starting vim after "installing" your config..

Fehler beim Ausführen von "/home/zack/.vimrc":
Zeile 57:
E518: Unbekannte Option: undofile
Zeile 59:
E518: Unbekannte Option: undoreload=10000

Fehler beim Ausführen von "function InitializeDirectories":
Zeile 22:
E518: Unbekannte Option: undodir=/home/zack/.vimundo/

Any ideas how to fix this?

OS: Ubuntu 10.10

Can't enter Q in search

Hi,

while in search mode (/) entered capital letter "Q" automatically changes to lowercase "q".

I'm using (g)Vim version 7.2.330 with spf13-vim-641c91f on Ubuntu 10.10.

:help hanging

spf13-vim hangs for several minutes when I try to access the help. I was able to narrow it down to a problem with piv, because removing it solves the problem.

submodule update --init fails for VimDebugger

git submodule update --init
...
Initialized empty Git repository in /home/vincent/source/spf13-vim/.vim/bundle/VimDebugger/.git/
remote: Counting objects: 61, done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 61 (delta 27), reused 0 (delta 0)
Receiving objects: 100% (61/61), 42.98 KiB, done.
Resolving deltas: 100% (27/27), done.
fatal: reference is not a tree: 45d8ca46870f45a3d839aeec643d44d8c57c9395
Unable to checkout '45d8ca46870f45a3d839aeec643d44d8c57c9395' in submodule path '.vim/bundle/VimDebugger'

MacVim won't start :/

When i use your bundle, i just get this error when running mvim from terminal:
"Vim: Caught deadly signal SEGV"
"Vim: Finished"
And MacVim from dock/apps folder doesnt run at all.

Snippet is already defined. (When loading Ruby files.)

When I load any .rb files I see a bunch of "Snippet * is already defined" messages. Is this normal?

Here are the Snippets that are causing the problem:

log, mp, rep, shc, shns, samao, savf, sbt, shabtm, shi, shm, sho

I'm not using your entire vim setup, just your fork of snipmate and your snippets repo. I've installed your snipmate fork in my .vim/bundle/ folder (for pathogen) and the snippets are in .vim/bunlde/snipmate-snippets/snippets/.

Error with VimDebuggerLoad and snipmate

Launching MacVim through the terminal (mvim) shows these error messages.
I'm not sure how to fix them.

Error detected while processing function <SNR>15_VimDebuggerLoad:
line    2:
E117: Unknown function: <SNR>15_VimDebuggerInit
Error detected while processing function DefPython:
line  550:
Traceback (most recent call last):
  File "<string>", line 547, in <module>
  File "<string>", line 397, in __init__
NameError: global name 'VimDebugger' is not defined
Error detected while processing /Users/jtsandlund/dev/spf13-vim/.vim/bundle/snipmate/plugin/snipMate.vim:
line   31:
E117: Unknown function: funcref#Function
E116: Invalid arguments for function get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))
E15: Invalid expression: get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))

snipmate error on launch

Error detected while processing ~/.vim/bundle/snipmate.vim/plugin/snipMate.vim:
line 31:
E117: Unknown function: funcref#Function
E116: Invalid arguments for function get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))
E15: Invalid expression: get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))

vim 7.3 on ubuntu 11.04
i have this plugins :

checksyntax_vim
commant-t
delimitMate
FindFile
nerdtree
PIV
snipmate-snippets
snipmate.vim
supertab
vim-files
vim-fugitive
vim-git
vim-markdown

autocomplete via <tab> doesn't work anymore after updating

It was already a couple months ago since i updated my vimrc files.
So yesterday i tried on both the iMac and macbook, but now the autocompletion via
snipmate on different filetypes doesn't work anymore.
I get a message: -- Omni completion (^0^N^P) Pattern not found

I removed all the files and did a fresh install -> same issue

Can you please help me out, as always used your setup...

Kind regards,

lars

transparency error

I've installed a new copy of 3.0 and when I start vim in my gnome-terminal, this warning appears each time:

CSApprox skipped; terminal only has 8 colors, not 88/256
Try checking :help csapprox-terminal for workarounds

GNOME Terminal just evades detection. That error was fixed putting in ~/.vimrc.local "set t_Co=256"

fugitive#statusline failing

On a completely clean Ubuntu installation (never used a .vimrc before), I followed your instructions but got these errors:

E117: Unknown function: fugitive#statusline
E15: Invalid expression: fugitive#statusline()

To fix it I added ":so bundle/fugitive/plugin/fugitive.vim" to line 88, like this:

if has('statusline')
:so bundle/fugitive/plugin/fugitive.vim
set laststatus=2

Also, your 'solarized' color scheme isn't included anywhere.

Errors when launching in Kubuntu 11.04 after install via bootstrap.sh

Output of installer, then attempting to launch vim:

hoverbear@turing:~$ curl https://raw.github.com/spf13/spf13-vim/master/bootstrap.sh -o - | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 674 100 674 0 0 63 0 0:00:10 0:00:10 --:--:-- 1685
thanks for installing spf13-vim

backing up current vim config

cloning spf13-vim

Cloning into /home/hoverbear/.spf13-vim...
remote: Counting objects: 1217, done.
remote: Compressing objects: 100% (652/652), done.
remote: Total 1217 (delta 548), reused 1162 (delta 506)
Receiving objects: 100% (1217/1217), 934.91 KiB | 613 KiB/s, done.
Resolving deltas: 100% (548/548), done.
Submodule '.vim/bundle/VimDebugger' (git://github.com/taxilian/VimDebugger.git) registered for path '.vim/bundle/VimDebugger'
Submodule '.vim/bundle/ack' (git://github.com/mileszs/ack.vim.git) registered for path '.vim/bundle/ack'
Submodule '.vim/bundle/checksyntax' (http://github.com/tomtom/checksyntax_vim.git) registered for path '.vim/bundle/checksyntax'
Submodule '.vim/bundle/command-t' (git://github.com/wincent/Command-T.git) registered for path '.vim/bundle/command-t'
Submodule '.vim/bundle/delimitMate' (http://github.com/Raimondi/delimitMate.git) registered for path '.vim/bundle/delimitMate'
Submodule '.vim/bundle/easytags' (http://github.com/spf13/vim-easytags.git) registered for path '.vim/bundle/easytags'
Submodule '.vim/bundle/fugitive' (http://github.com/tpope/vim-fugitive.git) registered for path '.vim/bundle/fugitive'
Submodule '.vim/bundle/jslint' (git://github.com/bloveridge/jslint.vim.git) registered for path '.vim/bundle/jslint'
Submodule '.vim/bundle/nerdcommenter' (git://github.com/scrooloose/nerdcommenter.git) registered for path '.vim/bundle/nerdcommenter'
Submodule '.vim/bundle/nerdtree' (git://github.com/spf13/nerdtree.git) registered for path '.vim/bundle/nerdtree'
Submodule '.vim/bundle/piv' (git://github.com/spf13/PIV.git) registered for path '.vim/bundle/piv'
Submodule '.vim/bundle/pydoc.vim' (https://github.com/fs111/pydoc.vim.git) registered for path '.vim/bundle/pydoc.vim'
Submodule '.vim/bundle/pyflakes' (git://github.com/bloveridge/pyflakes-vim.git) registered for path '.vim/bundle/pyflakes'
Submodule '.vim/bundle/snipmate' (git://github.com/spf13/snipmate.vim.git) registered for path '.vim/bundle/snipmate'
Submodule '.vim/bundle/snipmate-snippets/snippets' (git://github.com/spf13/snipmate-snippets.git) registered for path '.vim/bundle/snipmate-snippets/snippets'
Submodule '.vim/bundle/supertab' (git://github.com/ervandew/supertab.git) registered for path '.vim/bundle/supertab'
Submodule '.vim/bundle/surround' (git://github.com/spf13/vim-surround.git) registered for path '.vim/bundle/surround'
Submodule '.vim/bundle/vim-colors-solarized' (https://github.com/altercation/vim-colors-solarized.git) registered for path '.vim/bundle/vim-colors-solarized'
Submodule '.vim/bundle/vim-json' (git://github.com/leshill/vim-json.git) registered for path '.vim/bundle/vim-json'
Submodule '.vim/bundle/vim-markdown' (git://github.com/spf13/vim-markdown.git) registered for path '.vim/bundle/vim-markdown'
Cloning into .vim/bundle/VimDebugger...
remote: Counting objects: 80, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 80 (delta 36), reused 8 (delta 2)
Receiving objects: 100% (80/80), 46.04 KiB, done.
Resolving deltas: 100% (36/36), done.
Submodule path '.vim/bundle/VimDebugger': checked out 'f59e0432ebde5cdd120c6aab942208a1cfb3b16a'
Cloning into .vim/bundle/ack...
remote: Counting objects: 175, done.
remote: Compressing objects: 100% (98/98), done.
remote: Total 175 (delta 73), reused 144 (delta 45)
Receiving objects: 100% (175/175), 19.96 KiB, done.
Resolving deltas: 100% (73/73), done.
Submodule path '.vim/bundle/ack': checked out 'a41d5d52c39a31128e969e69acf800b198cb07f9'
Cloning into .vim/bundle/checksyntax...
remote: Counting objects: 152, done.
remote: Compressing objects: 100% (67/67), done.
remote: Total 152 (delta 62), reused 145 (delta 56)
Receiving objects: 100% (152/152), 24.55 KiB, done.
Resolving deltas: 100% (62/62), done.
Submodule path '.vim/bundle/checksyntax': checked out 'a6ddb09497dd8b3da07da8bb4ceb9e7c1c286bba'
Cloning into .vim/bundle/command-t...
remote: Counting objects: 2267, done.
remote: Compressing objects: 100% (945/945), done.
remote: Total 2267 (delta 1227), reused 2160 (delta 1122)
Receiving objects: 100% (2267/2267), 368.91 KiB | 391 KiB/s, done.
Resolving deltas: 100% (1227/1227), done.
Submodule path '.vim/bundle/command-t': checked out 'cee619ac6e906d1c6bfc3052f01ccaa6ac1d4b3c'
Submodule 'vendor/vimball' (git://github.com/tomtom/vimball.rb.git) registered for path 'vendor/vimball'
Submodule 'vendor/vimscriptuploader' (git://github.com/tomtom/vimscriptuploader.rb.git) registered for path 'vendor/vimscriptuploader'
Cloning into vendor/vimball...
remote: Counting objects: 26, done.
remote: Compressing objects: 100% (26/26), done.
remote: Total 26 (delta 8), reused 0 (delta 0)
Receiving objects: 100% (26/26), 10.56 KiB, done.
Resolving deltas: 100% (8/8), done.
Submodule path 'vendor/vimball': checked out 'f60b56b1ed6eac51fbf78549a4b482b43aa45e6a'
Cloning into vendor/vimscriptuploader...
remote: Counting objects: 20, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 20 (delta 6), reused 0 (delta 0)
Receiving objects: 100% (20/20), 7.59 KiB, done.
Resolving deltas: 100% (6/6), done.
Submodule path 'vendor/vimscriptuploader': checked out 'dade97a78899ba2836baf6897b4c60594a17f641'
Cloning into .vim/bundle/delimitMate...
remote: Counting objects: 948, done.
remote: Compressing objects: 100% (402/402), done.
remote: Total 948 (delta 445), reused 846 (delta 393)
Receiving objects: 100% (948/948), 188.35 KiB | 349 KiB/s, done.
Resolving deltas: 100% (445/445), done.
Submodule path '.vim/bundle/delimitMate': checked out '9efb01da683721927589e7e340e8f2374d7dd3ea'
Cloning into .vim/bundle/easytags...
remote: Counting objects: 237, done.
remote: Compressing objects: 100% (109/109), done.
remote: Total 237 (delta 125), reused 233 (delta 122)
Receiving objects: 100% (237/237), 60.59 KiB, done.
Resolving deltas: 100% (125/125), done.
Submodule path '.vim/bundle/easytags': checked out '6db62ef85cdf82451a1e6137ed5edd8e38935b22'
Cloning into .vim/bundle/fugitive...
remote: Counting objects: 731, done.
remote: Compressing objects: 100% (289/289), done.
remote: Total 731 (delta 280), reused 701 (delta 253)
Receiving objects: 100% (731/731), 102.67 KiB, done.
Resolving deltas: 100% (280/280), done.
Submodule path '.vim/bundle/fugitive': checked out '44533707686c09972bf845c31544368bdfe0ce4f'
Cloning into .vim/bundle/jslint...
remote: Counting objects: 335, done.
remote: Compressing objects: 100% (146/146), done.
remote: Total 335 (delta 169), reused 304 (delta 145)
Receiving objects: 100% (335/335), 88.37 KiB, done.
Resolving deltas: 100% (169/169), done.
Submodule path '.vim/bundle/jslint': checked out '72d34cc3f1d6f0b95ad935edfc38b40c9be0d88c'
Cloning into .vim/bundle/nerdcommenter...
remote: Counting objects: 979, done.
remote: Compressing objects: 100% (374/374), done.
remote: Total 979 (delta 357), reused 932 (delta 317)
Receiving objects: 100% (979/979), 246.51 KiB | 99 KiB/s, done.
Resolving deltas: 100% (357/357), done.
Submodule path '.vim/bundle/nerdcommenter': checked out '5a9371437f97eef12325c04607de5e58b7168432'
Cloning into .vim/bundle/nerdtree...
remote: Counting objects: 1987, done.
remote: Compressing objects: 100% (639/639), done.
remote: Total 1987 (delta 880), reused 1953 (delta 851)
Receiving objects: 100% (1987/1987), 896.11 KiB | 206 KiB/s, done.
Resolving deltas: 100% (880/880), done.
Submodule path '.vim/bundle/nerdtree': checked out 'c2e3bbe762bd1a64f7f949cf07acdd4e480d1519'
Cloning into .vim/bundle/piv...
remote: Counting objects: 7892, done.
remote: Compressing objects: 100% (4983/4983), done.
remote: Total 7892 (delta 2898), reused 7875 (delta 2891)
Receiving objects: 100% (7892/7892), 3.46 MiB | 1.33 MiB/s, done.
Resolving deltas: 100% (2898/2898), done.
Submodule path '.vim/bundle/piv': checked out '25deca4e2465b09812a374ba26e81b1f147706f0'
Cloning into .vim/bundle/pydoc.vim...
remote: Counting objects: 56, done.
remote: Compressing objects: 100% (48/48), done.
remote: Total 56 (delta 22), reused 0 (delta 0)
Unpacking objects: 100% (56/56), done.
Submodule path '.vim/bundle/pydoc.vim': checked out 'fd814c429e5269da10df87429b62c570617456f2'
Cloning into .vim/bundle/pyflakes...
remote: Counting objects: 118, done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 118 (delta 57), reused 110 (delta 54)
Receiving objects: 100% (118/118), 16.96 KiB, done.
Resolving deltas: 100% (57/57), done.
Submodule path '.vim/bundle/pyflakes': checked out '8140709d8cef70dd441c0a0fe25db2fa218cd010'
Submodule 'ftplugin/python/pyflakes' (git://github.com/kevinw/pyflakes.git) registered for path 'ftplugin/python/pyflakes'
Cloning into ftplugin/python/pyflakes...
remote: Counting objects: 195, done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 195 (delta 111), reused 170 (delta 92)
Receiving objects: 100% (195/195), 58.70 KiB, done.
Resolving deltas: 100% (111/111), done.
Submodule path 'ftplugin/python/pyflakes': checked out 'd7837f67e778659bd00428a1a84160dbbaf40438'
Cloning into .vim/bundle/snipmate...
remote: Counting objects: 1381, done.
remote: Compressing objects: 100% (557/557), done.
remote: Total 1381 (delta 733), reused 1271 (delta 655)
Receiving objects: 100% (1381/1381), 223.65 KiB | 115 KiB/s, done.
Resolving deltas: 100% (733/733), done.
Submodule path '.vim/bundle/snipmate': checked out '14b6970ac641a91ea22d3d52461309e70a9259a9'
Cloning into .vim/bundle/snipmate-snippets/snippets...
remote: Counting objects: 3305, done.
remote: Compressing objects: 100% (1477/1477), done.
remote: Total 3305 (delta 646), reused 3166 (delta 559)
Receiving objects: 100% (3305/3305), 319.00 KiB | 129 KiB/s, done.
Resolving deltas: 100% (646/646), done.
Submodule path '.vim/bundle/snipmate-snippets/snippets': checked out 'a9300419ba8b735c51e2bbd58a2e87aff5c4bc9b'
Cloning into .vim/bundle/supertab...
remote: Counting objects: 276, done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 276 (delta 99), reused 269 (delta 93)
Receiving objects: 100% (276/276), 50.39 KiB, done.
Resolving deltas: 100% (99/99), done.
Submodule path '.vim/bundle/supertab': checked out '80ec6539e4139a2e0281a0f1e36d5038d55ad980'
Cloning into .vim/bundle/surround...
remote: Counting objects: 203, done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 203 (delta 50), reused 201 (delta 50)
Receiving objects: 100% (203/203), 44.22 KiB, done.
Resolving deltas: 100% (50/50), done.
Submodule path '.vim/bundle/surround': checked out '27710a2224d6dd0486d1c40d09ef18dd752e7d37'
Cloning into .vim/bundle/vim-colors-solarized...
remote: Counting objects: 336, done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 336 (delta 102), reused 308 (delta 75)
Receiving objects: 100% (336/336), 91.70 KiB, done.
Resolving deltas: 100% (102/102), done.
Submodule path '.vim/bundle/vim-colors-solarized': checked out '528a59f26d12278698bb946f8fb82a63711eec21'
Cloning into .vim/bundle/vim-json...
remote: Counting objects: 6, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
Submodule path '.vim/bundle/vim-json': checked out '0bad66cc6a832959c69eb81459ae8c993f04bb54'
Cloning into .vim/bundle/vim-markdown...
remote: Counting objects: 72, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 72 (delta 23), reused 70 (delta 23)
Receiving objects: 100% (72/72), 7.56 KiB, done.
Resolving deltas: 100% (23/23), done.
Submodule path '.vim/bundle/vim-markdown': checked out '948c411ba5eca7d4ce113e6574b97d5f50b92ed2'
building command-t executable

command-t depends on ruby and rake to be present

(in /home/hoverbear/.spf13-vim/.vim/bundle/command-t)
/usr/bin/ruby1.8 extconf.rb
checking for ruby.h... yes
creating Makefile
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_RUBY_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -std=c99 -Wall -Wextra -Wno-unused-parameter -c ext.c
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_RUBY_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -std=c99 -Wall -Wextra -Wno-unused-parameter -c matcher.c
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -DHAVE_RUBY_H -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -std=c99 -Wall -Wextra -Wno-unused-parameter -c match.c
gcc -shared -o ext.so ext.o matcher.o match.o -L. -L/usr/lib -L. -Wl,-Bsymbolic-functions -rdynamic -Wl,-export-dynamic -lruby1.8 -lpthread -lrt -ldl -lcrypt -lm -lc

hoverbear@turing:~$ vim
Error detected while processing function 13_VimDebuggerLoad:
line 2:
E117: Unknown function: 13_VimDebuggerInit
Error detected while processing function DefPython:
line 550:
Traceback (most recent call last):
File "", line 547, in
File "", line 397, in init
NameError: global name 'VimDebugger' is not defined
Error detected while processing /home/hoverbear/.spf13-vim/.vim/bundle/snipmate/plugin/snipMate.vim:
line 31:
E117: Unknown function: funcref#Function
E116: Invalid arguments for function get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))
E15: Invalid expression: get(s:snipMate, 'get_snippets', funcref#Function("snipMate#GetSnippets"))
Press ENTER or type command to continue

VimDebugger.vim: Unable to find VimDebugger.py

i get the following error when launching vim after installing spf13-vim on my CentOS server :

VimDebugger.vim: Unable to find VimDebugger.py. Place it in either your home vim directory or in the Vim runtime directory.
[O]K: 
Error detected while processing function DefPython:
line  549:
Traceback (most recent call last):
  File "<string>", line 546, in ?
  File "<string>", line 396, in __init__
NameError: global name 'VimDebugger' is not defined
Press ENTER or type command to continue

note: I have spf13-vim installed to /usr/local/share/vim/spf13-vim
and am using the following sylinks:

ln -s /usr/local/share/vim/spf13-vim/.vimrc /usr/local/share/vim/vimrc
ln -s /usr/local/share/vim/spf13-vim/.vim /usr/local/share/vim/vimfiles

so that spf13-vim accessible for all users running vim 7.3.189.

everything else I have tested is is working great so far (much better than Janus! :).

I love having the leader key remapped to "," and default colors look fantastic under Visor on OS X :D
http://www.rawcanvas.com/_/_skitch/Terminal_%E2%80%94_ssh_%E2%80%94_bash_%E2%80%94_94%C3%9736-20110515-190150.jpg

Not an editor command: VTree

This might be a noob question but what is this VTree command mapped to Control + F10? Am I missing something obvious?

rbtweaks and Windows Runtime errors

There is a setting in the c.vim plugin that does not work correctly on windows with the
current .vimrc windows runtime settings. Vimfiles is hard coded to vimfiles instead of .vim.
let s:plugin_dir = $VIM.'\vimfiles'
Also it is nice to set let s:C_TemplateOverwrittenMsg= 'yes' to 'no' on windows.

100% cpu usage

On my fork this happens quite often. Every 5-10 min load jumps to 100% for 20-40 seconds (vim is unrespossive) and than back to normal for another 10 minuts or so.
Anyone experiences that issue? I'm on vim 7.2.

Also I have couple of addtional plugins which might be a problem but i have no idea how to find the one that causes this?

Windows Runtime

On Windows 7 pathogen was not loading.
I moved the runtime section above the pathogen section and this seems to work.

error <SNR>12_VimDebuggerLoad and <SNR>12_VimDebuggerInit

error running vim command after installing spf13-vim
using Ubuntu 10.10 64bits, Vim 7.3

$ vim
Se ha detectado un error al procesar function 12_VimDebuggerLoad:
línea 2
E117: Función desconocida: 12_VimDebuggerInit
Se ha detectado un error al procesar function DefPython:
línea 550
Traceback (most recent call last):
File "", line 547, in
File "", line 397, in init
Vim: Capté una señal mortal SEGVger' is not defined

Vim: Finalizado.
[1] 18945 segmentation fault vim

Opening Gvim i see this error:

$ gvim
Se ha detectado un error al procesar /home/angel/.vimrc:
línea 429
E518: Opción desconocida: transparency=5
Se ha detectado un error al procesar function 14_VimDebuggerLoad:
línea 2
E117: Función desconocida: 14_VimDebuggerInit
Se ha detectado un error al procesar function DefPython:
línea 550
Traceback (most recent call last):
File "", line 547, in
File "", line 397, in init
Vim: Capté una señal mortal SEGVger' is not defined

Vim: Finalizado.
[1] 23219 segmentation fault gvim

Curl/sh install comand error on Ubuntu

Hi
when I copy
curl http://j.mp/spf13-vim3 -o - | sh
into my terminal on Ubuntu 11.10, I got
sh: Syntax error: newline unexpected

I thought this was happening because Ubuntu use dash instead of bash but when I switch into bash I got

sh: line 1: syntax error near unexpected token newline' sh: line 1:'

Am I doing something wrong or it is Ubuntu issue?

Easytags error

bundle/easytags/autoload/easytags.vim: Vim(call):E117: Unknown function: xolox#debug (at function easytags#[email protected]_run_ctags, line 3

foldmethod=syntax

Hi,

Sorry in advance for filing this rather simple issue. However, I figured it might be of interest for other "black box users", too :-)
It seems like automatic folding via "set foldmethod=syntax" doesn't work. I put it in .vimrc.local but it seems to be ignored or collides with a different definition elsewhere. I assume the folding of .vimrc is based on manual markers.

How can get it working again?

Thanks

easytags?

should easytags be included or not?

" EasyTags {
    let g:easytags_cmd = 'ctags'
" }

is there, but

    Bundle 'xolox/vim-easytags'

is not.

Vim: Error reading input, exiting...

When double-clicking a text file in Ubuntu (both 10.10 and 11.04), it tries to run vim and fails. When looking at .xsession-errors, there's that message. The documentation of that error (from http://vimdoc.sourceforge.net/htmldoc/message.html ) says:

"This occurs when Vim cannot read typed characters while input is required. Vim got stuck, the only thing it can do is exit. This can happen when both stdin and stderr are redirected and executing a script that doesn't exit Vim."

Looking for the mime type files, i see that the command line used to open the file is "gvim -f filename". It works on a terminal, but fails on the GUI.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.