From 86feae3b59994ecd715f830fce9c0880c696f680 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 12 Jan 2023 13:36:17 +0100 Subject: [neomutt] Improve config --- mutt/.mutt/muttrc | 10 +++++++++- vim/.vimrc | 11 +++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index 280bac6..0795832 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -6,6 +6,10 @@ set message_cachedir = ~/.mutt/cache/bodies set mailcap_path = ~/.mutt/mailcap set tmpdir = ~/.mutt/temp +# Neomutt fix +bind pager g noop +bind index g noop + # Source crypto, aliases, mailboxes source ~/.mutt/colors.muttrc source ~/.mutt/crypto @@ -66,7 +70,11 @@ set editor="$EDITOR" set include=yes # Index -set index_format="%4C %X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" +set index_format="%@emoji@%4C %X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" +index-format-hook emoji "~F" "✨" +index-format-hook emoji "~X 1-10" "📎" +index-format-hook emoji "~G" "🔐" +index-format-hook emoji "~A" " " # Macros macro index,pager gp " +Personal/Personal" diff --git a/vim/.vimrc b/vim/.vimrc index b3558ff..91ef1ab 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -162,6 +162,14 @@ let g:neomake_gcc_args=[ \ ] let g:neomake_python_enabled_makers = ['python', 'pylint'] + let g:neomake_error_sign = { + \ 'text': '🍁', + \ 'texthl': 'NeomakeErrorSign', + \ } + let g:neomake_warning_sign = { + \ 'text': '💦', + \ 'texthl': 'NeomakeWarningSign', + \ } " FZF.vim let $FZF_DEFAULT_OPTS='--layout=reverse' @@ -352,6 +360,9 @@ inoreabbrev #!! "#!/usr/bin/env" . (empty(&filetype) ? '' : ' '.&filetype inoremap h1z=ea nnoremap s 1z= +" fzf +nnoremap :GitFiles + " Projectionist nnoremap ,e :E -- cgit v1.2.3