2023-12-30 14:48:18 +00:00
|
|
|
vim.g.mapleader = " " -- Set map leader
|
|
|
|
|
2024-03-22 11:34:52 +00:00
|
|
|
-- Setup neogit
|
|
|
|
local neogit = require('neogit')
|
|
|
|
neogit.setup {}
|
|
|
|
|
2024-03-22 21:54:42 +00:00
|
|
|
-- Setup better-escape.nvim
|
|
|
|
require("better_escape").setup()
|
|
|
|
|
2024-03-23 16:09:24 +00:00
|
|
|
-- nvim-tree.lua setup
|
|
|
|
vim.g.loaded_netrw = 1
|
|
|
|
vim.g.loaded_netrwPlugin = 1
|
|
|
|
require("nvim-tree").setup({
|
|
|
|
sort = {
|
|
|
|
sorter = "case_sensitive",
|
|
|
|
},
|
|
|
|
view = {
|
|
|
|
width = 30,
|
|
|
|
},
|
|
|
|
renderer = {
|
|
|
|
group_empty = true,
|
|
|
|
},
|
|
|
|
filters = {
|
|
|
|
dotfiles = true,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
2024-03-23 16:26:44 +00:00
|
|
|
-- Toggleterm
|
|
|
|
require("toggleterm").setup{
|
|
|
|
open_mapping = [[<M-[>]],
|
|
|
|
shade_true = false,
|
|
|
|
}
|
|
|
|
|
2023-12-30 14:48:18 +00:00
|
|
|
-- Imports from files
|
|
|
|
require 'core'
|