This is just a experimental code. Not for practical use.
More useful version is on macrat/askgpt.vim.
-
Place
autoload-chatgpt.vim
to~/.vim/autoload/chatgpt.vim
. -
Write this to your vimrc:
#!/usr/bin/guile -s | |
!# | |
(use-modules (ice-9 pretty-print)) | |
(define args (command-line)) | |
(if (< (length args) 2) | |
(begin | |
(display "Not enough parameters, need a file name.") | |
(newline)) |
This is just a experimental code. Not for practical use.
More useful version is on macrat/askgpt.vim.
Place autoload-chatgpt.vim
to ~/.vim/autoload/chatgpt.vim
.
Write this to your vimrc:
#!/bin/bash | |
# Title: Starter Bash Telegram Bot | |
# Version: 0.1-alpha | |
# Date: 2024-06-12 | |
# License: Unlicense | |
# Author: dctremblay@dasio.ca | |
# | |
# Telegram Bot API Documentation: | |
# https://core.telegram.org/bots/api#making-requests |