mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-27 05:41:45 +00:00
Compare commits
8 Commits
5a074e6f82
...
29f9a4474c
Author | SHA1 | Date | |
---|---|---|---|
29f9a4474c | |||
3b4111f2ab | |||
ab9d2a7147 | |||
b0e16993a6 | |||
af52a45ee2 | |||
1849485415 | |||
daf47385ec | |||
2714fee412 |
16
README.md
16
README.md
@ -21,12 +21,10 @@ If you are experiencing issues, please make sure you have the latest versions.
|
||||
External Requirements:
|
||||
- Basic utils: `git`, `make`, `unzip`, C Compiler (`gcc`)
|
||||
- [ripgrep](https://github.com/BurntSushi/ripgrep#installation)
|
||||
- A [Nerd Font](https://www.nerdfonts.com/): optional, provides various icons
|
||||
- if you have it set `vim.g.have_nerd_font` in `init.lua` to true
|
||||
- Language Setup:
|
||||
- If want to write Typescript, you need `npm`
|
||||
- If want to write Golang, you will need `go`
|
||||
- etc.
|
||||
- A [Nerd Font](https://www.nerdfonts.com/): provides various icons
|
||||
- Language utils: `rustup`, `npm`, `dotnet`, `python`
|
||||
- Optionally, install [Alacritty](https://github.com/alacritty/alacritty#installation)
|
||||
- Or on Windows, just install using `winget install alacritty --source winget`
|
||||
|
||||
> **NOTE**
|
||||
> See [Windows Installation](#Windows-Installation) to double check any additional Windows notes
|
||||
@ -46,7 +44,7 @@ Clone it from GitHub:
|
||||
<details><summary> Linux and Mac </summary>
|
||||
|
||||
```sh
|
||||
git clone https://github.com/dam9000/kickstart-modular.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||
git clone https://github.com/Baipyrus/nvim-config.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
|
||||
```
|
||||
|
||||
</details>
|
||||
@ -69,6 +67,10 @@ git clone https://github.com/Baipyrus/nvim-config.git $env:USERPROFILE\AppData\L
|
||||
|
||||
### 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
|
||||
|
||||
```sh
|
||||
|
@ -43,6 +43,9 @@ vim.keymap.set('n', '<leader>cd', ':cd ', { desc = 'Prepare CMD for [C]hange [D]
|
||||
-- Switch in fugitive.vim status window with the current one
|
||||
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 ]]
|
||||
-- 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', '<F2>', dap.step_over, { desc = 'Debug: Step Over' })
|
||||
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', function()
|
||||
vim.keymap.set('n', '<leader>B', dap.toggle_breakpoint, { desc = 'Debug: Toggle Breakpoint' })
|
||||
vim.keymap.set('n', '<leader>bs', function()
|
||||
dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ')
|
||||
end, { desc = 'Debug: Set Breakpoint' })
|
||||
end, { desc = 'Debug: [B]reakpoint [S]et' })
|
||||
|
||||
-- Dap UI setup
|
||||
dapui.setup {
|
||||
|
@ -23,6 +23,9 @@ require('lazy').setup({
|
||||
'tpope/vim-fugitive',
|
||||
'tpope/vim-rhubarb',
|
||||
|
||||
-- Processing-Java
|
||||
'sophacles/vim-processing',
|
||||
|
||||
-- Smooth scroll plugin and keymaps
|
||||
{
|
||||
'karb94/neoscroll.nvim',
|
||||
|
Loading…
Reference in New Issue
Block a user