From cac3c2073b17eda54800c6e9a4a1a71d791f3b46 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 6 Mar 2021 01:38:42 -0500 Subject: Remove rfc.vim I don't use neovim regularly anymore and I prefer rfc as an analog to man. --- doc/rfc/Makefile | 8 -------- doc/rfc/rfc.vim | 30 ------------------------------ 2 files changed, 38 deletions(-) delete mode 100644 doc/rfc/rfc.vim (limited to 'doc') diff --git a/doc/rfc/Makefile b/doc/rfc/Makefile index 445e1163..e185dd97 100644 --- a/doc/rfc/Makefile +++ b/doc/rfc/Makefile @@ -27,14 +27,6 @@ install: ${BINS} rfc.1 ln -fs rfc.1 ${MANDIR}/man1/rfctags.1 rsync -ptz ${RFCS} ${PREFIX}/share/rfc -install-nvim: install rfc.vim - install -d ${PREFIX}/share/nvim/site/plugin - install -m 644 rfc.vim ${PREFIX}/share/nvim/site/plugin - (cd ${PREFIX}/share/rfc \ - && printf '!_TAG_FILE_SORTED\t2\ttags\n' \ - && ${PREFIX}/bin/rfctags *.txt) | sort -f > ${PREFIX}/share/rfc/tags - uninstall: rm -f ${BINS:%=${PREFIX}/bin/%} ${BINS:%=${MANDIR}/man1/%.1} - rm -f ${PREFIX}/share/nvim/site/plugin/rfc.vim rm -fr ${PREFIX}/share/rfc diff --git a/doc/rfc/rfc.vim b/doc/rfc/rfc.vim deleted file mode 100644 index 4649cdf5..00000000 --- a/doc/rfc/rfc.vim +++ /dev/null @@ -1,30 +0,0 @@ -if !exists('g:rfc_path') - let g:rfc_path = fnamemodify(exepath('rfc'), ':h:h') . '/share/rfc' -endif - -function! s:RFC(number) - if !empty(a:number) - let number = str2nr(matchstr(a:number, '\d\+'), 10) - else - let number = '-index' - endif - let path = expand(g:rfc_path . '/rfc' . number . '.txt') - if filereadable(path) - execute 'silent' 'noswapfile' 'view' path - else - echohl ErrorMsg | echo 'No such RFC' a:number | echohl None - endif -endfunction - -function! s:BufRead() - setlocal readonly - setlocal keywordprg=:RFC - setlocal iskeyword=a-z,A-Z,48-57,.,[,],-,_ - nmap gO :call search('^Table of Contents', 'bcs') -endfunction - -command! -bar -nargs=? RFC call s:RFC() -augroup RFC - autocmd! - autocmd BufRead rfc*.txt call s:BufRead() -augroup END -- cgit 1.4.1 ' name='q' value=''/>
Commit message (Expand)Author
2020-02-10Only write out title on uiDrawJune McEnroe
2020-02-10Manually raise SIGINT from C-cJune McEnroe
2020-02-10Split on <> in colorMentionsJune McEnroe
2020-02-10Replace alignment tabs with spaces in bufferListJune McEnroe
2020-02-10Add C-o as alias of M-/June McEnroe
2020-02-10Only automatically switch to expected joinsJune McEnroe
2020-02-10Delegate to commandPrivmsg from commandMsgJune McEnroe
2020-02-10Synthesize a QUIT message to handle on exitJune McEnroe
2020-02-10Factor out XDG base directory codeJune McEnroe
2020-02-10Leave a blank line after loaded bufferJune McEnroe
2020-02-10Add -s to save and load buffersJune McEnroe
2020-02-10Show heat and other unread in titleJune McEnroe
2020-02-10Eliminate array in hashJune McEnroe
2020-02-10Add -HJune McEnroe
2020-02-10Hash to colors in the range 2-75June McEnroe
2020-02-10Improve color fudgingJune McEnroe
2020-02-10Support all 99 IRC colorsJune McEnroe
2020-02-10Avoid coloring mentions if there are control codesJune McEnroe
2020-02-10Recalculate unreadLines on reflowJune McEnroe
2020-02-10Only make windows hotterJune McEnroe
2020-02-10Always increase unreadLinesJune McEnroe
2020-02-10Move scroll marker on resizeJune McEnroe
2020-02-10Update line count for words longer than linesJune McEnroe
2020-02-10Simplify mark, heat, unread trackingJune McEnroe
2020-02-10Update prompt when own nick changesJune McEnroe
2020-02-10Match URLs surrounded by parenthesesJune McEnroe
2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe
2020-02-09Add M-lJune McEnroe
2020-02-09Add /whoisJune McEnroe
2020-02-09Add /msgJune McEnroe