@@ -169,6 +169,10 @@ vim.o.expandtab = true
169
169
vim .o .smartindent = true
170
170
vim .o .autoindent = true
171
171
172
+ -- terminal theme
173
+ vim .o .termguicolors = false
174
+ vim .cmd .colorscheme ' ansi'
175
+
172
176
-- if performing an operation that would fail due to unsaved changes in the buffer (like `:q`),
173
177
-- instead raise a dialog asking if you wish to save the current file(s)
174
178
-- See `:help 'confirm'`
@@ -924,6 +928,7 @@ require('lazy').setup({
924
928
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
925
929
' folke/tokyonight.nvim' ,
926
930
priority = 1000 , -- Make sure to load this before all the other start plugins.
931
+ enabled = false ,
927
932
config = function ()
928
933
--- @diagnostic disable-next-line : missing-fields
929
934
require (' tokyonight' ).setup {
@@ -1014,6 +1019,21 @@ require('lazy').setup({
1014
1019
},
1015
1020
},
1016
1021
},
1022
+ {
1023
+ ' akinsho/toggleterm.nvim' ,
1024
+ version = ' *' ,
1025
+ opts = {
1026
+ open_mapping = ' <leader>r' ,
1027
+ direction = ' vertical' ,
1028
+ size = function (term )
1029
+ if term .direction == ' horizontal' then
1030
+ return vim .o .lines * 0.4
1031
+ elseif term .direction == ' vertical' then
1032
+ return vim .o .columns * 0.4
1033
+ end
1034
+ end ,
1035
+ },
1036
+ },
1017
1037
1018
1038
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
1019
1039
-- init.lua. If you want these files, they are in the repository, so you can just download them and
0 commit comments