diff options
Diffstat (limited to 'lua')
-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) |