A nvim config with no plugins, but with everything 99% of users need
- Lua 97.7%
- Shell 2.3%
| EMACS | found some llm made nvim config that simulates emacs, will try it, if | |
| Extra | Update Extra/Put.lua | |
| media | updated readme | |
| neovim | found some llm made nvim config that simulates emacs, will try it, if | |
| vim | Delete vim/vim | |
| init.lua | Add init.lua | |
| README.md | readme added point for sorround | |
| setup.sh | i gathered eveything into one lua file | |
| TAGS | moved fennel | |
CuteVim
My vim and neovim config stuff
- Quickfix is used for a lot, some of those things as of right now is:
- Diagnosticnavigation (leader 1) M-o to open qflist and C-q to close it
- Marked files navigation like harpoon (M-h to add a file, M-d to delete a file, Alt n and m to go back and forth or leader 2 to add to a qflist and then you can use C-j and k to navigate the list or use the visual mlist)
- Open buffer navigation with leader 3 then the qflist navigation binds to bo back and forth or C-n to go to next file
- Lastly for now leader 0 clears the qflist
- A float terminal on leader t (C-u to exit insert mode when in terminal mode, you can close the terminal with the close buffer bind (C-c) or left (:q), with :q you have the terminal as a buffer, it only closes the popup)
- A fzf file picker on leader ff or the up arrow
- A netrw filetree (Lex is bind to the down arrow)
- Autocompletions with the builtin completions
- Supports lsp completion suggestions and the other default nvim ones like path completion
- An easy lsp setup
- A COLORSCHEME made for me, but also to be minimal and easy to see the important bits, inspired by tsodings scheme and memories of nord on vim
- Emacs like completions in the commandline that is like a fuzzy completion
- A diagnostic icon in the signcolumn and bar on the bottom (cmdhight 1) toggle with M-|
- Other stuff as well, so explore and try stuff
-
(Please tell if something breaks, make an issue, something and tell me)
-
This is NOT final and may change many times a day or once a year
To see more about the colorscheme and some examples click HERE
Screenshots
Some pictures to show some stuff
lsp box and signs harpoon like qf usage where you can save a set of files to the list and navigate them lsp autocompletionsuggestions fzf file picker
The fzf and popup terminal is from Tanuharja, R.A. and I do not take any credit from that. I've only slightly modified it and removed eveything i don't need
-
This configuration is a minimal one and only works with neovim 0.12.0 and up, so for now neovim nightly.
-
The goal I had was to make a configuration that's the same no matter which enviroment I'm in and if I can't just willy nilly install random plugins i would need to have the same setup. Therefore I made this.
-
For LSPs it's just a manual setup, where it says which LSP and to enable it on which files.
-
I've been using CMP for a while now for completions, but after i removed it I noticed that it's not needed at all and that the builtin completions can be custumised a lot and made to my prefrence.
-
For command line fuzzy autocompletion I got a tips from someone in a community and uses what he recemmended, which makes it so I don't have to manually write the whole commands, this makes things like find super fast to use. Just hit to go to the next option and it auto fills it or you could go back to not use what sugested.
-
The colourscheme is self made and made to fit my needs. As such it will be expanded when I notice if anythings missing or someone asks me to add it.
Video preview
This is a link to a video showcase on youtube, a short one just to let you see how it looks and a small behaviour
Things to implement
- A git indicator
- With changed line, modified file and more
- An overview of keybinds
- More qflist stuff, need 1-9 and now 1-3 and 0
- overall better completions (with LSPs in mind)
Things I have implemented since beginning to document it
- A colourschme
- Autocompletion (with extra in the commandline and works with a lsp)
- Diagnostics and LSP warnings (can navigate and open qflist with space 1)
- A fuzzy file picker (has external dependency on fzf)
- QuickFixList usage for bufferswitching and a harpoon like thing
- Some autocmd for autobufferformat, attatch lsp etc
- Can highlight text in visual mode and hit <({['" to sorround selcted text with that