nvim/init.lua

32 lines
815 B
Lua
Raw Normal View History

2022-11-22 13:39:10 +01:00
local packer = require("ensure-packer");
local plugins = require("plugins");
local settings = require("settings");
2022-12-15 22:13:03 +01:00
local telescope = require("telescope");
2022-11-22 13:39:10 +01:00
-- Theme Section
vim.cmd("colorscheme onedark")
-- Lualine Section
require('lualine').setup {
options = { theme = 'auto' }
}
-- Comment
require('Comment').setup()
2022-11-24 13:33:16 +01:00
2022-12-15 21:41:24 +01:00
-- Gitsigns
require('gitsigns').setup()
2022-12-15 22:13:03 +01:00
2022-11-24 13:33:16 +01:00
-- Mason
2022-12-15 21:41:24 +01:00
-- require("mason").setup()
-- require("mason-lspconfig").setup({
-- ensure_installed = { "rust_analyzer", "pylsp" },
-- automatic_installation = true,
-- })
2022-12-15 22:13:03 +01:00
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, {})