fixing vim spelling highlighting. - dotfiles - These are my dotfiles. There are many like it, but these are mine.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit a2bd958517467ee9ecab79fa22ff098d86e8015d
(DIR) parent 478fb89ec67381228ee8743006dc296cc29925ab
(HTM) Author: Jay Scott <me@jay.scot>
Date: Tue, 13 Sep 2022 22:21:09 +0100
fixing vim spelling highlighting.
Diffstat:
M newsboat/config | 4 ++--
M profile | 2 +-
M vimrc | 4 ++++
3 files changed, 7 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/newsboat/config b/newsboat/config
@@ -1,5 +1,5 @@
# Notify
-notify-program "herbe"
+notify-program "dunst"
notify-format "RSS Feeds : %d new articles"
# Default applications
@@ -33,6 +33,6 @@ confirm-mark-feed-read no
cleanup-on-quit yes
# Macros
-macro f set browser "firefox %u" ; open-in-browser ; set browser "~/bin/link_handler.sh"
+macro f set browser "qutebrowser %u" ; open-in-browser ; set browser "~/bin/link_handler.sh"
include /usr/share/doc/newsboat/contrib/colorschemes/gruvbox
(DIR) diff --git a/profile b/profile
@@ -28,7 +28,7 @@ export PS1="${BOLD}\w \$ ${RESET}"
GPG_TTY=$(tty)
export GPG_TTY
export EDITOR="vim"
-export BROWSER=firefox
+export BROWSER="qutebrowser"
export GOPATH="$XDG_DATA_HOME"/go
export GOPROXY=direct
(DIR) diff --git a/vimrc b/vimrc
@@ -105,6 +105,10 @@ autocmd BufWritePre * :%s/\s\+$//e
" spell-check the current buffer
map <leader>s :setlocal spell! spelllang=en_gb<CR>
+augroup my_colours
+ autocmd!
+ autocmd ColorScheme gruvbox hi SpellBad cterm=reverse
+augroup END
" format paragraph
map <leader>t :setl comments=fn\:\\|<CR>:setl formatoptions=tcorjq1l<CR>gqip