feat: hide terminal line numbers
parent
5e72b97e85
commit
d634051918
|
@ -43,7 +43,7 @@ function _G.set_terminal_keymaps()
|
|||
vim.api.nvim_buf_set_keymap(0, 't', '<C-l>', [[<C-\><C-n><C-W>l]], opts)
|
||||
end
|
||||
|
||||
vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()')
|
||||
vim.cmd('autocmd TermOpen term://* lua set_terminal_keymaps()')
|
||||
|
||||
-- buffer closing
|
||||
nnoremap("<leader>q", ":Bdelete<CR>")
|
||||
|
|
|
@ -48,6 +48,15 @@ vim.cmd([[
|
|||
augroup END
|
||||
]])
|
||||
|
||||
-- configure terminal
|
||||
vim.cmd([[
|
||||
augroup terminal_setup
|
||||
autocmd!
|
||||
autocmd TermOpen * startinsert
|
||||
autocmd TermOpen * setlocal nonumber norelativenumber
|
||||
augroup END
|
||||
]])
|
||||
|
||||
-- coq.nvim
|
||||
vim.g.coq_settings = {
|
||||
auto_start = "shut-up",
|
||||
|
|
Loading…
Reference in New Issue