Compare commits

...
2 Commits
Author SHA1 Message Date
Job79 0fffee1c1a feat: add popup terminal shortcut 2026-09-05 15:23:53 +02:00
Job79 51b5279d2e feat: disable some messages 2026-09-05 15:23:44 +02:00
3 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"src": "https://github.com/mfussenegger/nvim-dap" "src": "https://github.com/mfussenegger/nvim-dap"
}, },
"nvim-lspconfig": { "nvim-lspconfig": {
"rev": "85e732c62ac59ab7c12df71ddd020baa87948390", "rev": "84252f9832fb5b9024fe9f7258e7c2aff915e6fb",
"src": "https://github.com/neovim/nvim-lspconfig" "src": "https://github.com/neovim/nvim-lspconfig"
}, },
"nvim-treesitter": { "nvim-treesitter": {
+19 -19
View File
@@ -4,25 +4,25 @@ vim.o.undofile = true -- Enable persistent undo
vim.o.shada = "'100,<50,s10,:1000,/100,@100,h" -- Limit ShaDa file (for startup) vim.o.shada = "'100,<50,s10,:1000,/100,@100,h" -- Limit ShaDa file (for startup)
-- UI -- UI
vim.o.breakindent = true -- Indent wrapped lines to match line start vim.o.breakindent = true -- Indent wrapped lines to match line start
vim.o.breakindentopt = 'list:-1' -- Add padding for lists (if 'wrap' is set) vim.o.breakindentopt = 'list:-1' -- Add padding for lists (if 'wrap' is set)
vim.o.cursorline = true -- Enable current line highlighting vim.o.cursorline = true -- Enable current line highlighting
vim.o.linebreak = true -- Wrap lines at 'breakat' (if 'wrap' is set) vim.o.linebreak = true -- Wrap lines at 'breakat' (if 'wrap' is set)
vim.o.list = true -- Show helpful text indicators vim.o.list = true -- Show helpful text indicators
vim.o.number = true -- Show line numbers vim.o.number = true -- Show line numbers
vim.o.pumheight = 10 -- Make popup menu smaller vim.o.pumheight = 10 -- Make popup menu smaller
vim.o.pummaxwidth = 60 -- Make popup menu not too wide vim.o.pummaxwidth = 60 -- Make popup menu not too wide
vim.o.shortmess = 'CFOSWaco' -- Disable some built-in completion messages vim.o.shortmess = 'CFOSWacou' -- Disable some built-in completion messages
vim.o.signcolumn = 'yes' -- Always show signcolumn (less flicker) vim.o.signcolumn = 'yes' -- Always show signcolumn (less flicker)
vim.o.splitbelow = true -- Horizontal splits will be below vim.o.splitbelow = true -- Horizontal splits will be below
vim.o.splitkeep = 'screen' -- Reduce scroll during window split vim.o.splitkeep = 'screen' -- Reduce scroll during window split
vim.o.splitright = true -- Vertical splits will be to the right vim.o.splitright = true -- Vertical splits will be to the right
vim.o.wrap = false -- Don't visually wrap lines vim.o.wrap = false -- Don't visually wrap lines
vim.o.winborder = 'rounded' -- Use border in floating windows vim.o.winborder = 'rounded' -- Use border in floating windows
vim.o.pumborder = 'rounded' -- Use border in popup menu vim.o.pumborder = 'rounded' -- Use border in popup menu
vim.o.cmdheight = 0 -- Hide the command line when not in use vim.o.cmdheight = 0 -- Hide the command line when not in use
vim.cmd('syntax off') -- Disable legacy syntax highlighting vim.cmd('syntax off') -- Disable legacy syntax highlighting
require("vim._core.ui2").enable({ -- Enable new ui (requires nightly) require("vim._core.ui2").enable({ -- Enable new ui (requires nightly)
msg = { targets = "msg" } msg = { targets = "msg" }
}) })
+1
View File
@@ -100,6 +100,7 @@ leader("sw", function() MiniSessions.write() end, "Write current")
leader("tT", "<cmd>horizontal term<CR>", "Terminal (horizontal)") leader("tT", "<cmd>horizontal term<CR>", "Terminal (horizontal)")
leader("tt", "<cmd>vertical term<CR>", "Terminal (vertical)") leader("tt", "<cmd>vertical term<CR>", "Terminal (vertical)")
leader("tc", "<cmd>vertical term claude<CR>", "Claude") leader("tc", "<cmd>vertical term claude<CR>", "Claude")
leader("tf", function() require("terminal").open_terminal_app("bash") end, "Terminal (popup)")
leader("tg", function() require("terminal").open_terminal_app("lazygit") end, "LazyGit") leader("tg", function() require("terminal").open_terminal_app("lazygit") end, "LazyGit")
leader("ts", function() require("terminal").open_terminal_app("lazysql") end, "LazySQL") leader("ts", function() require("terminal").open_terminal_app("lazysql") end, "LazySQL")