2
0

More than 3 years have passed since last update.

Windows 上のNeovim+QFixHowmでカーソル位置のURIが開けないとき

Last updated at Posted at 2020-03-17

windows上のNeovimにQFixHowmを導入したところ,カーソル位置のURIを<ENTER>で開けなかったので,実施した対処をメモしておく.

環境

バージョン情報など
OS Windows 10 Education 1903
Neovim Neovim v0.4.3
QFixHowm QFixHowm Ver.3

対処

qfixhowm-mastar/autoload/openuri.vimの中に以下の記述を加えた.
* 番号の前に+がついた行が追加箇所

...
 125  "カーソル位置のファイルを開くコマンド"
 126  if !exists('g:openuri_cmd')
 127    if has('mac')
 128      let g:openuri_cmd = "call system('open %s')"
+129    elseif has('win64')
+130      let g:openuri_cmd = "call system('start %s')"
 131    elseif has('unix')
...

おわりに

Windows 上のNeovim+QFixHowmでカーソル位置のURIが開けないときの対処を示した.もしかすると,こんなことしなくても動くのかもしれない..

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0