several small updates

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-02 23:51:15 -05:00
parent 545b3d492f
commit b0c61768db
9 changed files with 432 additions and 415 deletions

View file

@ -14,6 +14,7 @@ nix run 'github:ringofstorms/nvim/nix-flake'
```
in NixOS
```nix
-- in flake.nix#inputs
ringofstorms-nvim = {
@ -26,8 +27,8 @@ environment.systemPackages = with pkgs; [
];
```
### Without Nix
TODO update this section
- Must have all required programs installed and available on path
@ -35,18 +36,23 @@ TODO update this section
- Evertying listed in flake.nix `runtime dependencies` variable near the top of the file
- These must be available on the path
- Treesitter/Lazy/Mason will install all other requirements needed on other systems
```sh
git clone https://github.com/RingOfStorms/nvim ~/.config/nvim
nvim --headless "+Lazy! sync" +qa
```
Backup existing config:
```sh
DATE=$(date +"%Y%m%d")
mv ~/.config/nvim ~/.config/nvim_$DATE.bak
mv ~/.local/share/nvim ~/.local/share/nvim_$DATE.bak
mv ~/.local/state/nvim ~/.local/state/nvim_$DATE.bak
```
or remove existing config:
```sh
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
@ -55,21 +61,26 @@ rm -rf ~/.local/state/nvim
## NOTES/TODOS
- h/l movement broken in insert mode, probably due to cmp hotkeys
- h/l in telescope
- arrows still work in insert mode and telescope, need to remove trying to break arrow key habit
FUTURE
- Make a new HTTP plugin for running curl commands from .http files
- similar to est-nvim/rest.nvim but support streaming etc and show command output
- Execute selected command and open output into a buffer/popup window? <leader>cx
- generate command, like scratch open a popup of things that can be generated. UUID/other stuff?
- https://github.com/mawkler/nvim/blob/06cde9dbaedab2bb36c06025c07589c93d2c6d6b/lua/configs/luasnip.lua#L37-L50
- <https://github.com/mawkler/nvim/blob/06cde9dbaedab2bb36c06025c07589c93d2c6d6b/lua/configs/luasnip.lua#L37-L50>
- Checkout cargo-bloat, cargo-cache, cargo-outdated - memcache sccache
- For scratches, just make an input box for custom extension rather than predefined list
- freaking learn to use surround more often https://github.com/tpope/vim-surround/tree/master
- freaking learn to use surround more often <https://github.com/tpope/vim-surround/tree/master>
- make my own session saving impl
- Only save visible buffers/tabs/splits
- per branch per directory
- something like https://github.com/gennaro-tedesco/nvim-possession/tree/main but fully managed
- something like <https://github.com/gennaro-tedesco/nvim-possession/tree/main> but fully managed
- copilot? local llm?
- check out
- https://github.com/onsails/lspkind.nvim
- https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-align.md
- https://github.com/tpope/vim-abolish
- <https://github.com/onsails/lspkind.nvim>
- <https://github.com/echasnovski/mini.nvim/blob/main/readmes/mini-align.md>
- <https://github.com/tpope/vim-abolish>