Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wmartinmimi/nvim-config
Catppucin themed neovim config with lsp autocomplete on Termux
https://github.com/wmartinmimi/nvim-config
autosave catppuccin lsp mit-license neovim neovim-config neovim-configuration neovim-dotfiles termux
Last synced: 22 days ago
JSON representation
Catppucin themed neovim config with lsp autocomplete on Termux
- Host: GitHub
- URL: https://github.com/wmartinmimi/nvim-config
- Owner: wmartinmimi
- License: mit
- Created: 2023-04-03T15:47:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T19:22:14.000Z (about 2 months ago)
- Last Synced: 2024-10-29T21:34:16.540Z (about 2 months ago)
- Topics: autosave, catppuccin, lsp, mit-license, neovim, neovim-config, neovim-configuration, neovim-dotfiles, termux
- Language: Lua
- Homepage:
- Size: 1.85 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# nvim-config
## Description
This is my own personal nvim config.
I keep this as backup in case I wiped my config.Intended for personal use (in termux and linux distros) but may work for others as well.
You are welcomed to fork and use my config.
There is no guarantee of stability or compatibility.
Everything may change at anytime.## Screenshot
![Example](example.jpg)
![Example 2](example2.png)
## Features
- modernish look (with catppuccin)
- autocompletion with lsp
- autosave
- telescope.nvim
- quick word jumping with leap.nvim
- ai autocompletion via codeium (non-termux)## Adding Lsps
Open `init.lua`, find `local servers = {}` near the start of file.
Add or remove lsp server names as desired.
lsp server names are from lspconfig.*LSP servers must be installed separately and on $PATH.*
Run `:LspConfigDocs` to list all possible lsp integrations with some instructions on how to install them.
Some of the lsp presets here is configured to use the `bun` runtime.
## Shortcuts
- `tt`: opens Telescope.nvim
- `ff`: opens nvim-tree
- `cf`: formats code
- `Alt-/`: word jump
- `Alt-Right`: accept codeium autocomplete
- `Alt-Up`: switch to next codeium autocomplete
- `Alt-Down`: switch to previous codeium autocomplete
- `Alt-Left`: cancel normal autocomplete### Notice Termux users
codeium binary does not work with termux the last time I checked, hence plugin is disabled by default.
## Installation
```bash
mv ~/.config/nvim ~/.config/nvim.old
git clone https://github.com/wmartinmimi/nvim-config ~/.config/nvim
```If Lazy shows error on first install, reopen nvim, run `:Lazy`, and run update (U).
### Notice WSL2 users
WSL2 may bug out on some git repo, where scripts complain about `^M`.
if so, run the following on the affected plugins in `~/.local/share/nvim/lazy`
```sh
git config core.autocrlf false
git reset --hard HEAD
```## Requires
- Nerdfont (for pretty text icon)
Download a nerdfont, paste in ~/.termux, and rename to `font.ttf`.
## Command to exit nvim
`:qa`
## License
MIT Licensed