31 lines
815 B
Lua
31 lines
815 B
Lua
local packer = require("ensure-packer");
|
|
local plugins = require("plugins");
|
|
local settings = require("settings");
|
|
local telescope = require("telescope");
|
|
|
|
-- Theme Section
|
|
vim.cmd("colorscheme onedark")
|
|
|
|
-- Lualine Section
|
|
require('lualine').setup {
|
|
options = { theme = 'auto' }
|
|
}
|
|
|
|
-- Comment
|
|
require('Comment').setup()
|
|
|
|
-- Gitsigns
|
|
require('gitsigns').setup()
|
|
|
|
-- Mason
|
|
-- require("mason").setup()
|
|
-- require("mason-lspconfig").setup({
|
|
-- ensure_installed = { "rust_analyzer", "pylsp" },
|
|
-- automatic_installation = true,
|
|
-- })
|
|
|
|
local builtin = require('telescope.builtin')
|
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
|
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
|
vim.keymap.set('n', '<leader>fb', builtin.buffers, {})
|
|
vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
|