summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2023-01-12 13:36:17 +0100
committerUrbain Vaes <urbain@vaes.uk>2023-01-12 13:36:17 +0100
commit86feae3b59994ecd715f830fce9c0880c696f680 (patch)
treed28d0ff6218510d8005b1098a05f2a207dbefa47
parent3ed833b675dd9e7ce480f9c84e974baff2c3a0bc (diff)
[neomutt] Improve config
-rw-r--r--mutt/.mutt/muttrc10
-rw-r--r--vim/.vimrc11
2 files changed, 20 insertions, 1 deletions
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 "<change-folder> +Personal/Personal<enter>"
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 <expr> #!! "#!/usr/bin/env" . (empty(&filetype) ? '' : ' '.&filetype
inoremap <nowait> <c-g> <esc>h1z=ea
nnoremap <Leader>s 1z=
+" fzf
+nnoremap <Tab> :GitFiles<cr>
+
" Projectionist
nnoremap ,e :E