https://github.com/erslee/smart-definition.nvim
Smart Definition is a Neovim plugin that does only one thing: it jumps to the file with the definition already opened in another window if it is open.
https://github.com/erslee/smart-definition.nvim
lua neovim neovim-lua-plugin nvim nvim-plugin
Last synced: 2 months ago
JSON representation
Smart Definition is a Neovim plugin that does only one thing: it jumps to the file with the definition already opened in another window if it is open.
- Host: GitHub
- URL: https://github.com/erslee/smart-definition.nvim
- Owner: erslee
- Created: 2025-04-04T10:12:15.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-04T10:18:41.000Z (about 1 year ago)
- Last Synced: 2025-04-09T18:04:16.676Z (about 1 year ago)
- Topics: lua, neovim, neovim-lua-plugin, nvim, nvim-plugin
- Language: Lua
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Smart Definition
Smart Definition is a Neovim plugin that does only one thing: it jumps to the file with the definition already opened in another window if it is open.
## Features
- On `gd` jump to already opened window if exists, if not, works as usual.
## Installation
Using [vim-plug](https://github.com/junegunn/vim-plug):
```vim
Plug 'erslee/smart-definition.nvim'
```
## License
This project is licensed under the MIT License.