Note that there are some explanatory texts on larger screens.

plurals
  1. POVim Question: Sparkup doesn't work for files opened from a running Vim session
    text
    copied!<p>If I were to open a file with Vim from the command prompt (eg: vim ~/.vimrc), the Sparkup text generation seems to work perfectly fine. For example if I insert:</p> <pre><code>html:xs </code></pre> <p>and then push control + e, sparkup generates a nice HTML strict boilerplate. However if I then split to another file from the running Vim session, Sparkup stops working in the newly opened file. It's totally possible that other plugins lose their functionality as well. Here is my .vimrc file:</p> <pre><code>set nocompatible " use vim defaults set number " show line numbers set tags=tags;$HOME/.vim/tags/ "recursively searches directory for 'tags' file set expandtab " tabs are converted to spac set tabstop=4 " numbers of spaces of tab character set shiftwidth=4 " numbers of spaces to (auto)indent set showcmd " display incomplete commands set incsearch " do incremental searching set ruler " show the cursor position all the time set numberwidth=4 " line numbering takes up 5 spaces set ignorecase " ignore case when searching set nowrap " stop lines from wrapping set incsearch " show search matches as you type call pathogen#helptags() call pathogen#runtime_append_all_bundles() filetype on " enables filetype detection filetype plugin on " enables filetype specific plugins filetype plugin indent on " Loads pyflake-vim's ftplugin files automatically when a Python buffer is opened syntax on " syntax highlighing colorscheme default nmap &lt;silent&gt; &lt;c-y&gt; :NERDTreeToggle&lt;CR&gt; nmap &lt;silent&gt; &lt;c-o&gt; :OpenBookmark " TagList Plugin Configuration let Tlist_Ctags_Cmd='/usr/bin/ctags' " point taglist to ctags let Tlist_GainFocus_On_ToggleOpen = 1 " Focus on the taglist when its toggled let Tlist_Close_On_Select = 1 " Close when something's selected let Tlist_Use_Right_Window = 1 " Project uses the left window let Tlist_File_Fold_Auto_Close = 1 " Close folds for inactive files " Omnicompletion functions set ofu=syntaxcomplete#complete autocmd FileType python set omnifunc=pythoncomplete#Complete autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS autocmd FileType html set omnifunc=htmlcomplete#CompleteTags autocmd FileType css set omnifunc=csscomplete#CompleteCSS au FileType py set expandtab map &lt;F2&gt; :previous&lt;CR&gt; " map F2 to open previous buffer map &lt;F3&gt; :next&lt;CR&gt; " map F3 to open next buffer map &lt;F5&gt; :TlistToggle&lt;CR&gt; " map F5 to toggle the Tag Listing map &lt;silent&gt;&lt;C-Left&gt; &lt;C-T&gt; " taglist - map Ctrl-LeftArrow to jump to the method/property under your cursor map &lt;silent&gt;&lt;C-Right&gt; &lt;C-]&gt; " taglist - map Ctrl-RhitArrow to jump back to your source code " Easy window navigation map &lt;C-h&gt; &lt;C-w&gt;h map &lt;C-j&gt; &lt;C-w&gt;j map &lt;C-k&gt; &lt;C-w&gt;k map &lt;C-l&gt; &lt;C-w&gt;l " When vimrc is edited, reload it autocmd! bufwritepost vimrc source ~/.vim_runtime/vimrc highlight SpellBad term=reverse ctermbg=Gray ctermfg=Red </code></pre> <p>And here are some other plugins I have inside ~/.vim/bundles:</p> <p>IndexedSearch nerdtree snipmate.vim vim-css-color vim-git vim-rails vim-ruby-debugger vim-supertab vim-tcomment gist pyflakes-vim textile.vim vim-cucumber vim-haml vim-repeat vim-shoulda vim-surround vim-vividchalk jquery pysmell vim-align vim-fugitive vim-markdown vim-ruby vim-sparkup vim-taglist</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload