feat(nvim): add small_terminal
function
This commit is contained in:
parent
a30c771054
commit
d73da59246
9
roles/neovim/files/after/plugin/terminal.vim
Normal file
9
roles/neovim/files/after/plugin/terminal.vim
Normal file
|
@ -0,0 +1,9 @@
|
|||
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>
|
Loading…
Reference in a new issue