Questions tagged [spf13vim]

A distribution of vim plugins and resources for Vim, Gvim and MacVim.It allows to use VIM for development on Windows, Linux, and Mac.

29 questions
4
votes
2 answers

nospell in vimrc does not work(spf13)

I am using spf13 destribution. How can I disable spell function in vimrc? For every file I open? I tried(in my .vimrc.local): set nospell " vim: set nospell: // it is working only for first file I had opened. nospell Maybe It helps to someone:…
alexche8
  • 1,270
  • 3
  • 19
  • 26
4
votes
2 answers

Allow vim snipMate snippets to work on different file types

I am fairly new to vim and have been playing around with the spf13 configuration, which is great. The one thing I have not been able to figure out is how to allow snippets for one type of file to be used on another. In my personal situation I…
septemberbrain
  • 998
  • 9
  • 25
3
votes
0 answers

auto fold for C++ sources and headers

I have heard that Vim has a built-in support of folding for the files written in various programming languages. Particularly I'm interested in cpp, h, hpp files. I would like to achieve such a behavior of Vim when all the function definitions are…
Vitaly Isaev
  • 5,392
  • 6
  • 45
  • 64
3
votes
1 answer

How to disable the auto-complete feature on periods

If someone presses the period key while writing code the auto-complete feature tries to give suggestions for what could follow after that period. This mechanism may be too slow to be useful sometimes. How to disable this behavior? Triggering this…
wmax
  • 1,014
  • 10
  • 21
2
votes
1 answer

Remove warning from vim editor for line length exceeding 80 chars

I am using spf13-vim plugin for my vim editor. Whenever I write python code, and if the line length exceeds 80 chars, then it shows me warning in a new horizontal split. Something like this (see bottom part): I want to remove the warning or…
Amit Upadhyay
  • 7,179
  • 4
  • 43
  • 57
2
votes
1 answer

How to remove airline themes notice when running vim?

I just installed spf13-vim and get this warning when running vim: airline themes have been migrated to github.com/vim-airline/vim-airline-themes and will be removed from the core in the near future. How would I fix or disable the notice?
mbdev
  • 6,343
  • 14
  • 46
  • 63
2
votes
2 answers

Vim colorscheme behaviour different when loading from vimrc / spf13

I'm trying to load a default colorscheme torte by placing colorscheme torte on my ~/.vimrc.local (I'm using vIm SPF13 by the way if it means anything.) Anyways, whenever I open vim, I end up seeing this. But when I execute colorscheme torte from…
jaggy
  • 822
  • 1
  • 10
  • 20
2
votes
2 answers

VIM colorscheme management with SPF-13 / csapprox

I'm using the spf-13 VIM setup 1. I'm a bit confused about the colorschemes. It seems they just source the files which call :hi set color commands, and since not all colors are set in all colorschemes, the colors you actually get depend on what…
Chris Sattinger
  • 4,446
  • 3
  • 30
  • 29
1
vote
1 answer

Vim expand all blocks by default

I'm using the awesome spf13 Vim distribution, when I open a code file I find collapsed all the blocks, so I usually do a zE to expand all the blocks, beacuse I like that way .. is there some trick to do this automatically on every file?
leandro713
  • 1,268
  • 1
  • 10
  • 17
1
vote
2 answers

Spf13 VIM tab indentation

I'm trying to set the intendation for Spf13 VIM to tabs. According to the docs this should be done in ~/.vimrc.local. I've created that file and put the following content there: set noexpandtab set tabstop=4 set softtabstop=4 set shiftwidth=4 I…
dan-klasson
  • 13,734
  • 14
  • 63
  • 101
1
vote
1 answer

How to run python code with spf-13.vim?

I use spf13 ,it use python-mode inside,but I can't find the key to run the python code. After I add let g:pymode_run = 1 and let g:pymode_run_key = 'r' in my .vimrc, it still does not work. Can someone help me?
cruelcage
  • 2,044
  • 6
  • 19
  • 19
0
votes
0 answers

E353 nothing in register *

After I added following line to .tmux.conf , I cannot yy and p in vim any more. bind -t vi-copy Enter copy-pipe "xclip -i -selection clipboard" now I removed this line from .tmux.conf, This error message still show up when I enter p (after dd or…
Boyuan Wang
  • 57
  • 11
0
votes
1 answer

SPF VIM syntax on by default

I just installed spf13 vim on my machine with CentOS. One thing I noticed is that I was not able to set "syntax on" by default. The difference are the parenthesis color and the GLOB color. The default color is very light on my monitor, so really…
Zack
  • 1,205
  • 2
  • 14
  • 38
0
votes
2 answers

spf13 - using the java syntax in a file with a non java extension

So this may be a trivial issue to resolve. The company I work for has their own file format, and it contains java like code. Right now there is no syntax highlighting when I open their files with vim, after installing spf13. Is there somewhere I can…
jeff_h
  • 519
  • 1
  • 9
  • 26
0
votes
1 answer

Editing .vimrc file to make 'set ft=python' a default setting and something more

I am a new comer to the vim world, and I have just installed spf13-vim for a quick start. Apart from that I have not touched my .vimrc file. I mainly use vim to write some python scripts on a remote server, so I have to type 'set ft=python' each…
Zhao Chen
  • 143
  • 1
  • 10
1
2