-- You can add your own plugins here or in other files in this directory! -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information vim.opt.number = true vim.opt.relativenumber = true vim.opt.wrap = false vim.keymap.set('n', '', '15k', { desc = 'Scroll up and center' }) vim.keymap.set('n', '', '15j', { desc = 'Scroll down and center' }) vim.keymap.set('n', '', 'ggVGy', { desc = 'Copy file' }) vim.keymap.set('n', 'e', ':Explore', { desc = 'Open explorer' }) return { { 'catppuccin/nvim', name = 'catppuccin', priority = 1000, config = function() require('catppuccin').setup { flavour = 'mocha', integrations = { telescope = true, treesitter = true, cmp = true, gitsigns = true, }, custom_highlights = function(colors) return { LineNr = { fg = colors.mauve }, CursorLineNr = { fg = colors.lavender, bold = true }, Visual = { bg = colors.surface1 }, TelescopeSelection = { bg = colors.surface1 }, } end, } vim.cmd.colorscheme 'catppuccin' end, }, { -- Set lualine as statusline 'nvim-lualine/lualine.nvim', -- See `:help lualine.txt` opts = { options = { icons_enabled = false, component_separators = '|', section_separators = '', }, }, }, { 'NeogitOrg/neogit', dependencies = { 'nvim-lua/plenary.nvim', 'nvim-telescope/telescope.nvim', 'sindrets/diffview.nvim', 'ibhagwan/fzf-lua', }, config = function() local neogit = require 'neogit' vim.keymap.set('n', 'gg', neogit.open, { desc = 'Open Neogit' }) neogit.setup {} end, }, { 'mfussenegger/nvim-jdtls', }, }