add undotree
This commit is contained in:
parent
15fe6619b5
commit
4d88798fed
3
init.lua
3
init.lua
|
@ -71,6 +71,7 @@ vim.opt.scrolloff = 8
|
||||||
-- [[ Eric's Custom Keymaps]]
|
-- [[ Eric's Custom Keymaps]]
|
||||||
|
|
||||||
vim.keymap.set('n', '<leader><leader>', '<cmd>Neotree toggle<CR>')
|
vim.keymap.set('n', '<leader><leader>', '<cmd>Neotree toggle<CR>')
|
||||||
|
vim.keymap.set('n', '<leader>u', vim.cmd.UndotreeToggle)
|
||||||
|
|
||||||
-- [[ Basic Keymaps ]]
|
-- [[ Basic Keymaps ]]
|
||||||
-- See `:help vim.keymap.set()`
|
-- See `:help vim.keymap.set()`
|
||||||
|
@ -669,7 +670,7 @@ require('lazy').setup({
|
||||||
-- Load the colorscheme here.
|
-- Load the colorscheme here.
|
||||||
-- Like many other themes, this one has different styles, and you could load
|
-- Like many other themes, this one has different styles, and you could load
|
||||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||||
vim.cmd.colorscheme 'tokyonight-night'
|
vim.cmd.colorscheme 'tokyonight'
|
||||||
|
|
||||||
-- You can configure highlights by doing something like:
|
-- You can configure highlights by doing something like:
|
||||||
vim.cmd.hi 'Comment gui=none'
|
vim.cmd.hi 'Comment gui=none'
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
return {
|
||||||
|
'mbbill/undotree',
|
||||||
|
}
|
Loading…
Reference in New Issue