0

I'm new to mac and would like to setup powerline program for terminal and vim. I was able to setup to the bash shell but cannot do it for vim.

I can setup for terminal.

enter image description here

This is what I've added to .bash_profile file.

enter image description here

This is what I've added to .vimrc file.

enter image description here

I'm getting this error when I launch vim

enter image description here

  • Is this vim or macvim? The latter requires a bit more setup. – user173518 Jan 20 '19 at 16:16
  • how do I know that? – kunaguvarun Jan 20 '19 at 16:20
  • It should be pretty obvious. It looks like you're launching vim via vim so likely plain vim, unless you specifically installed MacVim and aliased (like I did). – user173518 Jan 20 '19 at 16:25
  • Regardless, why are you trying to set powerline up like that? Powerline for vim is a separate thing from powerline-shell? IIRC you can install it with pip install powerline-setup. – user173518 Jan 20 '19 at 16:26
  • I followed medium.freecodecamp.org/… to setup powerline for terminal. I would like it for both terminal and vim – kunaguvarun Jan 20 '19 at 16:39
1

I've followed the instructions from

vim powerline mac

and powerline is displayed in my vim setup finally. :)

enter image description here

| improve this answer | |
  • Answers on Ask Different need to be more than just a link. We expect answers to be self contained, since if your link goes down, your answer will be useless. Paraphrasing the source and including any relevant information in the answer will ensure it stays relevant – nohillside Jan 20 '19 at 19:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .