From 00f7596306cf0a4637f39f377575d7751ec42245 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 12 Jan 2022 22:57:25 +0100 Subject: Update keymaps --- lua/settings/keymaps.lua | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/lua/settings/keymaps.lua b/lua/settings/keymaps.lua index 3f98d19..445c6be 100644 --- a/lua/settings/keymaps.lua +++ b/lua/settings/keymaps.lua @@ -60,21 +60,22 @@ keymap("x", "K", ":move '<-2gv-gv", opts) keymap("x", "", ":move '>+1gv-gv", opts) keymap("x", "", ":move '<-2gv-gv", opts) --- Terminal -- --- Better terminal navigation -keymap("t", "", "h", term_opts) -keymap("t", "", "j", term_opts) -keymap("t", "", "k", term_opts) -keymap("t", "", "l", term_opts) - --- Telescope -- -keymap( - "n", - "f", - "lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))", - opts -) -keymap("n", "", "Telescope live_grep", opts) - --- Nvimtree -keymap("n", "e", ":NvimTreeToggle", opts) +-- -- Terminal -- +-- -- Better terminal navigation +-- keymap("t", "", "h", term_opts) +-- keymap("t", "", "j", term_opts) +-- keymap("t", "", "k", term_opts) +-- keymap("t", "", "l", term_opts) + +-- -- Telescope -- +-- -- keymap( +-- -- "n", +-- -- "f", +-- -- "lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))", +-- -- opts +-- -- ) +-- keymap("n", "", "Telescope live_grep", opts) + +-- -- Nvimtree +-- keymap("n", "e", ":NvimTreeToggle", opts) +-- keymap("n", "f", ":Format", opts) -- cgit v1.2.3-70-g09d2