Skip to content

Commit

Permalink
refactor(keymaps)!: terminal keymaps are now under <leader>ft and `…
Browse files Browse the repository at this point in the history
…<leader>fT`
  • Loading branch information
folke committed Jan 11, 2023
1 parent 23476f1 commit 0cfc15e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/lazyvim/config/keymaps.lua
Expand Up @@ -98,8 +98,8 @@ if vim.fn.has("nvim-0.9.0") == 1 then
end

-- floating terminal
vim.keymap.set("n", "<leader>ot", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
vim.keymap.set("n", "<leader>oT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" })
vim.keymap.set("n", "<leader>ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })
vim.keymap.set("n", "<leader>fT", function() require("lazyvim.util").float_term() end, { desc = "Terminal (cwd)" })
vim.keymap.set("t", "<esc><esc>", "<c-\\><c-n>", {desc = "Enter Normal Mode"})

-- windows
Expand Down

0 comments on commit 0cfc15e

Please sign in to comment.