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"
|
||||
DisableLigatures = false
|
||||
|
||||
Clipboard = true
|
||||
Clipboard = false
|
||||
|
||||
SmoothScroll = true
|
||||
|
||||
IndentGuide = true
|
||||
IndentGuide = false
|
||||
|
||||
ExtCmdline = true
|
||||
ExtPopupmenu = true
|
||||
|
|
|
@ -1,74 +1,93 @@
|
|||
require("packer").startup({{
|
||||
-- plugin manager
|
||||
"wbthomason/packer.nvim",
|
||||
|
||||
-- colors
|
||||
require("packer").startup(
|
||||
{
|
||||
"olimorris/onedark.nvim",
|
||||
requires = "rktjmp/lush.nvim",
|
||||
},
|
||||
{
|
||||
-- plugin manager
|
||||
"wbthomason/packer.nvim",
|
||||
|
||||
-- syntax parsing
|
||||
"sheerun/vim-polyglot",
|
||||
-- colors
|
||||
{
|
||||
"olimorris/onedark.nvim",
|
||||
requires = "rktjmp/lush.nvim",
|
||||
},
|
||||
|
||||
-- underlines all words that match the word under the cursor
|
||||
"yamatsum/nvim-cursorline",
|
||||
-- syntax parsing
|
||||
"sheerun/vim-polyglot",
|
||||
|
||||
-- helps to find cursor when it jumps a far distance
|
||||
{
|
||||
"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,
|
||||
},
|
||||
-- completion
|
||||
"ervandew/supertab",
|
||||
|
||||
-- highlights color codes with their color
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup()
|
||||
end,
|
||||
},
|
||||
-- commenting / uncommenting
|
||||
"b3nj5m1n/kommentary",
|
||||
|
||||
-- automatically adds matching brackets, quotation marks, etc
|
||||
{
|
||||
"windwp/nvim-autopairs",
|
||||
config = function()
|
||||
require("nvim-autopairs").setup()
|
||||
end,
|
||||
},
|
||||
-- highlights indent
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
branch = "lua",
|
||||
},
|
||||
|
||||
-- finds errors & warnings in code
|
||||
"vim-syntastic/syntastic",
|
||||
-- underlines all words that match the word under the cursor
|
||||
"yamatsum/nvim-cursorline",
|
||||
|
||||
-- tools for rust programming
|
||||
"rust-lang/rust.vim",
|
||||
-- helps to find cursor when it jumps a far distance
|
||||
{
|
||||
"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
|
||||
{
|
||||
"psf/black",
|
||||
run = ":BlackUpgrade",
|
||||
},
|
||||
-- highlights color codes with their color
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup()
|
||||
end,
|
||||
},
|
||||
|
||||
-- discord rich presence
|
||||
"andweeb/presence.nvim",
|
||||
}})
|
||||
-- automatically adds matching brackets, quotation marks, etc
|
||||
{
|
||||
"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 --
|
||||
|
||||
|
@ -94,6 +113,12 @@ vim.o.background = "dark"
|
|||
-- lush.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
|
||||
vim.g.syntastic_always_populate_loc_list = 1
|
||||
vim.g.syntastic_auto_loc_list = 1
|
||||
|
|
Loading…
Reference in a new issue