Vim stuff
This commit is contained in:
parent
440ded63c5
commit
d2a6b0d3ad
2 changed files with 88 additions and 63 deletions
|
@ -2,11 +2,11 @@
|
||||||
FontFamily = "VictorMono Nerd Font"
|
FontFamily = "VictorMono Nerd Font"
|
||||||
DisableLigatures = false
|
DisableLigatures = false
|
||||||
|
|
||||||
Clipboard = true
|
Clipboard = false
|
||||||
|
|
||||||
SmoothScroll = true
|
SmoothScroll = true
|
||||||
|
|
||||||
IndentGuide = true
|
IndentGuide = false
|
||||||
|
|
||||||
ExtCmdline = true
|
ExtCmdline = true
|
||||||
ExtPopupmenu = true
|
ExtPopupmenu = true
|
||||||
|
|
|
@ -1,74 +1,93 @@
|
||||||
require("packer").startup({{
|
require("packer").startup(
|
||||||
-- plugin manager
|
|
||||||
"wbthomason/packer.nvim",
|
|
||||||
|
|
||||||
-- colors
|
|
||||||
{
|
{
|
||||||
"olimorris/onedark.nvim",
|
{
|
||||||
requires = "rktjmp/lush.nvim",
|
-- plugin manager
|
||||||
},
|
"wbthomason/packer.nvim",
|
||||||
|
|
||||||
-- syntax parsing
|
-- colors
|
||||||
"sheerun/vim-polyglot",
|
{
|
||||||
|
"olimorris/onedark.nvim",
|
||||||
|
requires = "rktjmp/lush.nvim",
|
||||||
|
},
|
||||||
|
|
||||||
-- underlines all words that match the word under the cursor
|
-- syntax parsing
|
||||||
"yamatsum/nvim-cursorline",
|
"sheerun/vim-polyglot",
|
||||||
|
|
||||||
-- helps to find cursor when it jumps a far distance
|
-- completion
|
||||||
{
|
"ervandew/supertab",
|
||||||
"edluffy/specs.nvim",
|
|
||||||
config = function()
|
|
||||||
require("specs").setup({
|
|
||||||
show_jumps = true,
|
|
||||||
min_jump = 30,
|
|
||||||
popup = {
|
|
||||||
delay_ms = 0,
|
|
||||||
inc_ms = 10,
|
|
||||||
blend = 10,
|
|
||||||
width = 30,
|
|
||||||
winhl = "PMenu",
|
|
||||||
fader = require("specs").pulse_fader,
|
|
||||||
resizer = require("specs").shrink_resizer,
|
|
||||||
},
|
|
||||||
ignore_filetypes = {},
|
|
||||||
ignore_buftypes = {
|
|
||||||
nofile = true,
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- highlights color codes with their color
|
-- commenting / uncommenting
|
||||||
{
|
"b3nj5m1n/kommentary",
|
||||||
"norcalli/nvim-colorizer.lua",
|
|
||||||
config = function()
|
|
||||||
require("colorizer").setup()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- automatically adds matching brackets, quotation marks, etc
|
-- highlights indent
|
||||||
{
|
{
|
||||||
"windwp/nvim-autopairs",
|
"lukas-reineke/indent-blankline.nvim",
|
||||||
config = function()
|
branch = "lua",
|
||||||
require("nvim-autopairs").setup()
|
},
|
||||||
end,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- finds errors & warnings in code
|
-- underlines all words that match the word under the cursor
|
||||||
"vim-syntastic/syntastic",
|
"yamatsum/nvim-cursorline",
|
||||||
|
|
||||||
-- tools for rust programming
|
-- helps to find cursor when it jumps a far distance
|
||||||
"rust-lang/rust.vim",
|
{
|
||||||
|
"edluffy/specs.nvim",
|
||||||
|
config = function()
|
||||||
|
require("specs").setup({
|
||||||
|
show_jumps = true,
|
||||||
|
min_jump = 30,
|
||||||
|
popup = {
|
||||||
|
delay_ms = 0,
|
||||||
|
inc_ms = 10,
|
||||||
|
blend = 10,
|
||||||
|
width = 30,
|
||||||
|
winhl = "PMenu",
|
||||||
|
fader = require("specs").pulse_fader,
|
||||||
|
resizer = require("specs").shrink_resizer,
|
||||||
|
},
|
||||||
|
ignore_filetypes = {},
|
||||||
|
ignore_buftypes = {
|
||||||
|
nofile = true,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- python formatter
|
-- highlights color codes with their color
|
||||||
{
|
{
|
||||||
"psf/black",
|
"norcalli/nvim-colorizer.lua",
|
||||||
run = ":BlackUpgrade",
|
config = function()
|
||||||
},
|
require("colorizer").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- discord rich presence
|
-- automatically adds matching brackets, quotation marks, etc
|
||||||
"andweeb/presence.nvim",
|
{
|
||||||
}})
|
"windwp/nvim-autopairs",
|
||||||
|
config = function()
|
||||||
|
require("nvim-autopairs").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- finds errors & warnings in code
|
||||||
|
"vim-syntastic/syntastic",
|
||||||
|
|
||||||
|
-- git integration
|
||||||
|
"tpope/vim-fugitive",
|
||||||
|
|
||||||
|
-- tools for rust programming
|
||||||
|
"rust-lang/rust.vim",
|
||||||
|
|
||||||
|
-- python formatter
|
||||||
|
{
|
||||||
|
"psf/black",
|
||||||
|
run = ":BlackUpgrade",
|
||||||
|
},
|
||||||
|
|
||||||
|
-- discord rich presence
|
||||||
|
"andweeb/presence.nvim",
|
||||||
|
},
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
-- Setting plugin-specific variables --
|
-- Setting plugin-specific variables --
|
||||||
|
|
||||||
|
@ -94,6 +113,12 @@ vim.o.background = "dark"
|
||||||
-- lush.nvim
|
-- lush.nvim
|
||||||
vim.g.colors_name = "onedark_nvim"
|
vim.g.colors_name = "onedark_nvim"
|
||||||
|
|
||||||
|
-- coc.nvim
|
||||||
|
vim.g.hidden = 1
|
||||||
|
vim.g.cmdheight = 2
|
||||||
|
vim.g.updatetime = 300
|
||||||
|
vim.g.signcolumn = "number"
|
||||||
|
|
||||||
-- syntastic
|
-- syntastic
|
||||||
vim.g.syntastic_always_populate_loc_list = 1
|
vim.g.syntastic_always_populate_loc_list = 1
|
||||||
vim.g.syntastic_auto_loc_list = 1
|
vim.g.syntastic_auto_loc_list = 1
|
||||||
|
|
Loading…
Reference in a new issue