Merge pull request #162 from G-Rowell/dev-fixTerm
Fix terminal config issues
This commit is contained in:
commit
cb3f7538e8
@ -18,7 +18,10 @@ map("v", "x", [=[ "_x ]=], opt)
|
||||
this line too ]]
|
||||
--
|
||||
|
||||
-- escape with 'jk' mapping
|
||||
vim.api.nvim_set_keymap("i", "jk", "<esc>", {})
|
||||
vim.api.nvim_set_keymap("v", "jk", "<esc>", {})
|
||||
vim.api.nvim_set_keymap("t", "jk", "<esc>", {})
|
||||
|
||||
-- Don't copy the replaced text after pasting in visual mode
|
||||
map("v", "p", '"_dP', opt)
|
||||
|
@ -4,9 +4,8 @@ local M = {}
|
||||
M.hideStuff = function()
|
||||
vim.api.nvim_exec(
|
||||
[[
|
||||
au BufEnter term://* setlocal nonumber
|
||||
au TermOpen term://* setlocal nonumber laststatus=0
|
||||
au BufEnter,BufWinEnter,WinEnter,CmdwinEnter * if bufname('%') == "NvimTree" | set laststatus=0 | else | set laststatus=2 | endif
|
||||
au BufEnter term://* set laststatus=0
|
||||
]],
|
||||
false
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user