Skip to content

adaiguoguo/vimrc.d

 
 

Repository files navigation

adaiguoguo's Vimrc

Mainly forked the major basic configuration of lukmy. Used for Go Developing, Python Developing,Ruby Assistance is also in plan.

enstallation

brew install vim --with-lua Local Install

$ git clone https://github.com/adaiguoguo/vimrc.d ~/vimrc.d

$ cd ~/vimrc.d
$ ./install.sh

Net Install

$ curl https://raw.githubusercontent.com/adaiguoguo/vimrc.d/master/net_install.sh | sh

Shortcuts

<leader> means <mapleader> in vim, in this situation it is ,. All shortcuts below only works in Normal Mode.

  • <leader>d means Toggle Nerd Tree
  • <leader>t means :CtrlP<space>
    • Be careful that there is no <cr> but a space behind command. We can add another directory argument for this command or just type <cr> for vim launch directory.
  • <leader>e means Open basic_vimrc.vim, this is for normal settings.
  • <leader>ee means Open installed_plugins.vim, this is for plugin settings
  • EasyMotion actions used the default keymap settings, so if u want to activate a EasyMotion motion, u need to use ` as map leader

Plugin Installation

I use Vundle for plugin management, but there is a problem that vundle uses g:bundles to record installed bundles, I don't want to use it because it's not clear for list. So I use another way for vundle.

I use installed_plugins.vim for installing plugins, just add plugin into this file.

Please do obey the rule I used below for plugin installation. It might not be simple, but it's clear.

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Please add plugin name here
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Plugin 'plugin/repo' " we can see the usage from vundle document

" Please add plugin configuration here
" Let's end by a blank line

After adding contents, just type :BundleInstall in vim or vim +BundleInstall +qall in shell for plugin installation.

Installed Plugins

Packages

No packages published

Languages

  • Vim Script 95.7%
  • Shell 4.3%