Better instructions

This commit is contained in:
cool-mist
2024-04-07 00:50:52 +05:30
parent 1e3a6aab29
commit 3e57449f50
2 changed files with 10 additions and 8 deletions
+4 -6
View File
@@ -1,12 +1,12 @@
# Nvimconfigs #
My neovim settings. Contrary to popular opinion of breaking down your configs, this configuration is a single file because why not!! It is becoming very difficult to split them anyways with plugin dependencies on other settings, plugins defining keybinds in their setup and so on.
My neovim settings. Contrary to popular opinion of breaking down your configs, this configuration is a single file because why not!! It is very difficult to split them anyways with plugin dependencies on other plugins, plugins defining keybinds in their setup and so on.
This uses Lazy as the plugin manager.
# Prerequisites #
- Tested on Arch and Windows native. Should probably work on most linux distros.
- Tested on Arch and Windows native. Should probably work on both linux and windows.
- `neovim`
- `npm`
- `python`
@@ -15,19 +15,17 @@ This uses Lazy as the plugin manager.
- `go`
- `rust`
- `ripgrep` - for fuzzy searching
- `fzf` - for fuzzy searching
- `zk` - for notetaking
# Installation #
- `make install` if on linux.
- Otherwise, follow the manual process below
## Manually ##
Above command will take a backup of your current vim settings in `~/.config/nvim/init.lua` and installs the configs from this project. Therefore, to install manually, you can
- Download and place this manually as well in that location
- Download it elsewhere and create a symlink to this file
- Download and place this manually in that location. On windows, it is `$env:LocalAppData\nvim\init.lua`. On Linux, it is `~/.config/nvim/init.lua`.
# Post Install #
+6 -2
View File
@@ -189,7 +189,7 @@ lazy.setup({
}
},
-- Nvim-notify will be plugged into the default vim notify system for a
-- Nvim-notify will be plugged into the default vim notify system for a
-- better notification box
{
"rcarriga/nvim-notify",
@@ -464,6 +464,10 @@ lazy.setup({
V.keymap.set('n', '<leader>fe', V.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' })
V.keymap.set('n', '<leader>fd', V.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
V.keymap.set('n', '<leader>fe', V.diagnostic.open_float, { desc = 'Open diagnostic message on the line' })
-- Define some keybinding to build the current solution
V.keymap.set('n', '<leader>dtb', function()
V.cmd('!dotnet build')
end, { silent = true })
end,
})
end,
@@ -603,7 +607,7 @@ lazy.setup({
}
}
-- Below configuration tells how to launch a debugging interactive session for a C#
-- Below configuration tells how to launch a debugging interactive session for a C#
-- application when using the netcoredbg adapeter.
dap.configurations.cs = {
{