Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Extensive vimrc with super easy install and everything in the vimrc is explained!

NotificationsYou must be signed in to change notification settings

timss/vimconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

  • Super easy to install and extend
  • Everything in the vimrc is explained
  • A universal configuration with a syntax checker, plugin manager and more

Installation

Dependencies:exuberant/universal ctags (tagbar)

git clone https://github.com/timss/vimconf.gitln -s vimconf/.vimrc~/.vimrc

Run vim and it'll download and install all plugins automatically!

Configuration

If you choose to symlink your~/.vimrc you can easily maintain an updatedversion of this vim configuration by using the local additions.

  • ~/.vimrc.plugins - Add your personal plugins here
  • ~/.vimrc.first - Prerequisites only, as it will be overwritten by whatever below
  • ~/.vimrc.last - Overrides everything, generally use this

I've chosen to include mostly universal plugins and configuration, meaning thatnot a lot is language specific and should be suitable for most use cases. Ifyou want additional plugins for autocomplete and more you can do so easilyusing your local files mentioned above.

Some useful plugins could be:

  • clang_complete - C/C++ autocompletion using Clang
  • jedi-vim - Python autocompletion using the Jedi library
  • YouCompleteMe - Autocompletion for several languages (C/C++, Python, ..)

My personal configuration can be found intimss/dotfiles.

Disabling plugins

If you want to disable any of the plugins included in the main configurationeitherUnPlug them:

UnPlug'ervandew/supertab'UnPlug'vim-syntastic/syntastic'

Or define a list of repo names to be disabled:

letg:plugs_disabled= ['supertab','syntastic']

Both should be added to~/.vimrc.plugins.

Preview

Preview

Video:Writing a small perl-script using Vim (rather outdated)

Disclaimer

Even if this configuration can be used out of the box or tweaked using thelocal files, I urge you to build your own if you have the time and energy to doso. Only then will you be able to properly understand the reasoning behind eachsetting and tailor it to your personal workflow.

However I still believe my Vim setup will help you get a basis configurationfor your own, introducing core ideas such as a plugin manager and.vimrc structure. Use this configuration well, but do not blindly trust it tosuit you perfectly. It's intended to be played with!

Todo

  • Update preview (gifs)
  • Extract some language/plugin specific configuration to an example file (wiki)?
  • Lazy loading

About

Extensive vimrc with super easy install and everything in the vimrc is explained!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp