Welcome to SwiftVim π οΈ, a Neovim configuration tailored for developers looking for an IDE-like experience with simplicity, speed, and powerful features. This README covers all the customizations, plugins, and settings implemented in this configuration.
- Transparent background support. π
- IDE-like features with LSP (Language Server Protocol). π
- Block cursor in insert mode. π²
- Auto-save functionality. πΎ
- Code completion for various languages. π§
- Syntax highlighting and themes. π¨
- File explorer and search. π
- Tabs with bufferline. ποΈ
- Remapped commands for improved productivity. β¨οΈ
- Support for Svelte, Django, and Machine Learning workflows. π€
-
Neovim: Install Neovim (version 0.8 or higher).
sudo pacman -S neovim # Arch Linux
-
Node.js and npm: Required for LSP and other plugins.
sudo pacman -S nodejs npm
Clone this repository into your Neovim configuration directory:
git clone https://github.com/your-repo/swiftvim ~/.config/nvim
Launch Neovim and run:
:PackerSync
This will install all plugins defined in the init.lua
file.
- Packer.nvim: Manages all your plugins. π¦
- nvim-lspconfig: LSP configuration for language support. π
- mason.nvim: Easily install and manage LSP servers. π§
- cmp-nvim: Autocompletion framework. βοΈ
- telescope.nvim: Fuzzy finder for files and text. π
- nvim-tree: File explorer. ποΈ
- gruvbox.nvim: Gruvbox theme with transparent background support. π¨
- bufferline.nvim: Tab-like interface for buffers. π·οΈ
- nvim-autopairs: Auto-closing of brackets and quotes. π
- nvim-ts-autotag: Auto-closing of HTML tags. π
- gitsigns.nvim: Git integration. π
- Tab Spaces: Set to 4 spaces.
- Relative Line Numbers: Enabled for better navigation.
- Transparent Background: Supported for a modern look. π
Action | Keybinding |
---|---|
New File | Ctrl + N |
Save File | Ctrl + S |
Rename File | F2 |
Horizontal Split | Ctrl + H |
Vertical Split | Ctrl + Shift + V |
Cut | Ctrl + X |
Paste | Ctrl + V |
Close Window | Ctrl + Shift + X |
Open File Explorer | Ctrl + E |
File Search | Ctrl + P |
Text Search | Ctrl + F |
Command | Description |
---|---|
:Mason |
Open Mason for LSP management. |
:Telescope find_files |
Search for files. |
:Telescope live_grep |
Search for text in files. |
:NvimTreeToggle |
Toggle file explorer. |
- Integrated LSP support with
svelte-language-server
. π₯
- Installed
pyright
for Python LSP.
- Default: Tokyo Night and Night Fox with transparent background. π
- Change themes by updating the
colorscheme
in theinit.lua
file.
-
File Explorer Not Opening: Ensure
nvim-tree
is installed and configured properly. Run:PackerSync
if needed. -
Missing Language Servers: Use Mason to install required LSP servers:
:Mason
-
Keybindings Not Working: Ensure
init.lua
is properly sourced::source %
Enjoy coding with SwiftVim! π If you encounter issues or have suggestions, feel free to contribute or raise an issue on GitHub. π