fuenor / qfixhowm Goto Github PK
View Code? Open in Web Editor NEWThis is a test version of QFixHowm.
Home Page: http://sites.google.com/site/fudist/Home/qfixdev
This is a test version of QFixHowm.
Home Page: http://sites.google.com/site/fudist/Home/qfixdev
なぜか分からないのですが、windows上で:help qfixhowm
とすると化けます。
他の日本語を含んだhelpはちゃんと見れています。
キーマップが衝突しているようです。
diff --git a/autoload/qfixgrep.vim b/autoload/qfixgrep.vim
index 883d475..816791d 100644
--- a/autoload/qfixgrep.vim
+++ b/autoload/qfixgrep.vim
@@ -164,14 +164,10 @@ if g:MyGrep_Keymap
exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'b :<C-u>call <SID>BGrep("", -1, 0)<CR>'
exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'e :<C-u>call <SID>QFGrep("Grep")<CR>'
exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'e :<C-u>call <SID>QFGrep("GrepV")<CR>'
- exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'g :<C-u>call <SID>QFGrep("Grep")<CR>'
- exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'g :<C-u>call <SID>QFGrep("GrepV")<CR>'
exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'f :<C-u>call <SID>QFGrep("FGrep")<CR>'
exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'f :<C-u>call <SID>QFGrep("FGrepV")<CR>'
exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'re :<C-u>call <SID>QFGrep("RGrep")<CR>'
exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'re :<C-u>call <SID>QFGrep("RGrepV")<CR>'
- exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'rg :<C-u>call <SID>QFGrep("RGrep")<CR>'
- exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'rg :<C-u>call <SID>QFGrep("RGrepV")<CR>'
exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'rf :<C-u>call <SID>QFGrep("RFGrep")<CR>'
exe 'silent! vnoremap <unique> <silent> '.s:MyGrep_Key.'rf :<C-u>call <SID>QFGrep("RFGrepV")<CR>'
exe 'silent! nnoremap <unique> <silent> '.s:MyGrep_Key.'v :<C-u>call <SID>QFGrep("Vimgrep")<CR>'
vimrcに
set verbosefile=foo
とし、起動直後に終了しただけでもこれだけ出ました。
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 267:
E122: 関数 QFixMemoBufWritePre は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 479:
E122: 関数 QFixMemoVimEnter は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 483:
E122: 関数 QFixMemoInit は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 573:
E122: 関数 QFixMemoFoldingLevel は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 592:
E122: 関数 QFixMemoBufEnterPre は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 1744:
E122: 関数 QFixMemoQFBufWinEnterPost は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 2062:
E122: 関数 QFixMemoRebuildKeyword は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmemo.vim の処理中にエラーが検出されました:
行 2070:
E122: 関数 QFixMemoUserModeCR は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmru.vim の処理中にエラーが検出されました:
行 264:
E122: 関数 QFixNormalizePath は定義済です, 再定義するには ! を追加してください
c:\Documents and Settings\mattn\vimfiles\bundle\qfixhowm\plugin\qfixmru.vim の処理中にエラーが検出されました:
行 305:
E122: 関数 QFixPreviewReadOpt は定義済です, 再定義するには ! を追加してください
ちなみに、関数の宣言が
function! Foo()
ではなく
silent! function Foo()
なのは意図してでしょうか?
良く忘れるので、時間のあるときでいいのでお願いします。
qfixmemo用に設定している内容はこれだけ
let g:mygrepprg = 'jvgrep'
その上でg,l
すると以下のエラーが出ました。masterブランチ最新です。
正規表現がなんたらというエラーが出る。おそらくファイル名で正規表現オペレータを使ってしまっている為。
一応、以下で動いていますが、正しいかどうかは分かりません。
diff --git a/plugin/qfixmemo.vim b/plugin/qfixmemo.vim
index 0c176ef..039470d 100644
--- a/plugin/qfixmemo.vim
+++ b/plugin/qfixmemo.vim
@@ -876,7 +876,7 @@ endfunction
function! s:isQFixMemo(file)
let file = fnamemodify(a:file, ':p')
- if file =~ substitute(expand(g:qfixmemo_submenu_title), '\\', '/', 'g')
+ if file == fnamemodify(expand(g:qfixmemo_submenu_title), ':p')
return 1
endif
if fnamemodify(file, ':e') != g:qfixmemo_ext
結構コードが大きめなので、autoload化してメモリを節約したい。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.