https://github.com/onjin/nvim
Simple and personal nvim (neovim) config for programming
https://github.com/onjin/nvim
python vim vimrc
Last synced: about 1 year ago
JSON representation
Simple and personal nvim (neovim) config for programming
- Host: GitHub
- URL: https://github.com/onjin/nvim
- Owner: onjin
- License: mit
- Created: 2017-02-16T09:17:15.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T09:42:45.000Z (about 2 years ago)
- Last Synced: 2024-04-08T10:53:28.783Z (about 2 years ago)
- Topics: python, vim, vimrc
- Language: Lua
- Homepage:
- Size: 1.6 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Personal `neovim` configuration.
Mostly used for DevOps and Python (web) development.
black
#112233
#000000
#ff0000
In neovim help:
```
:help onjin
```
## Features
- Plugins manager — https://github.com/folke/lazy.nvim
- Support for `.editorconfig` — https://github.com/editorconfig/editorconfig-vim
- Fuzzy search engine https://github.com/nvim-telescope/telescope.nvim
- Intellisense engine https://github.com/neovim/nvim-lspconfig + https://github.com/williamboman/mason-lspconfig.nvim
- AI support https://github.com/jcdickinson/codeium.nvim - free code assistance https://codeium.com/pricing (set .nvimrc.ini or vim.g.ai_enabled directly to enable)
- Displays available keybindings in popup — https://github.com/folke/which-key.nvim
For a full list of plugins refer to https://github.com/onjin/.vim/blob/main/lua/plugins/
## Local .nvimrc.ini config for global variables
By creating `.nvimrc.ini` file in your project folder you can set global variables.
```dosini
;enable AI codeium
ai_enabled = 1
;enable autoformat on save
autoformat_on_save_enabled = 1
; set leader key
mapleader = ' '
```
## Screenshots
Which key keybindings popup, just press `,` and wait for help

LSP support

Markdown live preview

## Install by `git`
Make sure you move old `~/.vim` to f.i. `~/.vim.old` then you can go
**Requirements**: some plugins require `rust` already installed (f.e. `blam`).
```
git clone https://github.com/onjin/nvim ~/.config/nvim
```
Plugins should be installed at first run of editor. If not, then run `:Lazy` to do it manually.
Discover shortcuts:
- `,` or `` to get help for leader keys from `which-key`
## Requirements for python
- pynvim
```
pip install pynvim
```
## Nice to have
- Nerd Icons - https://www.nerdfonts.com/