Since a long time, I was looking for different Editors and IDEs for C development.
But I noticed, I'm not really happy about them at all. And I always fallback to the console, doing different things.
Either running your programs with valgrind
, using gdb
from the command line - or even objdump
.
And I'm quite familar with the fantastic editor vim
. So I decided to switch to vim
for development and optimize it, according to my needs.
This is a self-plugined and configured installation of vim, using the power of dot-files and folders.
There are already some full-configured projects, such as spf13's The Ultimate Vim Distribution - but I decided to build my own one.
To install that setup, run
curl https://raw.github.com/iwalz/vim-c/master/install.sh | bash
I suggest to start without a .vimrc
and .vim
directory. Dependencies are ctags
(supertab) and python support (conque shell) enabled in vim.
If you want to setup splice as your git merge tool, run
curl https://raw.github.com/iwalz/vim-c/master/configure_vimdiff.sh | bash
To use vim through ssh via putty needs a few additional settings in putty. It's most likely linked to the commands, sent by putty for Del, Backspace etc.
- File Browser
- Open/Search File Shortcut
- Integrated bash
- Code outline
- Code completion
- Tabs
- Better statusbar
- Syntax highlighting
- Merge Tool
There are quite a lot cool vim plugins around - I guess it's even too much to keep the overview.
The plugins are managed via pathogen, using git-submodules. This helps to keep your .vim
directory clean and your plugins up to date.
And it's quite easy ... The plugins, I use in this setup: