coolceph / vimrc

Best vimrc for CoolCeph team, used for C/C++, Python, PHP and Go.
https://github.com/coolceph/vimrc
GNU General Public License v2.0
62 stars 32 forks source link
python vim vimrc

Best vimrc for CoolCeph team, used for C/C++, Python, PHP and Go.

The design principles of coolceph vimrc is simple, green and easy. Coolceph vimrc is designed running well on Linux and Mac, just need ctags, git and powerline_fonts. And also coolceph vimrc can be copied and installed anywhere by just a tarball.

Enjoy it.

alt tag

Requirements

brew install cmake go node mono rust
brew install vim
brew install cmake go node mono rust

Download macvim from [https://github.com/macvim-dev/macvim/releases/latest] and install it to /Applications .

Do not install macvim from brew.

Linux users who do not use YouCompleteMe could use wip-neocomplcache branch, this branch only depend on vim and has no python/lua requirement.

And vim 7.4.1578+ is required.

Install

bash -c "$( curl https://raw.githubusercontent.com/coolceph/vimrc/master/setup.sh )"

ShortCuts

Key Function
F2 Paste mode toggle(normal/paste)
F3 NerdTREE toggle
F4 Tagbar toggle
F5 LineNumber Model Switch
F6 Whether or not show listchar
F7 Update ctags
F8 Open undotree
F9 Enter multi-cursor-mode
F10 Enter Rankring clipboard
F12 Mouse mode switch (mouse=a/-a)
SpaceSpace Activate CtrlP Mixed Search
Ctrl+h/j/k/l Switch between windows.
Ctrl+c Completely quit vim without saving

The leader key is ','.

Quick Commands

Cmd Function
Ctags Genrate ctags for pwd
Gotags Genrate gotags for pwd
Cscope Genrate cscope files for pwd
Hex/Asc Swtich between Asc and Hex
Hexmode Toggle Hex/Asc mode
Cswp Clear swp files

FAQ

Plugins used in CoolCeph vimrc

YCM-Generator

YankRing.vim

YouCompleteMe

a.vim

ack.vim

ag.vim

better-indent-support-for-php-with-html

csv.vim

ctrlp.vim

fzf.vim

fzf

gv.vim

hexmode

incsearch-easymotion.vim

incsearch-fuzzy.vim

incsearch.vim

indentLine

jellybeans.vim

molokai

neomru.vim

nerdcommenter

nerdtree-git-plugin

nerdtree

rainbow

rust.vim

syntastic

tabular

tagbar

tern_for_vim

ultisnips

undotree

vim-airline-themes

vim-airline

vim-better-whitespace

vim-cpp-enhanced-highlight

vim-easymotion

vim-exchange

vim-expand-region

vim-fugitive

vim-gitgutter

vim-go

vim-indexed-search

vim-json

vim-multiple-cursors

vim-operator-user

vim-pasta

vim-pathogen

vim-plist

vim-repeat

vim-signature

vim-snippets

vim-surround

vim-table-mode

vim-template

vim-tmux-navigator

vim-togglemouse

vim-togglenumber

vim-visual-star-search