refactor(nvim): manage Neovim with Home Manager
This commit is contained in:
parent
83c43d07df
commit
5630466780
42 changed files with 5 additions and 0 deletions
9
config/neovim/after/plugin/terminal.vim
Normal file
9
config/neovim/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…
Add table
Add a link
Reference in a new issue