aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2023-02-05 23:33:45 -0500
committertdro <tdro@users.noreply.github.com>2023-02-05 23:33:45 -0500
commit27d0faaaf4c40e5bd53833172ab7e07491b270c4 (patch)
treeb037e011eeb665383e18d81080c187455590a926
parenta404e1971b7355a173cc908cc16cb74577aba017 (diff)
downloaddotfiles-27d0faaaf4c40e5bd53833172ab7e07491b270c4.tar.gz
dotfiles-27d0faaaf4c40e5bd53833172ab7e07491b270c4.tar.bz2
dotfiles-27d0faaaf4c40e5bd53833172ab7e07491b270c4.zip
.vim/vimrc: Add no close terminal function
-rw-r--r--.vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 431e3bf..32e5d1e 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -269,9 +269,13 @@ function s:notify(command)
call popup_notification(systemlist(a:command), { 'pos': 'topright', 'col': 9999, 'time' : 600000, 'highlight': 'Normal' })
endfunction
+
+"-------------------Commands-------------------"
+
command! -nargs=? -range Jump call s:cursor(@*)
command! -nargs=? -range REPL call s:repl(<line1>, <line2>, <f-args>)
command! -nargs=1 -range Notify call s:notify(<args>)
+command! Term term ++noclose
"----------------Autorun----------------"