config/nvim: barebones

This commit is contained in:
Sakooooo 2024-10-02 11:56:18 +04:00
parent 15169189d8
commit 439002e8f5
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 1 additions and 111 deletions

View file

@ -1,3 +1,3 @@
require("core.keymaps") require("core.keymaps")
require("core.plugins") require("core.plugins")
require("core.plugin_config") -- require("core.plugin_config")

View file

@ -15,120 +15,10 @@ vim.opt.rtp:prepend(lazypath)
vim.g.mapleader = " " vim.g.mapleader = " "
local plugins = { local plugins = {
-- whats an ide without a file explorer
"nvim-tree/nvim-tree.lua",
"nvim-tree/nvim-web-devicons",
-- colorscheme
-- { "bluz71/vim-moonfly-colors", name = "moonfly", lazy = false, priority = 1000 },
"savq/melange-nvim",
-- default bar only looks good on linux
"nvim-lualine/lualine.nvim",
-- syntax highlighting apparently -- syntax highlighting apparently
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",
-- org mode
{
"nvim-orgmode/orgmode",
event = "VeryLazy",
config = function()
-- Setup orgmode
require("orgmode").setup({
org_agenda_files = "~/orgfiles/**/*",
org_default_notes_file = "~/orgfiles/refile.org",
})
-- NOTE: If you are using nvim-treesitter with `ensure_installed = "all"` option
-- add `org` to ignore_install
-- require('nvim-treesitter.configs').setup({
-- ensure_installed = 'all',
-- ignore_install = { 'org' },
-- })
end,
},
-- like fzf but goofier
{
"nvim-telescope/telescope.nvim",
version = "0.1.1",
dependencies = { { "nvim-lua/plenary.nvim" } },
},
-- lsp stuff
{
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"neovim/nvim-lspconfig",
},
-- completion
"hrsh7th/nvim-cmp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-nvim-lsp",
"onsails/lspkind.nvim",
-- snippet
"L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip",
-- auto close to prevent carpal tunnel :
"windwp/nvim-autopairs",
-- git stuff lol
"lewis6991/gitsigns.nvim",
-- flex
"andweeb/presence.nvim",
-- color picker
"ziontee113/color-picker.nvim",
-- startup
{
"glepnir/dashboard-nvim",
config = function()
require("dashboard").setup({
theme = "doom", -- theme is doom and hyper default is hyper
config = {
-- todo https://github.com/nvimdev/dashboard-nvim
center = {
{
icon = "",
icon_hl = "Title",
desc = "Find File ",
desc_hl = "String",
keymap = "SPC SPC",
key_hl = "Number",
action = "lua print(2)",
},
},
},
})
end,
event = "VimEnter",
dependencies = { { "nvim-tree/nvim-web-devicons" } },
},
-- floating terminal, useful to mimic/be better than vscode
"voldikss/vim-floaterm",
-- git client
{
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
-- Only one of these is needed, not both.
"nvim-telescope/telescope.nvim", -- optional
"ibhagwan/fzf-lua", -- optional
},
config = true,
},
{ "wakatime/vim-wakatime", lazy = false }, { "wakatime/vim-wakatime", lazy = false },
} }