Skip to content
Snippets Groups Projects
Commit da2f8ea5 authored by Alfred Burgess's avatar Alfred Burgess
Browse files

Initial init file

parents
No related merge requests found
init.lua 0 → 100644
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.n"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local opts = {}
local plugins = {
{ "catppuccin/nvim", name = "catppuccin", priority = 1000, lazy=false },
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", },
{ "nvim-tree/nvim-web-devicons" },
{ "williamboman/mason.nvim" },
{
"nvim-tree/nvim-tree.lua",
version = "*",
lazy = false,
dependencies = { "nvim-tree/nvim-web-devicons", },
config = function()
require("nvim-tree").setup {}
end,
},
{ "nvim-lua/plenary.nvim" },
{ "gaborvecsei/usage-tracker.nvim" },
{ 'nvim-telescope/telescope.nvim', tag = '0.1.5', dependencies = { 'nvim-lua/plenary.nvim' } },
{
"folke/which-key.nvim",
event = "VeryLazy",
init = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
end, opts = { }
},
{ 'windwp/nvim-autopairs', event = "InsertEnter", opts={} },
{ 'nvim-lualine/lualine.nvim', dependencies = { 'nvim-tree/nvim-web-devicons' }, lazy=false },
{ 'sudormrfbin/cheatsheet.nvim', dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/popup.nvim', 'nvim-lua/plenary.nvim' } },
{'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function() vim.g.barbar_auto_setup = false end,
opts = { },
version = '^1.0.0', -- optional: only update when a new 1.x version is released
},
}
require("lazy").setup( plugins, opts)
require("catppuccin").setup()
require("mason").setup()
require("telescope").setup()
require("nvim-tree").setup()
require("lualine").setup( {
options = { theme = 'dracula' }
} )
require('usage-tracker').setup({
keep_eventlog_days = 14,
cleanup_freq_days = 7,
event_wait_period_in_sec = 5,
inactivity_threshold_in_min = 5,
inactivity_check_freq_in_sec = 5,
verbose = 0,
-- telemetry_endpoint = "http://localhost:8000" -- you'll need to start the restapi for this feature
})
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment