Added :terminal specific config
This commit is contained in:
parent
f2ff7bda11
commit
e4628d8db8
1 changed files with 12 additions and 0 deletions
|
|
@ -15,3 +15,15 @@ vim.opt.wrap = false
|
|||
vim.opt.scrolloff = 8
|
||||
vim.opt.signcolumn = "auto"
|
||||
|
||||
vim.o.shell = "/usr/bin/zsh"
|
||||
|
||||
-- Local settings for when in :terminal mode
|
||||
-- I don't believe this functionality has been ported to lua.
|
||||
vim.cmd([[
|
||||
function! TerminalSettings()
|
||||
setlocal nonumber norelativenumber
|
||||
setlocal scrolloff=0
|
||||
endfunction
|
||||
autocmd TermOpen * call TerminalSettings()
|
||||
]])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue