0

Vim is not loading vim-plug plugins. When I run vim and do :PlugInstall, it installs the plugins and applies them:

Running :PluggInstall

This is what happens when I quit vim-plug interface using :q, vim goes back to normal, no plugin applied:0

vimrc

Here is my .vimrc file:

set encoding=utf-8
set tabstop=4
set shiftwidth=4
set expandtab
set smarttab
set autoindent
set smartindent
set nowrap
set smartcase
set showmatch
set title
set ruler
set et
set relativenumber
set incsearch
set hlsearch
set autoread
set autowrite
set nobackup
set nowritebackup
set noswapfile
set nocompatible
set hidden
filetype off
syntax on

call plug#begin('~/.vim/plugged')

Plug 'VundleVim/Vundle.vim'

Plug 'powerline/powerline'
Plug 'itchyny/lightline.vim'
Plug 'kien/ctrlp.vim'
Plug 'jistr/vim-nerdtree-tabs'

call plug#end()
  • 1
    How do you know, that the plugins are not loaded? Because the statusline is not shown? You need :set statusline=2 for that. – Christian Brabandt Jul 16 '17 at 19:12
  • thanks, your comment made me realise that maybe I missed something with the powerline configuration, i had to set laststatus to 2 – Amine Hakkou Jul 17 '17 at 11:54
-1

the plugins are loading, but powerline wasn't showing, because i had to add set laststatus=2 to ~/.vimrc

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.