88 lines
2.6 KiB
Lua
88 lines
2.6 KiB
Lua
local vim = vim
|
|
local Plug = vim.fn["plug#"]
|
|
|
|
-- ========================================================== BEGIN = PLUGINS ===================
|
|
vim.call("plug#begin")
|
|
-- require("config.plugins")
|
|
-- Shorthand notation for GitHub; translates to https://github.com/junegunn/seoul256.vim.git
|
|
-- Plug("junegunn/seoul256.vim")
|
|
Plug("nanotech/jellybeans.vim")
|
|
Plug("datsfilipe/vesper.nvim")
|
|
|
|
-- Any valid git URL is allowed
|
|
Plug("junegunn/vim-easy-align")
|
|
|
|
-- Post-update hook: run a shell command after installing or updating the plugin
|
|
Plug("junegunn/fzf", { ["dir"] = "~/.fzf", ["do"] = "./install --all" })
|
|
|
|
-- On-demand loading: loaded when the specified command is executed
|
|
Plug("preservim/nerdtree", { ["on"] = "NERDTreeToggle" })
|
|
|
|
Plug("tpope/vim-sensible")
|
|
Plug("echasnovski/mini.nvim", { ["branch"] = "stable" })
|
|
|
|
Plug("nvim-tree/nvim-web-devicons") -- OPTIONAL: for file icons
|
|
Plug("lewis6991/gitsigns.nvim") -- OPTIONAL: for git status
|
|
Plug("romgrk/barbar.nvim")
|
|
-- Plug("rebelot/heirline.nvim")
|
|
|
|
-- Plug("liuchengxu/vim-which-key", { ["on"] = ['WhichKey', 'WhichKey!'] })
|
|
Plug("liuchengxu/vim-which-key")
|
|
Plug("AckslD/nvim-whichkey-setup.lua")
|
|
|
|
vim.call("plug#end")
|
|
-- ============================================================ END = PLUGINS ===================
|
|
|
|
-- Color schemes should be loaded after plug#end().
|
|
-- We prepend it with 'silent!' to ignore errors when it's not yet installed.
|
|
-- vim.cmd("silent! colorscheme jellybeans")
|
|
vim.cmd("silent! set termguicolors")
|
|
vim.cmd("silent! set number")
|
|
vim.cmd("silent! set relativenumber")
|
|
|
|
require("vesper").setup({
|
|
transparent = true,
|
|
italics = {
|
|
comments = true,
|
|
keywords = true,
|
|
functions = true,
|
|
strings = true,
|
|
variables = true,
|
|
},
|
|
overrides = {},
|
|
palette_overrides = {},
|
|
})
|
|
|
|
require("mini.starter").setup()
|
|
require("mini.icons").setup()
|
|
-- require('mini.tabline').setup()
|
|
require("mini.statusline").setup()
|
|
require("mini.notify").setup()
|
|
require("mini.indentscope").setup()
|
|
-- require('mini.ai').setup()
|
|
-- require('mini.surround').setup()
|
|
|
|
vim.g.barbar_auto_setup = false -- disable auto-setup
|
|
require("barbar").setup({
|
|
animation = true,
|
|
auto_hide = false,
|
|
tabpages = true,
|
|
clickable = true,
|
|
})
|
|
|
|
-- require("whichkey_setup").config{
|
|
-- hide_statusline = false,
|
|
-- default_keymap_settings = {
|
|
-- silent = true,
|
|
-- noremap = true,
|
|
-- },
|
|
-- default_mode = 'n',
|
|
-- }
|
|
|
|
-- vim.cmd("let g:mapleader = '<Space>'")
|
|
-- vim.cmd("let g:maplocalleader = ','")
|
|
-- vim.cmd("nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>")
|
|
-- vim.cmd("nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>")
|
|
|
|
-- require('heirline').setup()
|
|
--
|