diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-12 22:57:25 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-12 22:57:25 +0100 |
commit | 00f7596306cf0a4637f39f377575d7751ec42245 (patch) | |
tree | 243ac809665b505a83f0ed3813616ab27110fb9b /lua | |
parent | 092bd64da1af33a8f7a8ebc19e31653e76c652d5 (diff) |
Update keymaps
Diffstat (limited to '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) |