From 482bd7a8b6ff296a78c5b0e0e0e230d025b3291d Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 14 Jan 2022 18:48:22 +0100 Subject: Remove unused keymaps --- lua/settings/keymaps.lua | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'lua') diff --git a/lua/settings/keymaps.lua b/lua/settings/keymaps.lua index 445c6be..8d8ed73 100644 --- a/lua/settings/keymaps.lua +++ b/lua/settings/keymaps.lua @@ -2,8 +2,6 @@ local opts = { noremap = true, silent = true } -local term_opts = { silent = true } - -- Shorten function name local keymap = vim.api.nvim_set_keymap @@ -59,23 +57,3 @@ keymap("x", "J", ":move '>+1gv-gv", opts) 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) --- keymap("n", "f", ":Format", opts) -- cgit v1.2.3-70-g09d2