All of the updates. - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 32b675556c1cd22bdce05d35ef570573bb39cbca
(DIR) parent 5451f7ce10bf6f86f9348e6c0d994330e075aa2e
(HTM) Author: Jay Scott <me@jay.scot>
Date: Tue, 22 Aug 2023 17:46:32 +0100
All of the updates.
Diffstat:
M .gitignore | 4 +++-
M ashrc | 4 ++--
A bin/offline.sh | 18 ++++++++++++++++++
D bin/old/offline.sh | 13 -------------
M castgetrc | 4 ++++
M lynx/bookmarks.html | 1 +
M newsboat/urls | 141 ++++++++++++++++---------------
M slrn/config | 2 +-
M slrn/slrnpull.conf | 14 +++++++++++++-
M vimrc | 26 ++++++++++++++++----------
10 files changed, 130 insertions(+), 97 deletions(-)
---
(DIR) diff --git a/.gitignore b/.gitignore
@@ -16,9 +16,10 @@ ncmpcpp/error.log
*.swp
bin/lf
bin/senpai
-bin/ytfzf
bin/terraform
bin/neonmodem
+bin/gitleaks
+bin/golangci-lint
# vim
vim/bundle
@@ -30,6 +31,7 @@ slrn/log
slrn/news
slrn/requests
slrn/authinfo
+slrn/jnews*
# mutt contacts
mutt/aliases
(DIR) diff --git a/ashrc b/ashrc
@@ -14,10 +14,10 @@ alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
GPG_TTY=$(tty)
export GPG_TTY
export EDITOR="vim"
-export PATH=$PATH:$HOME/bin
export BROWSER="qutebrowser"
export GOPATH="$XDG_DATA_HOME"/go
export GOPROXY=direct
+export PATH=$PATH:$GOPATH/bin:$HOME/bin:$HOME/.local/bin
export PS1="[\[$(tput sgr0)\]\[\033[38;5;7m\]\W\[$(tput sgr0)\]] \\$ \[$(tput sgr0)\]"
export BEMENU_OPTS="-p '> ' --tb '#013220' --tf '#ffffff' --hf '#444444'"
@@ -32,7 +32,7 @@ export LYNX_LSS=$HOME/.config/lynx/theme.lss
# slrn
export NNTPSERVER='snews://news.eternal-september.org:563'
-alias slrn='slrn -i ~/.config/slrn/config'
+alias slrn='slrn -i ~/.config/slrn/config -f ~/.config/slrn/jnewsrc'
alias slrnpull='slrnpull -d ~/.config/slrn/'
# safety first kids!
(DIR) diff --git a/bin/offline.sh b/bin/offline.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# podcasts
+printf "\n> Podcasts\n\n"
+castget -p
+
+# rss feeds (http/gemini) download
+printf "\n> RSS Feeds\n\n"
+newsboat -x reload
+newsboat -x print-unread
+
+# usenets
+printf "\n> Usenet\n\n"
+slrnpull -d ~/.config/slrn/
+
+# mail
+printf "\n> Mail\n\n"
+mbsync -q -a -c ~/.config/isync/mbsyncrc
(DIR) diff --git a/bin/old/offline.sh b/bin/old/offline.sh
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# youtube videos
-yt_dl.sh
-
-# podcasts
-castget -p
-
-# rss feeds (http/gemini) download
-update_feeds.sh
-
-# mail
-fdm -f ~/.config/fdm/config fetch
(DIR) diff --git a/castgetrc b/castgetrc
@@ -42,3 +42,7 @@ spool=/home/jay/media/podcasts/going-linux
[living-adventurously]
url=https://feeds.transistor.fm/living-adventurously
spool=/home/jay/media/podcasts/living-adventurously
+
+[selfhosted]
+url=https://feeds.fireside.fm/selfhosted/rss
+spool=/home/jay/media/podcasts/selfhosted
(DIR) diff --git a/lynx/bookmarks.html b/lynx/bookmarks.html
@@ -12,6 +12,7 @@
<ol>
<h2>Gopher</h2>
<LI><a href="gopher://jay.scot/">jay.scot</a>
+<LI><a href="gopher://gopher.tildeverse.org">gopher.tildeverse.org</a>
<LI><a href="gopher://freeshell.org/">freeshell</a>
<LI><a href="gopher://bitreich.org/">bitreich.org</a>
<LI><a href="gopher://gopherpedia.com/">gopherpedia</a>
(DIR) diff --git a/newsboat/urls b/newsboat/urls
@@ -10,86 +10,89 @@
"query:│ ├─ Videos:tags # \"youtube\""
# LINUX
-https://tilde.news/newest.rss "!" "~Tilde News" linux
-https://lwn.net/headlines/rss "!" "~LWN" linux
+https://tilde.news/newest.rss ! "~Tilde News" linux
+https://lwn.net/headlines/rss ! "~LWN" linux
+https://rss.slashdot.org/Slashdot/slashdotMain ! "~Slashdot" linux
# MEDIA
-https://showrss.info/other/all.rss "!" "~TV Torrents" media
-http://feed.rutracker.cc/atom/f/1992.atom "!" "~Linux Torrents" media
+https://showrss.info/other/all.rss ! "~TV Torrents" media
# GAMING
-https://www.gamingonlinux.com/article_rss.php "!" "~Gaming On Linux" gaming
+https://www.gamingonlinux.com/article_rss.php ! "~Gaming On Linux" gaming
# APPS
-https://blog.qutebrowser.org/feeds/all.atom.xml "!" "~Qutebrowser" apps
-https://newsboat.org/news.atom "!" "~Newsboat" apps
-https://git.sr.ht/~taiite/senpai/log/master/rss.xml "!" "~Senpai" apps
-https://github.com/mlj/castget/commits.atom "!" "~Castget" apps
+https://blog.qutebrowser.org/feeds/all.atom.xml ! "~Qutebrowser" apps
+https://newsboat.org/news.atom ! "~Newsboat" apps
+https://git.sr.ht/~taiite/senpai/log/master/rss.xml ! "~Senpai" apps
+https://github.com/mlj/castget/commits.atom ! "~Castget" apps
+https://status.hetzner.com/en.atom ! "~Hetzner" apps
+https://gitlab.alpinelinux.org/alpine/aports/-/issues.atom ! "~aports issues" apps
# PEOPLE
-https://codemadness.org/atom.xml "!" "~CodeMadness" people
-https://drewdevault.com/blog/index.xml "!" "~Drew DeVault" people
-http://joeyh.name/blog/index.rss "!" "~Joey H" people
-https://unixsheikh.com/feed.rss "!" "~Unix Sheikh" people
-https://www.uninformativ.de/blog/feeds/en.atom "!" "~Uninformativ" people
-https://aliquote.org/index.xml "!" "~Ali Quote" people
+https://codemadness.org/atom.xml ! "~CodeMadness" people
+https://drewdevault.com/blog/index.xml ! "~Drew DeVault" people
+http://joeyh.name/blog/index.rss ! "~Joey H" people
+https://unixsheikh.com/feed.rss ! "~Unix Sheikh" people
+https://www.uninformativ.de/blog/feeds/en.atom ! "~Uninformativ" people
+https://aliquote.org/index.xml ! "~Ali Quote" people
# GEMINI
-"exec:gemget tilde.team/~tomasino/atom.xml --output -" "!" "~tomasino@tilde.team" gemini
-"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" "!" "~Juans Gemlog" gemini
-"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" "!" "~Foobucket Gemlog" gemini
-"exec:gemget midnight.pub/feed.xml --output -" "!" "~Midnight Pub" gemini
-"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" "!" "~Antenna" gemini
+"exec:gemget tilde.team/~tomasino/atom.xml --output -" ! "~tomasino@tilde.team" gemini
+"exec:gemget capsule.usebox.net/gemlog/atom.xml --output -" ! "~Juans Gemlog" gemini
+"exec:gemget foobucket.xyz/gemlog/atom.xml --output -" ! "~Foobucket Gemlog" gemini
+"exec:gemget midnight.pub/feed.xml --output -" ! "~Midnight Pub" gemini
+"exec:gemget gemini://warmedal.se/~antenna/atom.xml --output -" ! "~Antenna" gemini
# ODYSEE
-https://odysee.com/$/rss/@AlphaNerd:8 "!" "~Mental Outlaws" youtube
-https://odysee.com/$/rss/@DistroTube:2 "!" "~DistroTube" youtube
-https://odysee.com/$/rss/@BrodieRobertson:5 "!" "~Brodie Robertson" youtube
-https://odysee.com/$/rss/@OfficialZaney:8 "!" "~Zaney" youtube
-https://odysee.com/$/rss/@thelinuxcast:4 "!" "~Linux Cast" youtube
-https://odysee.com/$/rss/@SystemCrafters:e "!" "~System Crafters" youtube
-https://odysee.com/$/rss/@tuxfoo:e "!" "~Tuxfoo" youtube
-https://odysee.com/$/rss/@hexdsl:7 "!" "~HexDSL" youtube
+https://odysee.com/$/rss/@AlphaNerd:8 ! "~Mental Outlaws" youtube
+https://odysee.com/$/rss/@DistroTube:2 ! "~DistroTube" youtube
+https://odysee.com/$/rss/@BrodieRobertson:5 ! "~Brodie Robertson" youtube
+https://odysee.com/$/rss/@OfficialZaney:8 ! "~Zaney" youtube
+https://odysee.com/$/rss/@thelinuxcast:4 ! "~Linux Cast" youtube
+https://odysee.com/$/rss/@SystemCrafters:e ! "~System Crafters" youtube
+https://odysee.com/$/rss/@tuxfoo:e ! "~Tuxfoo" youtube
+https://odysee.com/$/rss/@hexdsl:7 ! "~HexDSL" youtube
# YOUTUBE
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA "!" youtube # Steve1989MREInfo
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ "!" youtube # Dave Snider
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ "!" youtube # Bright Sun Films
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA "!" youtube # Harald Baldr
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKygRpISlqs5TufcT3JtRng "!" youtube # Dale Philip
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg "!" youtube # Simon Wilson
-https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA "!" youtube # SideNote
-https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A "!" youtube # c90adventures
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA "!" youtube # Indigo Traveller
-https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw "!" youtube # PPPeter
-https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA "!" youtube # Bald and Bankrupt
-https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg "!" youtube # PreachGaming
-https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw "!" youtube # Vagrant Holiday
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg "!" youtube # Abroad in Japan
-https://www.youtube.com/feeds/videos.xml?channel_id=UCB2GbNXOsy3VBksSD58NvhQ "!" youtube # Daily Bald
-https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow "!" youtube # Mentour Pilot
-https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg "!" youtube # Serpentza
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw "!" youtube # Shiey
-https://www.youtube.com/feeds/videos.xml?channel_id=UCWm__g4cPmX-umorqM8VfWw "!" youtube # LukeDamant
-https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg "!" youtube # Vagabond
-https://www.youtube.com/feeds/videos.xml?channel_id=UCeKshd39k29Ipg9sWVaU3-Q "!" youtube # thesalukie
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA "!" youtube # Daly Life Outdoors
-https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew "!" youtube # English Woodsman
-https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA "!" youtube # Paul Messer
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "!" youtube # Bushman & Blue
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg "!" youtube # Noel Phillips
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng "!" youtube # clawd00d
-https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA "!" youtube # Quin69
-https://www.youtube.com/feeds/videos.xml?channel_id=UCs2Kaw3Soa63cJq3H0VA7og "!" youtube # rwxrob
-https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw "!" youtube # Jupiter Broadcasting
-https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw "!" youtube # Linux Experiment
-https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g "!" youtube # JokerTV
-https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA "!" youtube # TheLazyPeon
-https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q "!" youtube # BushmanAndBlue
-https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww "!" youtube # AlastairHumphreys
-https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg "!" youtube # BackpackerBen
-https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw "!" youtube # MaxFosh
-https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA "!" youtube # AutoAlex
-https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g "!" youtube # SteveWallis
-https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw "!" youtube # HamsterWheelGaming
-https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw "!" youtube # TA Outdoors
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2I6Et1JkidnnbWgJFiMeHA ! youtube # Steve1989MREInfo
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7uO9V1Frl_wPd9d1qOm_RQ ! youtube # Dave Snider
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5k3Kc0avyDJ2nG9Kxm9JmQ ! youtube # Bright Sun Films
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKr68ZJ4vv6VloNdnS2hjhA ! youtube # Harald Baldr
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKygRpISlqs5TufcT3JtRng ! youtube # Dale Philip
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQCrKxBj5Id79syQEsY2Qxg ! youtube # Simon Wilson
+https://www.youtube.com/feeds/videos.xml?channel_id=UCRvWwMPr2SmSG7rXXzeEUdA ! youtube # SideNote
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVqpNG1R72i21jh-nAxEk4A ! youtube # c90adventures
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXulruMI7BHj3kGyosNa0jA ! youtube # Indigo Traveller
+https://www.youtube.com/feeds/videos.xml?channel_id=UCnHEz9DZ6EAof1-DaQGD_Xw ! youtube # PPPeter
+https://www.youtube.com/feeds/videos.xml?channel_id=UCxDZs_ltFFvn0FDHT6kmoXA ! youtube # Bald and Bankrupt
+https://www.youtube.com/feeds/videos.xml?channel_id=UCXJL3ST-O0J3nqzQyPJtpNg ! youtube # PreachGaming
+https://www.youtube.com/feeds/videos.xml?channel_id=UCgNqlRGqHdxNRPR6ycynWhw ! youtube # Vagrant Holiday
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHL9bfHTxCMi-7vfxQ-AYtg ! youtube # Abroad in Japan
+https://www.youtube.com/feeds/videos.xml?channel_id=UCB2GbNXOsy3VBksSD58NvhQ ! youtube # Daily Bald
+https://www.youtube.com/feeds/videos.xml?channel_id=UCwpHKudUkP5tNgmMdexB3ow ! youtube # Mentour Pilot
+https://www.youtube.com/feeds/videos.xml?channel_id=UCl7mAGnY4jh4Ps8rhhh8XZg ! youtube # Serpentza
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpXwMqnXfJzazKS5fJ8nrVw ! youtube # Shiey
+https://www.youtube.com/feeds/videos.xml?channel_id=UCWm__g4cPmX-umorqM8VfWw ! youtube # LukeDamant
+https://www.youtube.com/feeds/videos.xml?channel_id=UCO8MMsO_XRjO7X4iGCuKdwg ! youtube # Vagabond
+https://www.youtube.com/feeds/videos.xml?channel_id=UCeKshd39k29Ipg9sWVaU3-Q ! youtube # thesalukie
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpiWxsm9Gt_HK7d-jqkU4MA ! youtube # Daly Life Outdoors
+https://www.youtube.com/feeds/videos.xml?channel_id=UCPqdx8N99fs4IDoK_XA1aew ! youtube # English Woodsman
+https://www.youtube.com/feeds/videos.xml?channel_id=UCI3mQP0kLxdZKhNtcHhExyA ! youtube # Paul Messer
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdVEfdWcNwL5jWmwaNWEf1Q ! youtube # Bushman & Blue
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2O6HDtMOZf9FkUAepz9Atg ! youtube # Noel Phillips
+https://www.youtube.com/feeds/videos.xml?channel_id=UCdQ3VoDGjjl3NsfB3V0mPng ! youtube # clawd00d
+https://www.youtube.com/feeds/videos.xml?channel_id=UCpNBjjE8y8eFPhDU4YzYmKA ! youtube # Quin69
+https://www.youtube.com/feeds/videos.xml?channel_id=UCs2Kaw3Soa63cJq3H0VA7og ! youtube # rwxrob
+https://www.youtube.com/feeds/videos.xml?channel_id=UCHugE6eRhqB9_AZQh4DDbIw ! youtube # Jupiter Broadcasting
+https://www.youtube.com/feeds/videos.xml?channel_id=UC5UAwBUum7CPN5buc-_N1Fw ! youtube # Linux Experiment
+https://www.youtube.com/feeds/videos.xml?channel_id=UCf-5nkCm0Mldj5xwq8wca_g ! youtube # JokerTV
+https://www.youtube.com/feeds/videos.xml?channel_id=UCE-f0sqi-H7kuLT0YiW9rcA ! youtube # TheLazyPeon
+https://www.youtube.com/feeds/videos.xml?channel_id=UCKsTMxQP7HUCRTuNEEQWLww ! youtube # AlastairHumphreys
+https://www.youtube.com/feeds/videos.xml?channel_id=UC7McxlM5qJVjqLBRYcHyylg ! youtube # BackpackerBen
+https://www.youtube.com/feeds/videos.xml?channel_id=UCb31gOY6OD8ES0zP8M0GhAw ! youtube # MaxFosh
+https://www.youtube.com/feeds/videos.xml?channel_id=UCqWFLuBLPiaeNzYAek6BOmA ! youtube # AutoAlex
+https://www.youtube.com/feeds/videos.xml?channel_id=UCSnqXeK94-iNmwqGO__eJ5g ! youtube # SteveWallis
+https://www.youtube.com/feeds/videos.xml?channel_id=UCQkKf5qwYKyJlyhZPbdAVmw ! youtube # HamsterWheelGaming
+https://www.youtube.com/feeds/videos.xml?channel_id=UC2SMpy2oZV6BoyJEYShw9bw ! youtube # TA Outdoors
+https://www.youtube.com/feeds/videos.xml?channel_id=UCDQ9L4eFHxSh0BM6z-SkZMw ! youtube # Ned in the Cloud
+https://www.youtube.com/feeds/videos.xml?channel_id=UC3Vuq4Q1bKFtAiKYlwRv3oA ! youtube # Peter Santenello
(DIR) diff --git a/slrn/config b/slrn/config
@@ -1,7 +1,7 @@
% user
set username "jay"
set hostname "jay.invalid"
-set realname "jay.scot"
+set realname "jay"
set generate_message_id 0
% apps
(DIR) diff --git a/slrn/slrnpull.conf b/slrn/slrnpull.conf
@@ -19,7 +19,6 @@ alt.gopher
alt.linux
alt.ph.uk
alt.usenet.newbies
-alt.test 1000 14 0
comp.infosystems.gopher
comp.mail.mutt
comp.os.linux.announce
@@ -35,4 +34,17 @@ rec.radio.shortwave
soc.culture.scottish
uk.local.scot-highlands
uk.radio.amateur
+uk.telecom
comp.infosystems.gemini
+alt.comp.software.tools
+alt.conspiracy
+alt.cyberpunk
+alt.folklore.computers
+alt.hacker
+alt.hacking
+alt.os.linux.slackware
+alt.os.linux
+alt.privacy
+alt.radio.talk
+news.admin.peering
+alt.cypherpunks
(DIR) diff --git a/vimrc b/vimrc
@@ -50,16 +50,6 @@ Plug 'junegunn/fzf.vim'
Plug 'airblade/vim-gitgutter'
let g:gitgutter_enabled=1
-Plug 'rhysd/vim-grammarous'
- let g:grammarous#hooks = {}
- map <leader>d :GrammarousCheck<CR>
- function! g:grammarous#hooks.on_check(errs) abort
- nmap <buffer><C-n> <Plug>(grammarous-move-to-next-error)
- nmap <buffer><C-p> <Plug>(grammarous-move-to-previous-error)
- endfunction
-
-Plug 'https://tildegit.org/sloum/gemini-vim-syntax'
-
Plug 'dense-analysis/ale'
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
@@ -74,6 +64,22 @@ Plug 'dense-analysis/ale'
let g:ale_linters_explicit = 1
let g:ale_sign_column_always = 1
+
+Plug 'fatih/vim-go'
+ autocmd FileType go nmap <leader>b <Plug>(go-build)
+ autocmd FileType go nmap <leader>r <Plug>(go-run)
+ autocmd FileType go nmap <leader>t <Plug>(go-test)
+ autocmd BufNewFile,BufRead *.go setlocal noexpandtab tabstop=4 shiftwidth=4
+ map <C-n> :cnext<CR>
+ map <C-m> :cprevious<CR>
+ nnoremap <leader>a :cclose<CR>
+
+ let g:go_list_type = "quickfix"
+ let g:go_highlight_types = 1
+ let g:go_highlight_function_calls = 1
+ let g:go_metalinter_autosave = 1
+ let g:go_fmt_autosave = 1
+
call plug#end()
filetype plugin indent on