This plugin is the exact implementation of headwind vs code extension Headwind.nvim is a modern and lightweight Neovim plugin designed to streamline your development workflow. It provides a seamless experience for managing and organizing your code, offering powerful features to enhance productivity and code quality.
- Code Organization: Automatically sort and organize your code for better readability.
- Customizable: Tailor the plugin to fit your specific needs with flexible configuration options.
- Lightweight: Minimal performance overhead, ensuring a smooth and fast coding experience.
- Seamless Integration: Works effortlessly with your existing Neovim setup.
Using packer.nvim
Add the following to your init.lua or init.vim:
use {
'gwydion67/headwind.nvim',
config = function()
require('headwind').setup({
-- Add your configuration here
})
end
}Using lazy.nvim
Add the following to your init.lua:
require('lazy').setup({
{
'gwydion67/headwind.nvim',
config = function()
require('headwind').setup({
-- Add your configuration here
})
end
}
})Using vim-plug
Add the following to your .vimrc or init.vim:
Plug 'gwydion67/headwind.nvim'
" After installation, configure the plugin
lua << EOF
require('headwind').setup({
-- Add your configuration here
})
EOFOnce installed, Headwind.nvim can be triggered using the following commands:
:HeadwindSort- Automatically sort and organize your code.:HeadwindConfig- Open the configuration file for customization.
You can also map these commands to your preferred keybindings for quick access.
Headwind.nvim provides a simple and intuitive configuration interface. Below is an example configuration:
require('headwind').setup({
sort_order = 'alphabetical', -- Options: 'alphabetical', 'custom'
enable_logging = true, -- Enable or disable logging
custom_sort = { -- Define your custom sort order
'imports',
'constants',
'functions',
'variables'
}
})Contributions are welcome! If you encounter any issues or have feature requests, feel free to open an issue or submit a pull request on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for details.
Special thanks to the Neovim community for their continuous support and inspiration.
Elevate your Neovim experience with Headwind.nvim and enjoy a more organized and efficient coding workflow!