add fterm
This commit is contained in:
parent
76b65bb505
commit
8a0e04ee07
3 changed files with 24 additions and 3 deletions
|
@ -9,8 +9,8 @@ local function init()
|
|||
map('n', '<space>ps', [[<cmd>lua require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For >")})<CR>]])
|
||||
|
||||
-------------------- NvimTreeToggle ------------------------
|
||||
map('n', '<space>tt', '<cmd>NvimTreeToggle<CR>')
|
||||
map('n', '<space>tr', '<cmd>NvimTreeRefresh<CR>')
|
||||
map('n', '<F4>', '<cmd>NvimTreeToggle<CR>')
|
||||
map('n', '<F5>', '<cmd>NvimTreeRefresh<CR>')
|
||||
|
||||
-------------------- LSP -----------------------------------
|
||||
map('n', '<space>,', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>')
|
||||
|
@ -31,9 +31,13 @@ local function init()
|
|||
map('n', 'g*', "g*<Cmd>lua require('hlslens').start()<CR>")
|
||||
map('n', 'g#', "g#<Cmd>lua require('hlslens').start()<CR>")
|
||||
|
||||
-------------------- FTerm ---------------------------------
|
||||
map('n', '<F3>', '<CMD>lua require("FTerm").toggle()<CR>')
|
||||
map('t', '<F3>', '<C-\\><C-n><CMD>lua require("FTerm").toggle()<CR>')
|
||||
|
||||
-------------------- LAZYGIT -------------------------------
|
||||
-- Install docs : https://github.com/jesseduffield/lazygit
|
||||
map('n', '<space>lg', '<cmd>LazyGit<CR>')
|
||||
map('n', '<F2>', '<cmd>LazyGit<CR>')
|
||||
|
||||
-------------------- COMMANDS ------------------------------
|
||||
cmd 'au TextYankPost * lua vim.highlight.on_yank {on_visual = false}' -- disabled in visual mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue