update nvim mappings & theme

This commit is contained in:
Gabriel Augendre 2024-02-18 12:07:46 +01:00
parent 37470f5811
commit 9bbe4a9fba
2 changed files with 25 additions and 2 deletions

View file

@ -5,7 +5,7 @@ M.plugins = "custom.plugins"
M.mappings = require "custom.mappings" M.mappings = require "custom.mappings"
M.ui = { M.ui = {
theme = "tomorrow_night", theme = "one_light",
statusline = { statusline = {
theme = "default", theme = "default",
separator_style = "arrow", separator_style = "arrow",

View file

@ -64,7 +64,7 @@ M.dap_ui = {
function() function()
require("dapui").eval() require("dapui").eval()
end, end,
"Debug - eval expression" "Debug - eval expression (Alt+K)"
} }
} }
} }
@ -81,4 +81,27 @@ M.general = {
} }
} }
M.nvterm = {
n = {
["<leader>ti"] = {
function()
require("nvterm.terminal").toggle "float"
end,
"Toggle floating term"
},
["<leader>tv"] = {
function()
require("nvterm.terminal").toggle "vertical"
end,
"Toggle vertical term"
},
["<leader>th"] = {
function()
require("nvterm.terminal").toggle "horizontal"
end,
"Toggle horizontal term"
},
}
}
return M return M