A comprehensive Neovim configuration that turns Neovim into a full-featured IDE for Data Science, AI Engineering, and Backend development. Supports Python, Clojure, JavaScript/TypeScript (via Deno), shell scripting, containerisation, and technical documentation.
- GitHub Copilot AI assistance
- Ollama local AI assistance
- Full LSP support via Pyright
- Automatic linting and formatting with Ruff
- REPL integration through Conjure
- Complete Clojure LSP integration
- REPL-driven development with Conjure
- Structural editing via
vim-sexp
- Automatic formatting with
cljfmt
- Linting with
clj-kondo
- Advanced LSP features for modern JavaScript/TypeScript
- Built-in linting and formatting
- Containerfile/Dockerfile LSP support
- Shell script (Bash/Zsh) language server
- Markdown LSP with preview via glow
- Spell checking
- Text-to-speech support via Piper
<leader>
=<space>
<localleader>
=,
- LSP hover:
K
- Definition:
gd
- References:
gr
- Code actions:
<leader>ca
- Find keymappings:
<leader>k
- Connect:
<localleader>cc
- Evaluate:
<localleader>ee
- Documentation:
<localleader>hd
- Neovim
- git
- node.js (for copilot.vim)
- ollama (for ollama.nvim)
- ripgrep for global line completions through fzf.vim (optional)
- glow for Markdown preview (optional)
- Deno (for TypeScript/JavaScript)
- Python
- Clojure
- PiperTTS (for text-to-speech)
- Alba voice model and config, in
/usr/share/piper-voices/
. You can replace Alba with another voice model of your choice
- Backup your existing config:
mv ~/.config/nvim ~/.config/nvim.backup # Backup your current setup (if you have one)
# Cleanup old configuration artefacts
rm -r ~/.local/share/nvim
rm -r ~/.local/state/nvim
rm -r ~/.cache/nvim
- Install Vim-plug
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- Clone this config:
git clone https://github.com/ai-mindset/init.vim ~/.config/nvim
- Start Neovim:
nvim --headless +PlugInstall +qall # Only required on first start, to install plugins
- LSP servers: Modify
ensure_installed
in the Mason setup - Copilot: Edit
g:copilot_filetypes
to enable/disable for specific languages - Colour scheme: Change
colorscheme vscode
to your preferred theme