Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kashav/vim-searchfox
Use Searchfox (https://searchfox.org) directly from Vim.
https://github.com/kashav/vim-searchfox
firefox mozilla vim
Last synced: about 16 hours ago
JSON representation
Use Searchfox (https://searchfox.org) directly from Vim.
- Host: GitHub
- URL: https://github.com/kashav/vim-searchfox
- Owner: kashav
- License: mit
- Created: 2018-06-26T04:01:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T02:23:12.000Z (over 6 years ago)
- Last Synced: 2024-06-12T10:05:33.504Z (5 months ago)
- Topics: firefox, mozilla, vim
- Language: Vim script
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## vim-searchfox
vim-searchfox allows you to use [Searchfox](https://searchfox.org) directly from Vim.
### Installation
Install with your preferred installation method. I recommend [vim-plug](https://github.com/junegunn/vim-plug):
```vim
call plug#begin('~/.vim/plugged')
Plug 'kshvmdn/vim-searchfox'
call plug#end()
```### Usage
To open the current file (at the current line), use the `SFOpen` command.
```
:SFOpen
```To lookup a word, use the `SFSearch` command. This also works in visual mode with a selection.
```
:SFSearch
```### Configuration
- `g:searchfox_url`
Sets the Searchfox repository URL. Defaults to [mozilla-central](https://hg.mozilla.org/mozilla-central).
```vim
let g:searchfox_url = "https://searchfox.org/mozilla-central/"
```