diff options
| author | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-21 11:43:43 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <typebrook@gmail.com> | 2022-06-21 11:43:43 +0800 |
| commit | e00934d0910471a4643971df25fe03b26d38b1ed (patch) | |
| tree | 1d17a9aad22bf50a83ceb56a90bda6db1d8e1605 | |
| parent | 184d59402c1ede63bde354a01904320ae189fda9 (diff) | |
Update
| -rw-r--r-- | alias | 2 | ||||
| -rw-r--r-- | mutt/muttrc | 4 | ||||
| -rw-r--r-- | tigrc | 2 |
3 files changed, 3 insertions, 5 deletions
| @@ -76,7 +76,7 @@ alias ll='ls -lh' | |||
| 76 | alias lla='ls -lha' | 76 | alias lla='ls -lha' |
| 77 | llw() { which $1 | xargs ls -alh; } | 77 | llw() { which $1 | xargs ls -alh; } |
| 78 | alias hg='history | grep' | 78 | alias hg='history | grep' |
| 79 | rmrf() { mv $@ /tmp/; } | 79 | rmrf() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; } |
| 80 | alias rr='_move_to_tmp' | 80 | alias rr='_move_to_tmp' |
| 81 | alias sound="echo -ne '\a'" | 81 | alias sound="echo -ne '\a'" |
| 82 | pst(){ pstree -ps ${1:-$$}; } | 82 | pst(){ pstree -ps ${1:-$$}; } |
diff --git a/mutt/muttrc b/mutt/muttrc index 6f9b820..fb3fd7e 100644 --- a/mutt/muttrc +++ b/mutt/muttrc | |||
| @@ -48,7 +48,7 @@ bind index y edit-label | |||
| 48 | bind index x tag-entry | 48 | bind index x tag-entry |
| 49 | bind index t edit-label | 49 | bind index t edit-label |
| 50 | bind index,browser l select-entry | 50 | bind index,browser l select-entry |
| 51 | bind index \cl limit | 51 | bind index \\ limit |
| 52 | bind index \cj next-entry | 52 | bind index \cj next-entry |
| 53 | bind index \ck previous-entry | 53 | bind index \ck previous-entry |
| 54 | bind index,browser G last-entry | 54 | bind index,browser G last-entry |
| @@ -75,7 +75,7 @@ macro generic,index,pager \cr ":source ~/.config/mutt/muttrc\n" "Reload mutt's c | |||
| 75 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" | 75 | macro index <Return> ":exec sync-mailbox\n" "Sync Mailbox" |
| 76 | macro index *a "Tall\n" "Select All" | 76 | macro index *a "Tall\n" "Select All" |
| 77 | macro index *n "\ctall\n" "Deselect All" | 77 | macro index *n "\ctall\n" "Deselect All" |
| 78 | macro index h "\clall\n" "All messages" | 78 | macro index h "\\all\n" "All messages" |
| 79 | macro index d '<tag-prefix><delete-message>' 'Delete' | 79 | macro index d '<tag-prefix><delete-message>' 'Delete' |
| 80 | 80 | ||
| 81 | # Sidebar | 81 | # Sidebar |
| @@ -203,8 +203,6 @@ bind main I >sh -c "hub issue | tig" | |||
| 203 | # Misc | 203 | # Misc |
| 204 | ## Statistics | 204 | ## Statistics |
| 205 | bind main gc >sh -c 'cloc --git %(commit) | tig' | 205 | bind main gc >sh -c 'cloc --git %(commit) | tig' |
| 206 | ## Script to bump Android version | ||
| 207 | bind main <C-B> !sh -c 'scripts/bump_version.sh && scripts/whatsnew.sh' | ||
| 208 | 206 | ||
| 209 | # note | 207 | # note |
| 210 | #bind generic gnn !git notes edit %(commit) | 208 | #bind generic gnn !git notes edit %(commit) |