updated readme
This commit is contained in:
parent
c2d52b9962
commit
c15c984730
64
README.md
64
README.md
@ -1,58 +1,26 @@
|
|||||||
# Neovim Configuration
|
# Neovim Configuration
|
||||||
|
|
||||||
A clean, modular Neovim setup focused on TypeScript/JavaScript development.
|
Modular Neovim setup for TypeScript/JavaScript development.
|
||||||
|
|
||||||
## Structure
|
## Installation
|
||||||
|
|
||||||
```
|
```bash
|
||||||
~/.config/nvim/
|
# Clone to config directory
|
||||||
├── init.lua # Entry point
|
git clone <repo-url> ~/.config/nvim
|
||||||
└── lua/
|
|
||||||
├── core/
|
# Symlink dotfiles (optional)
|
||||||
│ ├── options.lua # Vim settings
|
./setup.sh
|
||||||
│ └── keymaps.lua # Key bindings
|
|
||||||
└── plugins/
|
# Launch Neovim - plugins install automatically
|
||||||
└── plugin.lua # Plugin specs & configs
|
nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Package Manager**: lazy.nvim
|
- LSP with TypeScript/JavaScript support
|
||||||
- **Color Scheme**: Catppuccin Mocha
|
- Autocompletion and snippets
|
||||||
- **File Explorer**: nvim-tree
|
- Telescope fuzzy finder
|
||||||
- **Fuzzy Finder**: Telescope
|
- Treesitter syntax highlighting
|
||||||
- **LSP**: Mason + nvim-lspconfig
|
- Format-on-save with Prettier
|
||||||
- **Autocompletion**: nvim-cmp with LSP support
|
|
||||||
- **Syntax**: Treesitter
|
|
||||||
- **Formatter**: Conform (Prettier)
|
|
||||||
- **Snippets**: LuaSnip + friendly-snippets
|
|
||||||
|
|
||||||
## Key Bindings
|
|
||||||
|
|
||||||
Leader key: `<Space>`
|
Leader key: `<Space>`
|
||||||
|
|
||||||
| Key | Action |
|
|
||||||
|-----|--------|
|
|
||||||
| `<leader>e` | Toggle file explorer |
|
|
||||||
| `<leader>ff` | Find files |
|
|
||||||
| `<leader>fg` | Live grep |
|
|
||||||
| `<leader>fb` | Find buffers |
|
|
||||||
| `<leader>w` | Save |
|
|
||||||
| `<leader>q` | Quit |
|
|
||||||
| `<C-h/j/k/l>` | Navigate windows |
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
1. Clone this repo to `~/.config/nvim`
|
|
||||||
2. Open Neovim - plugins will install automatically
|
|
||||||
3. Restart Neovim
|
|
||||||
|
|
||||||
## LSP Servers
|
|
||||||
|
|
||||||
Mason will auto-install:
|
|
||||||
- ts_ls (TypeScript)
|
|
||||||
- eslint
|
|
||||||
- jsonls
|
|
||||||
- html
|
|
||||||
- cssls
|
|
||||||
- tailwindcss
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user