1
0
Fork 0
dotfiles/config/nvim/plugins/toggleterm.fnl

10 lines
505 B
Text
Raw Normal View History

2022-04-17 19:44:56 +00:00
(let [toggleterm (require :toggleterm)]
(toggleterm.setup {:shell :fish :open_mapping :<C-t>})
(let [augroup (vim.api.nvim_create_augroup :NifocTerm {:clear true})
aucmd vim.api.nvim_create_autocmd]
(aucmd :TermOpen {:callback (fn []
(set vim.opt_local.number false)
(set vim.opt_local.relativenumber false)
(set vim.opt_local.cursorline false))
:group augroup})))