statusline.lua
.config
statusline.lua | .config | |
---|---|---|
7 | 13 | |
197 | 19 | |
- | - | |
4.2 | 9.3 | |
21 days ago | 4 days ago | |
Lua | Lua | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
statusline.lua
- Show me your statusline! Big plus if you wrote it yourself :)
-
Introducing vacuumline, a pure Lua statusline inspired by airline
I made this statusline plugin for the same purpose :) Clean and minimal, with everything you need and zero config required.
-
Here are my recently cleaned up/refactored, lua-based neovim dotfiles. Enjoy!
Funny enough I use _ for my own statusline.lua plugin
-
Resources for creating custom statusline and bufferline.
My code is rookie af right now. So it should be fairly easy to have a read through and understand how it works :) statusline.lua
-
I made a Status line from scratch. No plugins used.
Cool! I recently made one myself too. Ended up releasing it so you can install it right away. I plan to remove dependencies in the future and make the codebase far less cruddy :) https://github.com/beauwilliams/statusline.lua
-
People who rewrote their init.nvim in lua, was it worth it?
Yes, not at first, but now I am comfortable with lua. It makes things much easier to script. This is probably the first time in my life where I have appreciated a language for its ergonomics. As I am still just a 2nd year uni student. I even ended up writing my own statusline plugin!
-
Resources on how to create your own init.lua
I even ended up releasing my own statusline plugin to try and get the hang of things. (shameless plug 😜) --> https://github.com/beauwilliams/statusline.lua
.config
-
Can anyone recommend a good github dotfiles repos for neovim that uses LazyVim as it's plugin manager?
I've done my best to keep my config simple and sane: https://github.com/heygarrett/.config/tree/main/nvim
-
"set noet" ignored in python files
One option the docs don't list is using an autocommand, which is what I do because I overrule the indentation options for all file types.
-
Trouble detecting shiftwidth correctly
I use a combination of guess-indent.nvim and :h listchars. Here's how I use them together in my config.
-
nvim: coq vs cmp
I even wrote my own autocmd for auto-completion, which was a lot of fun and helped me learn a lot about Neovim. Together with nvim-snippy it meets all of my needs (so far).
-
Show me your statusline! Big plus if you wrote it yourself :)
I'm late to the party, but I did configure my statusline without a plugin: - Screenshot - Config
-
What completion method should i try first
I added an autocmd to make it automatic.
-
It’s worth it to learn how a feature works before installing a plugin claiming to make that feature better.
I learned a lot, and I created my own automated workflow for sessions that I’m quite happy about. I think the best part is it may not cover every use case I encounter, which means I get to keep learning and I get to become more familiar with a tool I use daily.
-
Here’s a function to grab the name of the current git branch with Lua
I use this in my custom statusline config, which you can see here.
-
Is there an equivalent to :setlocal {option}< using Lua?
This is how I currently configure my indentation. The autocmd overrides anything set by the ftplugin files during startup, and that's the easiest method I've found keep my preferences across every file type.
-
Tab in vim always shifts by 2 spaces for c and c++ files.
I think the built-in filetype plugin files are sourced after your vimrc. I got around this by adding an autocmd to re-set my indentation preferences after the ftplugins are loaded.
What are some alternatives?
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
galaxyline.nvim - neovim statusline plugin written in lua
nvim - Neovim configuration
vacuumline.nvim - A prebuilt configuration for galaxyline inspired by airline
nvim-lazyman - Neovim configuration manager and Lazy/Lua/Mason based Neovim config. Manage multiple Neovim configurations with the lazyman command. ☕
bufferline.nvim - A snazzy bufferline for Neovim
wiirdle - Wordle clone for the Wii, powered by WiiLÖVE
white-chocolate.nvim - An opinionated bright, redshift-friendly, modular and vibrant theme for neovim that includes a colorscheme. It strives to be: simple, light, functional and familiar.
nvim-config - Generalized and Personalized
dotfiles - Configuring the universe with Nix.
indent-o-matic - Dumb automatic fast indentation detection for Neovim written in Lua