Code Monkey home page Code Monkey logo

vimrc's Introduction

麗敏のVim設定

GitHub version Maintenance Ask Me Anything !

Objective

  • Create a Vim configuration for Rust development
  • Backup my own Vim configuration

Plugins Configuration

  1. Configuration per plugin; Each plugin is configured by a vim script located in modules/ whose name is the plugin name with suffix .vim.
modules
├── coc.nvim.vim # https://github.com/neoclide/coc.nvim
├── colorscheme.vim # Colorscheme settings
├── ctrlp.vim
├── incsearch.vim
├── indentLine.vim
├── nerdtree.vim
├── ultisnips.vim
├── vim-airline-themes.vim
├── vim-airline.vim
├── vim-autoformat.vim
...
  1. Load configuration by a special function. Each plugin configuration creates a script local function named s:setup() which should be called at the end of the file manually. All configuration for the plugin should be placed in it.
  2. Enable configuration by loading it in vimrc. If you want to enable a configuration for a specific plugin, add a line in vimrc to include the configuration.
runtime! ./modules/pluginx.vim " load configuration for `pluginx`

Here is an example configuration for vim-plug.

Core plugins

  • coc.nvim: Intellisense engine for vim8 & neovim, full language server protocol support as VSCode
  • vim-plug: Minimalist Vim Plugin Manager
  • vim-which-key: Vim plugin that shows keybindings in popup

Check out all the plugin in vimrc if you want.

Installation

  1. Clone the repository to ~/.vim
git clone https://github.com/iosmanthus/vimrc.git .vim
  1. Migration from Vim to NeoVim: migrate from vim

vimrc's People

Contributors

iosmanthus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

forty-twoo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.