buffer navigation
This commit is contained in:
@@ -18,8 +18,5 @@ map("i", "jk", "<Esc>")
|
||||
map("n", "<C-s>", ":update<CR>")
|
||||
map("i", "<C-s>", "<C-o>:update<CR><Esc>")
|
||||
|
||||
-- switch between last two files
|
||||
-- map("n", "<tab>", ":b#<cr>", { desc = "switch between last two files" })
|
||||
|
||||
-- remove search highlight
|
||||
map("n", "<leader>,", ":noh<cr>")
|
||||
|
||||
@@ -29,6 +29,13 @@ return {
|
||||
end,
|
||||
desc = "Grep string",
|
||||
},
|
||||
{
|
||||
"<leader>b",
|
||||
function()
|
||||
require("telescope.builtin").buffers()
|
||||
end,
|
||||
desc = "Buffers",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user