Couple Questions #1587
Replies: 1 comment
-
|
Hi 🙂 For gf, it should work if: Check your path setting with: :set path? If you’re inside a project, enable recursive search: :set path+=** If you’re using Neovim with Lua config: vim.opt.path:append(”**”) Also make sure gf wasn’t remapped by a plugin: :verbose nmap gf You don’t need visual mode — just place the cursor on the filename and press gf. ⸻ For search results (like “match 3 of 10”), use: set hlsearch If it’s not working, check: :verbose set shortmess? Make sure S is not included in shortmess. For Lua config: vim.opt.hlsearch = true |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all:)
Does gf for "go file" work? It doesn't seem to work for me AI says it should work as long as file is in project, and it also recommended selecting the path with visual mode. Neither of these seem to work for me.
Also...
I would like to get the little search results to show number of searches. I used before in vim something like:
set hlsearch
set incsearch
set shortmess-=S
To get my searches nice.
Anyone have success with this?
Beta Was this translation helpful? Give feedback.
All reactions