aboutsummaryrefslogtreecommitdiff
path: root/modules/neovim/nvim
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-04-15 02:01:22 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-04-15 02:15:05 -0400
commit9c1cd212da6cc486d04ddf08e8b112e71d2ac398 (patch)
tree03f0f4e0b9e7809538ab474d8b81eca7fd7a3e68 /modules/neovim/nvim
parentb90c859942af55af9bd7a3624b20bebb286d39ae (diff)
downloadhome-9c1cd212da6cc486d04ddf08e8b112e71d2ac398.tar.gz
new font
Diffstat (limited to 'modules/neovim/nvim')
-rw-r--r--modules/neovim/nvim/lua/config/keybinds.lua5
-rw-r--r--modules/neovim/nvim/lua/config/statusline.lua7
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/neovim/nvim/lua/config/keybinds.lua b/modules/neovim/nvim/lua/config/keybinds.lua
index 3c7ad20..5481d37 100644
--- a/modules/neovim/nvim/lua/config/keybinds.lua
+++ b/modules/neovim/nvim/lua/config/keybinds.lua
@@ -48,11 +48,6 @@ nmap('<leader>?', '<cmd>FzfLua live_grep_native<CR>', { silent = true })
nmap('<leader>to', '<cmd>te<CR>', { silent = true; desc = "Open a terminal buffer in the current window." })
-vim.keymap.set('t', '<Esc>', '<C-\\><C-n>', { silent = true })
-vim.keymap.set('t', '<C-\\><C-n>', function()
- vim.keymap.set('t', '<Esc>', '<Esc>', { buffer = true})
- vim.keymap.set('t', '<C-\\><C-n>', '<C-\\><C-n>', { buffer = true})
-end, { silent = true })
diff --git a/modules/neovim/nvim/lua/config/statusline.lua b/modules/neovim/nvim/lua/config/statusline.lua
index 82725c1..0003383 100644
--- a/modules/neovim/nvim/lua/config/statusline.lua
+++ b/modules/neovim/nvim/lua/config/statusline.lua
@@ -1,6 +1,7 @@
local modes = {
["n"] = "",
["no"] = "",
+ ["nt"] = "",
["v"] = "VISUAL",
["V"] = "VISUAL-LINE",
[""] = "VISUAL-BLOCK",
@@ -38,7 +39,11 @@ M.statusline = function()
end
M.termStatus = function()
- return " TERM » %{b:term_title}%=%p%% « %l, %c "
+ return table.concat {
+ " ",
+ mode(),
+ "%{b:term_title}%=%p%% « %l, %c "
+ }
end
M.setup = function(config)