mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 01:14:53 +01:00
contrib: remove old copy of vim front end
Having two in the tree is just confusing. And the viml one is even more out of date than the ruby one.
This commit is contained in:
parent
59fed50a82
commit
2f2df00d43
9 changed files with 0 additions and 1630 deletions
|
@ -1,23 +0,0 @@
|
|||
.PHONY: all help install link symlink
|
||||
|
||||
files = plugin/notmuch.vim \
|
||||
$(wildcard syntax/notmuch-*.vim)
|
||||
prefix = $(HOME)/.vim
|
||||
destdir = $(prefix)/plugin
|
||||
|
||||
INSTALL = install -D -m644
|
||||
|
||||
all: help
|
||||
|
||||
help:
|
||||
@echo "I don't actually build anything, but I will help you install"
|
||||
@echo "notmuch support for vim."
|
||||
@echo
|
||||
@echo " make install - copy plugin scripts and syntax files to ~/.vim"
|
||||
@echo " make symlink - create symlinks in ~/.vim (useful for development)"
|
||||
|
||||
install:
|
||||
@for x in $(files); do $(INSTALL) $(CURDIR)/$$x $(prefix)/$$x; done
|
||||
|
||||
link symlink: INSTALL = ln -fs
|
||||
link symlink: install
|
|
@ -1,86 +0,0 @@
|
|||
This directory contains a vim script that allows reading notmuch mail
|
||||
through vim.
|
||||
|
||||
NOTE: this is a work in progress. Patches welcome. <bart@jukie.net>
|
||||
|
||||
Dependencies:
|
||||
notmuch:
|
||||
Naturally, it expects you have notmuch installed and configured.
|
||||
|
||||
sendmail:
|
||||
To send mail, notmuch.vim uses sendmail as default. Most modern MTAs
|
||||
provide a compatibility binary, and so should work well.
|
||||
|
||||
|
||||
To install:
|
||||
make install
|
||||
|
||||
|
||||
To run:
|
||||
vim -c ':NotMuch'
|
||||
|
||||
from vim:
|
||||
:NotMuch
|
||||
:NotMuch new to:bart@jukie.net 'subject:this is a test'
|
||||
|
||||
|
||||
Buffer types:
|
||||
[notmuch-folders]
|
||||
Folder list, or technically a list of saved searches.
|
||||
|
||||
Keybindings:
|
||||
<Enter> - show the selected search
|
||||
m - compose a new message
|
||||
s - enter search criteria
|
||||
= - refresh display
|
||||
|
||||
[notmuch-search]
|
||||
You are presented with the search results when you run :NotMuch.
|
||||
|
||||
Keybindings:
|
||||
<Space> - show the selected thread collapsing unmatched items
|
||||
<Enter> - show the entire selected thread
|
||||
a - archive message (remove inbox tag)
|
||||
f - filter the current search terms
|
||||
o - toggle search screen order
|
||||
m - compose a new message
|
||||
r - reply to thread
|
||||
s - enter search criteria
|
||||
,s - alter search criteria
|
||||
t - filter the current search terms with tags
|
||||
q - return to folder display, or undo filter
|
||||
+ - add tag(s) to selected message
|
||||
- - remove tag(s) from selected message
|
||||
= - refresh display
|
||||
? - reveal the thread ID of what's under cursor
|
||||
^] - search using word under cursor
|
||||
|
||||
[notmuch-show]
|
||||
This is the display of the message.
|
||||
|
||||
Keybindings:
|
||||
<Space> - mark read, archive, go to next matching message
|
||||
^n - next message
|
||||
^p - previous message
|
||||
b - toggle folding of message bodies
|
||||
c - toggle folding of citations
|
||||
h - toggle folding of extra header lines
|
||||
i - toggle folding of signatures
|
||||
m - compose a new message
|
||||
r - reply to the message
|
||||
s - enter search criteria
|
||||
q - return to search display
|
||||
? - reveal the message and thread IDs of what's under cursor
|
||||
^] - search using word under cursor
|
||||
|
||||
[notmuch-compose]
|
||||
When you're writing an email, you're in this mode.
|
||||
|
||||
Insert-mode keybindings:
|
||||
<Tab> - go to the next header line
|
||||
|
||||
Normal-mode keybindings:
|
||||
<Tab> - go to the next header line
|
||||
,s - send this message
|
||||
,q - abort this message
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
addon: notmuch
|
||||
description: "notmuch mail user interface"
|
||||
files:
|
||||
- plugin/notmuch.vim
|
||||
- syntax/notmuch-compose.vim
|
||||
- syntax/notmuch-folders.vim
|
||||
- syntax/notmuch-search.vim
|
||||
- syntax/notmuch-show.vim
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +0,0 @@
|
|||
runtime! syntax/mail.vim
|
||||
|
||||
syntax region nmComposeHelp contains=nmComposeHelpLine start='^Notmuch-Help:\%1l' end='^\(Notmuch-Help:\)\@!'
|
||||
syntax match nmComposeHelpLine /Notmuch-Help:/ contained
|
||||
|
||||
highlight link nmComposeHelp Include
|
||||
highlight link nmComposeHelpLine Error
|
|
@ -1,12 +0,0 @@
|
|||
" notmuch folders mode syntax file
|
||||
|
||||
syntax region nmFoldersCount start='^' end='\%10v'
|
||||
syntax region nmFoldersName start='\%11v' end='\%31v'
|
||||
syntax match nmFoldersSearch /([^()]\+)$/
|
||||
|
||||
highlight link nmFoldersCount Statement
|
||||
highlight link nmFoldersName Type
|
||||
highlight link nmFoldersSearch String
|
||||
|
||||
highlight CursorLine term=reverse cterm=reverse gui=reverse
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
syn match diffRemoved "^-.*"
|
||||
syn match diffAdded "^+.*"
|
||||
|
||||
syn match diffSeparator "^---$"
|
||||
syn match diffSubname " @@..*"ms=s+3 contained
|
||||
syn match diffLine "^@.*" contains=diffSubname
|
||||
|
||||
syn match diffFile "^diff .*"
|
||||
syn match diffNewFile "^+++ .*"
|
||||
syn match diffOldFile "^--- .*"
|
||||
|
||||
hi def link diffOldFile diffFile
|
||||
hi def link diffNewFile diffFile
|
||||
|
||||
hi def link diffFile Type
|
||||
hi def link diffRemoved Special
|
||||
hi def link diffAdded Identifier
|
||||
hi def link diffLine Statement
|
||||
hi def link diffSubname PreProc
|
||||
|
||||
syntax match gitDiffStatLine /^ .\{-}\zs[+-]\+$/ contains=gitDiffStatAdd,gitDiffStatDelete
|
||||
syntax match gitDiffStatAdd /+/ contained
|
||||
syntax match gitDiffStatDelete /-/ contained
|
||||
|
||||
hi def link gitDiffStatAdd diffAdded
|
||||
hi def link gitDiffStatDelete diffRemoved
|
|
@ -1,12 +0,0 @@
|
|||
syntax region nmSearch start=/^/ end=/$/ oneline contains=nmSearchDate
|
||||
syntax match nmSearchDate /^.\{-13}/ contained nextgroup=nmSearchNum
|
||||
syntax match nmSearchNum /.\{-4}/ contained nextgroup=nmSearchFrom
|
||||
syntax match nmSearchFrom /.\{-21}/ contained nextgroup=nmSearchSubject
|
||||
syntax match nmSearchSubject /.\{0,}\(([^()]\+)$\)\@=/ contained nextgroup=nmSearchTags
|
||||
syntax match nmSearchTags /.\+$/ contained
|
||||
|
||||
highlight link nmSearchDate Statement
|
||||
highlight link nmSearchNum Type
|
||||
highlight link nmSearchFrom Include
|
||||
highlight link nmSearchSubject Normal
|
||||
highlight link nmSearchTags String
|
|
@ -1,24 +0,0 @@
|
|||
" notmuch show mode syntax file
|
||||
|
||||
syntax cluster nmShowMsgDesc contains=nmShowMsgDescWho,nmShowMsgDescDate,nmShowMsgDescTags
|
||||
syntax match nmShowMsgDescWho /[^)]\+)/ contained
|
||||
syntax match nmShowMsgDescDate / ([^)]\+[0-9]) / contained
|
||||
syntax match nmShowMsgDescTags /([^)]\+)$/ contained
|
||||
|
||||
syntax cluster nmShowMsgHead contains=nmShowMsgHeadKey,nmShowMsgHeadVal
|
||||
syntax match nmShowMsgHeadKey /^[^:]\+: / contained
|
||||
syntax match nmShowMsgHeadVal /^\([^:]\+: \)\@<=.*/ contained
|
||||
|
||||
syntax cluster nmShowMsgBody contains=@nmShowMsgBodyMail,@nmShowMsgBodyGit
|
||||
syntax include @nmShowMsgBodyMail syntax/mail.vim
|
||||
|
||||
silent! syntax include @nmShowMsgBodyGit syntax/notmuch-git-diff.vim
|
||||
|
||||
highlight nmShowMsgDescWho term=reverse cterm=reverse gui=reverse
|
||||
highlight link nmShowMsgDescDate Type
|
||||
highlight link nmShowMsgDescTags String
|
||||
|
||||
highlight link nmShowMsgHeadKey Macro
|
||||
"highlight link nmShowMsgHeadVal NONE
|
||||
|
||||
highlight Folded term=reverse ctermfg=LightGrey ctermbg=Black guifg=LightGray guibg=Black
|
Loading…
Reference in a new issue