diff options
Diffstat (limited to 'lua/settings/keymaps.lua')
-rw-r--r-- | lua/settings/keymaps.lua | 37 |
1 files 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 '<-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) +-- -- 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) |