https://github.com/iosmanthus/vimrc
Iosmanthus's neovim configuration
https://github.com/iosmanthus/vimrc
vimrc vimrc-settings
Last synced: 4 months ago
JSON representation
Iosmanthus's neovim configuration
- Host: GitHub
- URL: https://github.com/iosmanthus/vimrc
- Owner: iosmanthus
- Created: 2018-10-21T07:40:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-07T04:42:38.000Z (over 6 years ago)
- Last Synced: 2025-10-08T02:59:57.579Z (9 months ago)
- Topics: vimrc, vimrc-settings
- Language: Vim script
- Homepage:
- Size: 29.3 KB
- Stars: 4
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 麗敏のVim設定
 [](https://GitHub.com/Naereen/StrapDown.js/graphs/commit-activity) [](https://t.me/idragonflyx)
### 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`.
```sh
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
...
```
2. 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.
3. 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.
```vim
runtime! ./modules/pluginx.vim " load configuration for `pluginx`
```
Here is an example configuration for [vim-plug](https://github.com/iosmanthus/vimrc/blob/master/modules/vim-plug.vim).
### Core plugins
* [`coc.nvim`](https://github.com/neoclide/coc.nvim): Intellisense engine for vim8 & neovim, full language server protocol support as VSCode
* [`vim-plug`](https://github.com/junegunn/vim-plug): Minimalist Vim Plugin Manager
* [`vim-which-key`](https://github.com/): Vim plugin that shows keybindings in popup
Check out all the plugin in `vimrc` if you want.
### Installation
1. Clone the repository to `~/.vim`
```sh
git clone https://github.com/iosmanthus/vimrc.git .vim
```
2. Migration from `Vim` to `NeoVim`: [migrate from vim](https://neovim.io/doc/user/nvim.html#nvim-from-vim)