fix: allow to easily exit terminal mode
This commit is contained in:
@@ -7,10 +7,13 @@ local saga = require("lspsaga")
|
||||
saga.init_lsp_saga()
|
||||
|
||||
local options = { noremap = true, silent = true }
|
||||
local remap = { noremap = false }
|
||||
local remap = { noremap = true }
|
||||
|
||||
g.mapleader = " "
|
||||
|
||||
-- Allows to easily exit terminal mode
|
||||
map('t', '<Esc>', [[<C-\><C-n>]], remap)
|
||||
|
||||
map("n", "<C-o>", ":Telescope find_files<CR>", options)
|
||||
map("n", "<C-f>", ":lua require'telescope.builtin'.live_grep{ cwd = vim.fn.getcwd() }<CR>", options)
|
||||
-- map("n", "<C-p>", ":Telescope command_center<CR>", options)
|
||||
|
Reference in New Issue
Block a user