dotfiles/config/neovim/after/plugin/terminal.vim

10 lines
177 B
VimL
Raw Normal View History

function! s:small_terminal() abort
new
wincmd J
call nvim_win_set_height(0, 12)
set winfixheight
term
endfunction
nnoremap <leader>st :call <SID>small_terminal()<CR>