diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-14 18:48:22 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-14 18:48:22 +0100 |
commit | 482bd7a8b6ff296a78c5b0e0e0e230d025b3291d (patch) | |
tree | 05af919e17ac908aeec8533ecfa94aa2900fdf73 /lua/settings | |
parent | cdba3556882f5672de141cfa98c64f4257c69de0 (diff) |
Remove unused keymaps
Diffstat (limited to 'lua/settings')
-rw-r--r-- | lua/settings/keymaps.lua | 22 |
1 files changed, 0 insertions, 22 deletions
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 '>+1<CR>gv-gv", opts) keymap("x", "K", ":move '<-2<CR>gv-gv", opts) keymap("x", "<A-j>", ":move '>+1<CR>gv-gv", opts) keymap("x", "<A-k>", ":move '<-2<CR>gv-gv", opts) - --- -- Terminal -- --- -- Better terminal navigation --- keymap("t", "<C-h>", "<C-\\><C-N><C-w>h", term_opts) --- keymap("t", "<C-j>", "<C-\\><C-N><C-w>j", term_opts) --- keymap("t", "<C-k>", "<C-\\><C-N><C-w>k", term_opts) --- keymap("t", "<C-l>", "<C-\\><C-N><C-w>l", term_opts) - --- -- Telescope -- --- -- keymap( --- -- "n", --- -- "<leader>f", --- -- "<cmd>lua require'telescope.builtin'.find_files(require('telescope.themes').get_dropdown({ previewer = false }))<cr>", --- -- opts --- -- ) --- keymap("n", "<c-t>", "<cmd>Telescope live_grep<cr>", opts) - --- -- Nvimtree --- keymap("n", "<leader>e", ":NvimTreeToggle<cr>", opts) --- keymap("n", "<leader>f", ":Format<cr>", opts) |