From 6674d294ff99b4f6439e6e7f7a8cde399d2bf507 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Thu, 15 Mar 2018 21:03:31 -0700 Subject: New machine. New configs. --- base/muttrc | 11 ++++++++--- base/vim/bundle/fetch_bundles.sh | 10 ++++++++++ base/vimrc | 26 +++++--------------------- 3 files changed, 23 insertions(+), 24 deletions(-) create mode 100755 base/vim/bundle/fetch_bundles.sh (limited to 'base') diff --git a/base/muttrc b/base/muttrc index b3b2531..bad1a74 100644 --- a/base/muttrc +++ b/base/muttrc @@ -18,6 +18,7 @@ unset markers set text_flowed=yes set display_filter="~/bin/mutt-display-filter.sh" auto_view text/html +alternative_order text/plain text/enriched text/html # Headers ignore * @@ -28,6 +29,7 @@ set forward_format="Fwd: %s" macro pager "" "Previous line" macro pager "" "Next line" +bind index g noop bind index gg first-entry bind index G last-entry bind index R group-reply @@ -35,14 +37,17 @@ macro index c "?" "open a different folder" macro pager c "?" "open a different folder" macro index C "?" "copy a message to a mailbox" macro index M "?" "move a message to a mailbox" -macro index e "+archived" "Archive a message." -macro pager e "+archived" "Archive a message." +# For gmail, don't move the message to archive, just remove it from the inbox. +#macro index e "+archive" "Archive a message." +#macro pager e "+archive" "Archive a message." +macro index e "" "Archive a message." +macro pager e "" "Archive a message." macro index S "+spam" "Report message as spam." macro index d "+trash" "Move to trash" macro pager d "+trash" "Move to trash" macro pager \Cu "|urlview" "view links in urlview" -macro index \es "unset wait_keymutt-notmuch-py ~/.maildir/search=search" "Search All Mail" +macro index \es "unset wait_keynotmuch-mutt --prompt search~/.cache/notmuch/mutt/results/" "Search All Mail" # Colors #color index brightwhite default ~N diff --git a/base/vim/bundle/fetch_bundles.sh b/base/vim/bundle/fetch_bundles.sh new file mode 100755 index 0000000..315100f --- /dev/null +++ b/base/vim/bundle/fetch_bundles.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +## +## I don't want to include the plugin repos in my dotfiles, +## so here are the comments to fetch the plugins I care about. +## + +git clone git://github.com/tpope/vim-abolish.git +git clone https://github.com/ctrlpvim/ctrlp.vim.git +git clone https://github.com/tomtom/tcomment_vim.git diff --git a/base/vimrc b/base/vimrc index 4fa8955..d8b2003 100644 --- a/base/vimrc +++ b/base/vimrc @@ -118,27 +118,6 @@ endfunction " Run it every time we change buffers autocmd BufEnter,BufFilePost * call SetTitle() -perl < :CtrlPTag +map :redo + " Load host-specific settings set runtimepath^=~/.host-specific/vim, set runtimepath+=~/.host-specific/vim/after -- cgit v1.2.3