Skip to content

Commit fb3cb90

Browse files
committed
refactor: remove debug print statements and unused code
1 parent 7042278 commit fb3cb90

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

lua/kide/tools/init.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@ M.close_other_buf = function()
1111
-- local bf_no = vim.fn.winbufnr(cur_winnr)
1212
vim.fn.execute("bn")
1313
local next_buf = vim.fn.bufnr("%")
14-
-- print('cur_buf ' .. cur_buf)
1514

1615
local count = 999
1716
while next_buf ~= -1 and cur_buf ~= next_buf and count > 0 do
18-
-- print('next_buf ' .. next_buf)
1917
local bdel = "bdel " .. next_buf
2018
vim.fn.execute("bn")
2119
vim.fn.execute(bdel)

lua/mappings.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ map("v", "<A-i>", function()
2121
end, 500)
2222
end, { desc = "toggle term" })
2323

24-
map("n", "<leader>w", function()
25-
vim.print("---close--")
26-
vim.print(vim.bo.bufhidden)
27-
vim.print(vim.bo.buflisted)
28-
end, { desc = "close buf" })
2924

3025
map("n", "<leader>gb", require("gitsigns").blame_line, { desc = "gitsigns blame line" })
3126
map("n", "<ESC>", "<CMD>noh<CR>", { desc = "Clear Highlight" })

0 commit comments

Comments
 (0)