From 15b131da12cf4975307d4f7618a1f2902a1a9dc9 Mon Sep 17 00:00:00 2001 From: davidpkj Date: Wed, 17 Apr 2024 18:35:12 +0200 Subject: potato update --- neovim/.config/nvim/lua/keybinds.lua | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'neovim/.config/nvim/lua/keybinds.lua') diff --git a/neovim/.config/nvim/lua/keybinds.lua b/neovim/.config/nvim/lua/keybinds.lua index d84e5e4..8eb7ead 100644 --- a/neovim/.config/nvim/lua/keybinds.lua +++ b/neovim/.config/nvim/lua/keybinds.lua @@ -38,11 +38,10 @@ map("n", "y", "!echo $(pwd)/% | xclip -selection clipboard") map("n", "", ":!compile %") -- Move to the next/previous buffer --- map("n", "[", "bp") --- map("n", "]", "bn") - --- Move to last buffer --- map("n", """", "b#") +map("n", "[", "bp") +map("n", "]", "bn") +-- Close current buffer +map("n", "\\", "bd") -- Telescope binds local Telescope = setmetatable({}, { @@ -57,9 +56,9 @@ local Telescope = setmetatable({}, { -- Help map("n", "fh", Telescope.help_tags) -- Files with match -map("n", "ff", Telescope.live_grep) +map("n", "fp", Telescope.live_grep) -- Project files -map("n", "fp", Telescope.find_files) +map("n", "ff", Telescope.find_files) -- Changed git files map("n", "fc", Telescope.git_status) -- Git files -- cgit v1.2.3