Compare commits

...

3 Commits

Author SHA1 Message Date
Michel 5a928c3478 docs: fix 2024-03-26 18:12:10 +01:00
Michel d1e2f84150 chore: upgrade node & python 2024-03-26 18:11:52 +01:00
Michel 15727d0c0d feat(flash): disable search mode 2024-03-26 18:10:56 +01:00
4 changed files with 26 additions and 14 deletions

View File

@ -1,5 +1,5 @@
direnv 2.33.0 direnv 2.33.0
# NOTE: Path to nodejs is hardcoded in init.lua # NOTE: Path to nodejs is hardcoded in init.lua
nodejs 21.6.0 nodejs 21.6.2
# TODO: Don't use version matching system # TODO: Don't use version matching system
python 3.11.7 python 3.11.8

View File

@ -13,18 +13,20 @@ M-p / M-n
## TL;DR ## TL;DR
```sh ```sh
git clone https://forge.chapril.org/michel_ouba/LazyVim.git ~/.config/nvim git clone https://forge.chapril.org/michel_ouba/LazyVim.git ~/.config/nvim
``` cd ~/.config/nvim
direnv allow
```
## Make a backup of your current Neovim files: ## Make a backup of your current Neovim files:
```sh ```sh
# required # required
mv ~/.config/nvim{,.bak} mv ~/.config/nvim{,.bak}
# optional but recommended # optional but recommended
mv ~/.local/share/nvim{,.bak} mv ~/.local/share/nvim{,.bak}
mv ~/.local/state/nvim{,.bak} mv ~/.local/state/nvim{,.bak}
mv ~/.cache/nvim{,.bak} mv ~/.cache/nvim{,.bak}
``` ```

View File

@ -3,7 +3,7 @@
-- Use Node from ASDF -- Use Node from ASDF
-- TODO: Use neovim config -- TODO: Use neovim config
vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/21.6.0/bin/" .. ":" .. vim.env.PATH vim.env.PATH = vim.env.HOME .. "/.asdf/installs/nodejs/21.6.2/bin/" .. ":" .. vim.env.PATH
-- Use Python from neoovim "config" folder -- Use Python from neoovim "config" folder
local python_root = vim.fn.glob(vim.fn.stdpath("config") .. "/.direnv/python*", true, true)[1] local python_root = vim.fn.glob(vim.fn.stdpath("config") .. "/.direnv/python*", true, true)[1]

View File

@ -1,4 +1,14 @@
return { return {
{
"folke/flash.nvim",
opts = {
modes = {
search = { enabled = false },
},
},
},
{ {
"Darazaki/indent-o-matic", "Darazaki/indent-o-matic",
event = "LazyFile", event = "LazyFile",