Daniel Siepmann
082ad58af1
I managed my setup manually. This commit ports the existing setup to home-manager. The program module is used to install neovim together with plugins. Custom plugins are now maintained at Gitea / GitHub and loaded via nix as well.
13 lines
406 B
VimL
13 lines
406 B
VimL
let g:neoterm_default_mod = 'botright'
|
|
|
|
" Source: https://github.com/kassio/neoterm/issues/81
|
|
" Allow rerun of last terminal command.
|
|
let g:my_last_t_command = ''
|
|
function! MyT(args)
|
|
let g:my_last_t_command = a:args
|
|
silent call neoterm#do(g:my_last_t_command)
|
|
endfunction
|
|
|
|
command! -bar -complete=shellcmd -nargs=+ T silent call MyT(<q-args>)
|
|
command! -bar ReT silent call MyT(g:my_last_t_command)
|