Compare commits
No commits in common. "ba8bd22858cea30726a6c487d1901151aae87ba1" and "25a930d33006b2cc16539cf0e385c6c6a8de6d43" have entirely different histories.
ba8bd22858
...
25a930d330
32
README.md
32
README.md
@ -1,32 +0,0 @@
|
|||||||
# My NeoVim configuration
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
- NeoVim
|
|
||||||
- [Packer](https://github.com/wbthomason/packer.nvim)
|
|
||||||
|
|
||||||
To install packer run
|
|
||||||
```bash
|
|
||||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
||||||
```
|
|
||||||
|
|
||||||
To run LSP (autocomplete) you will also need the server for that language.
|
|
||||||
Currently, the languages servers that are configured are:
|
|
||||||
- bash (bashls)
|
|
||||||
- c/c++ (ccls)
|
|
||||||
- prisma (prismals)
|
|
||||||
- python (pylsp)
|
|
||||||
- rust (rust_analyzer)
|
|
||||||
- svelte (sveltelsp)
|
|
||||||
- tex (ltex)
|
|
||||||
- ts (tsserver)
|
|
||||||
- vlang (vls)
|
|
||||||
- zig (zls)
|
|
||||||
|
|
||||||
## Some useful shortcuts
|
|
||||||
- ' f': Find files uses fuzzy finding to search for files in the folder you are currently are
|
|
||||||
- ' /': Search the files using grep
|
|
||||||
- '<C-F>': Open file structure
|
|
||||||
- 'gd': Goto definition
|
|
||||||
- 'K': Show call signature
|
|
||||||
- ']d': Goto next error
|
|
||||||
- '[d': Goto previous error
|
|
@ -12,11 +12,11 @@ vim.opt.background = 'dark'
|
|||||||
-- vim.g.cyberpunk_cursorline='black'
|
-- vim.g.cyberpunk_cursorline='black'
|
||||||
|
|
||||||
-- vim.cmd('colorscheme ayu')
|
-- vim.cmd('colorscheme ayu')
|
||||||
vim.cmd('colorscheme night_owl_light')
|
-- vim.cmd('colorscheme night_owl_light')
|
||||||
-- vim.cmd('colorscheme eva01')
|
-- vim.cmd('colorscheme eva01')
|
||||||
-- vim.cmd('colorscheme cyberpunk')
|
-- vim.cmd('colorscheme cyberpunk')
|
||||||
-- vim.cmd('colorscheme catppuccin-latte')
|
-- vim.cmd('colorscheme catppuccin-latte')
|
||||||
-- vim.cmd('colorscheme oxocarbon')
|
vim.cmd('colorscheme oxocarbon')
|
||||||
|
|
||||||
-- examples for your init.lua
|
-- examples for your init.lua
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ keymap("n", "]E", function()
|
|||||||
require("lspsaga.diagnostic").goto_next({ severity = vim.diagnostic.severity.ERROR })
|
require("lspsaga.diagnostic").goto_next({ severity = vim.diagnostic.severity.ERROR })
|
||||||
end, { silent = true })
|
end, { silent = true })
|
||||||
|
|
||||||
-- keymap("n","<leader>o", "<cmd>LSoutlineToggle<CR>",{ silent = true })
|
keymap("n","<leader>o", "<cmd>LSoutlineToggle<CR>",{ silent = true })
|
||||||
keymap("n", "K", "<cmd>Lspsaga hover_doc<CR>", { silent = true })
|
keymap("n", "K", "<cmd>Lspsaga hover_doc<CR>", { silent = true })
|
||||||
keymap("n", "<A-d>", "<cmd>Lspsaga open_floaterm<CR>", { silent = true })
|
keymap("n", "<A-d>", "<cmd>Lspsaga open_floaterm<CR>", { silent = true })
|
||||||
keymap("n", "<A-d>", "<cmd>Lspsaga open_floaterm lazygit<CR>", { silent = true })
|
keymap("n", "<A-d>", "<cmd>Lspsaga open_floaterm lazygit<CR>", { silent = true })
|
||||||
|
@ -12,6 +12,7 @@ return require('packer').startup(function()
|
|||||||
use 'thedenisnikulin/vim-cyberpunk'
|
use 'thedenisnikulin/vim-cyberpunk'
|
||||||
use { "catppuccin/nvim", as = "catppuccin" }
|
use { "catppuccin/nvim", as = "catppuccin" }
|
||||||
use {'nyoom-engineering/oxocarbon.nvim'}
|
use {'nyoom-engineering/oxocarbon.nvim'}
|
||||||
|
use "nyngwang/nvimgelio"
|
||||||
|
|
||||||
-- other stuff
|
-- other stuff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user