Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] Vim as IDE

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
Balisong
n00b
n00b
Posts: 13
Joined: Fri Jun 13, 2014 10:07 am

[SOLVED] Vim as IDE

  • Quote

Post by Balisong » Sun Jul 13, 2014 8:04 pm

Hi!

I'm trying to use Vim for programming, specifically for c++ but with no luck. I want to install vim-addon-manager so i can install some plugins to use vim as an IDE. If anyone has done this or can point me in the right direction please. Google didn't solve my problem
Last edited by Balisong on Mon Jul 14, 2014 11:28 pm, edited 1 time in total.
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Re: Vim as IDE

  • Quote

Post by khayyam » Sun Jul 13, 2014 8:38 pm

Balisong wrote:I'm trying to use Vim for programming, specifically for c++ but with no luck. I want to install vim-addon-manager so i can install some plugins to use vim as an IDE. If anyone has done this or can point me in the right direction please. Google didn't solve my problem
Balisong ... I've not used vim-addon-manager, but it sounds as though (wild guess) you may be trying to use it to install global plugins which your user doesn't have permissions to do. If you simply want to install/manage plugins for your user then use something like pathogen or vundle.

As for vim as IDE, have you read this?

best ... khay
Top
schorsch_76
Guru
Guru
User avatar
Posts: 452
Joined: Tue Jun 19, 2012 4:04 pm

  • Quote

Post by schorsch_76 » Sun Jul 13, 2014 8:45 pm

For a first addon use the gentoo ebuild c-support.

Code: Select all

[I] app-vim/c-support
     Available versions:  6.0 6.1
     Installed versions:  6.1(10:11:27 24.06.2014)
     Homepage:            http://www.vim.org/scripts/script.php?script_id=213
     Description:         vim plugin: C/C++-IDE -- Write and run programs using menus and hotkeys
Get a vim cheat-sheet and get used to the shortcuts.

http://www.viemu.com/a_vi_vim_graphical ... orial.html
Top
Balisong
n00b
n00b
Posts: 13
Joined: Fri Jun 13, 2014 10:07 am

  • Quote

Post by Balisong » Sun Jul 13, 2014 9:42 pm

Thank you for the quick replies.

I have just installed c-support and i shall try and test it later on.

On the question about the vim.wikia site which recommends multiple plugins i didn't quite got the pathogen part, which now i'm trying to figure out how to use it for the plugins.
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

  • Quote

Post by khayyam » Sun Jul 13, 2014 11:22 pm

Balisong wrote:On the question about the vim.wikia site which recommends multiple plugins i didn't quite got the pathogen part, which now i'm trying to figure out how to use it for the plugins.
Balisong ... you would do the following:

Code: Select all

# mkdir -p ~/.vim/bundle/pathogen/autoload/
# wget -O ~/.vim/bundle/pathogen/autoload/pathogen.vim http://tpo.pe/pathogen.vim

You would then add the following to the ~/.vimrc

~/.vimrc

Code: Select all

" Use pathogen to manage plugins
runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
Any future plugin you just unpack into ~/.vim/bundle and pathogen will automatically make it available.

best ... khay
Top
franzf
Advocate
Advocate
User avatar
Posts: 4565
Joined: Tue Mar 29, 2005 9:06 am

  • Quote

Post by franzf » Mon Jul 14, 2014 7:42 am

I would recommend vundle over pathogen, as it handles downloading and updating automatically - no need to copy anything manually into your ~/.vim.

Furthermore I found YouCompleteMe to be the greatest step towards "vim-IDE".
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

  • Quote

Post by khayyam » Mon Jul 14, 2014 11:58 am

franzf wrote:I would recommend vundle over pathogen, as it handles downloading and updating automatically - no need to copy anything manually into your ~/.vim.
franzf ... you're probably correct, but its a little more complex to configure (at least in comparison to pathogen). Also, I'm personally not that keen on the idea of auto-updating ...

best ... khay
Top
Balisong
n00b
n00b
Posts: 13
Joined: Fri Jun 13, 2014 10:07 am

  • Quote

Post by Balisong » Mon Jul 14, 2014 11:28 pm

Thanks again for everyone helping me.

I have found what i need in the wikia (the same one i found but was too stupid to understand). I used pathogen and made the first steps towards making Vim as my IDE. I love it! I see its power, it really is what i need.
Top
sk3l
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Sat Jul 14, 2012 11:57 am
Location: CT USA
Contact:
Contact sk3l
Website

Re: Vim as IDE

  • Quote

Post by sk3l » Sat Jul 19, 2014 11:30 pm

khayyam wrote:
Balisong wrote:I'm trying to use Vim for programming, specifically for c++ but with no luck. I want to install vim-addon-manager so i can install some plugins to use vim as an IDE. If anyone has done this or can point me in the right direction please. Google didn't solve my problem
Balisong ... I've not used vim-addon-manager, but it sounds as though (wild guess) you may be trying to use it to install global plugins which your user doesn't have permissions to do. If you simply want to install/manage plugins for your user then use something like pathogen or vundle.

As for vim as IDE, have you read this?

best ... khay
Hey khay, cheers for sharing the link WRT VIM & IDE extensions! I'm going to try the VIM plugins for MS VS2010.
Top
khayyam
Watchman
Watchman
User avatar
Posts: 6227
Joined: Thu Jun 07, 2012 2:45 am
Location: Room 101

Re: Vim as IDE

  • Quote

Post by khayyam » Sun Jul 20, 2014 12:49 am

sk3l wrote:Hey khay, cheers for sharing the link WRT VIM & IDE extensions! I'm going to try the VIM plugins for MS VS2010.
sk3l ... you're welcome. That link doesn't mention it but there is also visual_studio.vim (which supports 2010). Some of the suggestions here may also be of interest (it mainly covers configuring visual_studio.vim).

best ... khay
Top
Post Reply

10 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic