From Fuzzy to Fluent: Semantic Code Search in Vim/Neovim

1.3K Views

November 04, 25

スライド概要

VimConf 2025 LT Slides by @Sirasagi62
Please check here for GIFs and other files that were not converted to PDF:
https://github.com/sirasagi62/talks/tree/main/2025/VimConf2025-LT

GIFなどのPDFで適切に変換されていない要素は上記リンクをご参照ください。

profile-image

Slides: https://github.com/sirasagi62/talks

シェア

またはPlayer版

埋め込む »CMSなどでJSが使えない場合

ダウンロード

関連スライド

各ページのテキスト
1.

From to Semantic Code Search in Vim/Neovim By OKABE Gota (@sirasagi62 1

2.

I’m Sirasagi62 Sendai, Japan Tohoku Univ. TS/Go/Python/C++ … About 10 years 2

3.

Finder 3

5.

No, It’s 5

6.

Motivation Finding code is difficult “Searching with different verb with same meaning” “Can’t think of what words to search” 6

7.

Motivation Finding code is difficult “Searching with different verb with same meaning” “Can’t think of what words to search” → Cannot use synonym or sentences 7

8.

What is Fluent Finder and flf-vim flf-vim flf-vim finds code semantically → AI understands the meaning of the code 8

9.

Example 1: FlfDir flf-vim 10

10.

Problem flf-vim 11

11.

Problem ”FlfDir” takes a very long time flf-vim Example: Analyze vim source code → It takes 12

12.

Problem ”FlfDir” takes a very long time flf-vim Example: Analyze vim source code → It takes over 1 hour 13

13.

Problem ”FlfDir” takes a very long time flf-vim Example: Analyze vim source code → It takes over 1 hour Not 14

14.

Example 2: FlfBuf flf-vim 16

15.

Embedding Model Use SLMSmall Language Model) • Safe • Cost-Effective • Fast flf-vim

16.

Embedding Model “ruri-v370m-code-v-0.1” • Finetuned “ruri-v3” flf-vim

17.

Embedding Model “ruri-v370m-code-v-0.1” • Finetuned “ruri-v3” flf-vim

18.

Conclusion flf-vim flf-vim allows searching with natural languages

19.

More things to talk… flf-vim • Unclear behavior in Vim’s `:buffer` • A bug I found during development that crashes Bun.js in just 4 lines • Hacks to support both Vim and Neovim