mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-27 22:01:45 +00:00
Compare commits
No commits in common. "29f9a4474c6e8e6a417a565ef5eedc8fc9d94840" and "5a074e6f82255374f5e62542be96f05cdfec4358" have entirely different histories.
29f9a4474c
...
5a074e6f82
16
README.md
16
README.md
@ -21,10 +21,12 @@ If you are experiencing issues, please make sure you have the latest versions.
|
|||||||
External Requirements:
|
External Requirements:
|
||||||
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
|
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
|
||||||
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
|
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
|
||||||
- A [Nerd Font](https://www.nerdfonts.com/): provides various icons
|
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
|
||||||
- Language utils: `rustup`, `npm`, `dotnet`, `python`
|
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
|
||||||
- Optionally, install [Alacritty](https://github.com/alacritty/alacritty#installation)
|
- Language Setup:
|
||||||
- Or on Windows, just install using `winget install alacritty --source winget`
|
- If want to write Typescript, you need `npm`
|
||||||
|
- If want to write Golang, you will need `go`
|
||||||
|
- etc.
|
||||||
|
|
||||||
> **NOTE**
|
> **NOTE**
|
||||||
> See [Windows Installation](#Windows-Installation) to double check any additional Windows notes
|
> See [Windows Installation](#Windows-Installation) to double check any additional Windows notes
|
||||||
@ -44,7 +46,7 @@ Clone it from GitHub:
|
|||||||
<details><summary> Linux and Mac </summary>
|
<details><summary> Linux and Mac </summary>
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/Baipyrus/nvim-config.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
git clone https://github.com/dam9000/kickstart-modular.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@ -67,10 +69,6 @@ git clone https://github.com/Baipyrus/nvim-config.git $env:USERPROFILE\AppData\L
|
|||||||
|
|
||||||
### Post Installation
|
### Post Installation
|
||||||
|
|
||||||
<details><summary> Extras for Linux and Mac </summary>
|
|
||||||
In the [`options`](./lua/options.lua) file, change the settings to specify the terminal of your choice. This installation is used and maintained by a Windows user and, as such, will use Powershell. This setting may need to be updated after each upgrade.
|
|
||||||
</details>
|
|
||||||
|
|
||||||
Start Neovim
|
Start Neovim
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
@ -43,9 +43,6 @@ vim.keymap.set('n', '<leader>cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]
|
|||||||
-- Switch in fugitive.vim status window with the current one
|
-- Switch in fugitive.vim status window with the current one
|
||||||
vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus' })
|
vim.keymap.set('n', '<leader>gs', '<cmd>Gedit :<cr>', { desc = '[G]it [S]tatus' })
|
||||||
|
|
||||||
-- Delete current buffer without closing window
|
|
||||||
vim.keymap.set('n', '<leader>bd', '<cmd>bp<bar>sp<bar>bn<bar>bd<cr>', { desc = '[B]uffer [D]elete' })
|
|
||||||
|
|
||||||
-- [[ Basic Autocommands ]]
|
-- [[ Basic Autocommands ]]
|
||||||
-- See `:help lua-guide-autocommands`
|
-- See `:help lua-guide-autocommands`
|
||||||
|
|
||||||
|
@ -29,10 +29,10 @@ return {
|
|||||||
vim.keymap.set('n', '<F1>', dap.step_into, { desc = 'Debug: Step Into' })
|
vim.keymap.set('n', '<F1>', dap.step_into, { desc = 'Debug: Step Into' })
|
||||||
vim.keymap.set('n', '<F2>', dap.step_over, { desc = 'Debug: Step Over' })
|
vim.keymap.set('n', '<F2>', dap.step_over, { desc = 'Debug: Step Over' })
|
||||||
vim.keymap.set('n', '<F3>', dap.step_out, { desc = 'Debug: Step Out' })
|
vim.keymap.set('n', '<F3>', dap.step_out, { desc = 'Debug: Step Out' })
|
||||||
vim.keymap.set('n', '<leader>B', dap.toggle_breakpoint, { desc = 'Debug: Toggle Breakpoint' })
|
vim.keymap.set('n', '<leader>b', dap.toggle_breakpoint, { desc = 'Debug: Toggle Breakpoint' })
|
||||||
vim.keymap.set('n', '<leader>bs', function()
|
vim.keymap.set('n', '<leader>B', function()
|
||||||
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
|
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
|
||||||
end, { desc = 'Debug: [B]reakpoint [S]et' })
|
end, { desc = 'Debug: Set Breakpoint' })
|
||||||
|
|
||||||
-- Dap UI setup
|
-- Dap UI setup
|
||||||
dapui.setup {
|
dapui.setup {
|
||||||
|
@ -23,9 +23,6 @@ require('lazy').setup({
|
|||||||
'tpope/vim-fugitive',
|
'tpope/vim-fugitive',
|
||||||
'tpope/vim-rhubarb',
|
'tpope/vim-rhubarb',
|
||||||
|
|
||||||
-- Processing-Java
|
|
||||||
'sophacles/vim-processing',
|
|
||||||
|
|
||||||
-- Smooth scroll plugin and keymaps
|
-- Smooth scroll plugin and keymaps
|
||||||
{
|
{
|
||||||
'karb94/neoscroll.nvim',
|
'karb94/neoscroll.nvim',
|
||||||
|
Loading…
Reference in New Issue
Block a user