Better instructions
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
# Nvimconfigs #
|
# 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.
|
This uses Lazy as the plugin manager.
|
||||||
|
|
||||||
# Prerequisites #
|
# 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`
|
- `neovim`
|
||||||
- `npm`
|
- `npm`
|
||||||
- `python`
|
- `python`
|
||||||
@@ -15,19 +15,17 @@ This uses Lazy as the plugin manager.
|
|||||||
- `go`
|
- `go`
|
||||||
- `rust`
|
- `rust`
|
||||||
- `ripgrep` - for fuzzy searching
|
- `ripgrep` - for fuzzy searching
|
||||||
- `fzf` - for fuzzy searching
|
|
||||||
- `zk` - for notetaking
|
|
||||||
|
|
||||||
# Installation #
|
# Installation #
|
||||||
|
|
||||||
- `make install` if on linux.
|
- `make install` if on linux.
|
||||||
|
- Otherwise, follow the manual process below
|
||||||
|
|
||||||
## Manually ##
|
## 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
|
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 and place this manually in that location. On windows, it is `$env:LocalAppData\nvim\init.lua`. On Linux, it is `~/.config/nvim/init.lua`.
|
||||||
- Download it elsewhere and create a symlink to this file
|
|
||||||
|
|
||||||
# Post Install #
|
# Post Install #
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
-- better notification box
|
||||||
{
|
{
|
||||||
"rcarriga/nvim-notify",
|
"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>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>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' })
|
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,
|
||||||
})
|
})
|
||||||
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.
|
-- application when using the netcoredbg adapeter.
|
||||||
dap.configurations.cs = {
|
dap.configurations.cs = {
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user