Clone this repository in the "plugin" directory of runtimepath.
To see the paths of runtimepath:
:set runtimepath?
Or clone it into the "plugin" directory of Vim executable's root path.
Edit a file with either an Unix path or a Windows path.
| Command | Description |
|---|---|
| :Efile | Edit the file, the path can be an Unix path or Windows path. |
Move the cursor to the window by buffer number.
| Command | Description |
|---|---|
| :FocusWindowByBuffer N | N is the buffer number. |
The hotkey brings out :FocusWindowByBuffer in command mode, so that you can just enter the buffer number.
| Hotkey | Description |
|---|---|
| fw | Brings out the FocusWindowByBuffer command. |
I suggest to use fzf.vim for using fzf in Vim. This plugin is for those has problems with fzf.vim.
| Command | Description |
|---|---|
| :FF | Open fzf to search files. |
| Hotkey | Description |
|---|---|
| g | Use grep to search current selected word(s). |
| Option | Description | Sample |
|---|---|---|
| g:vsp_grep_by_rg | Use ripgrep to search, jremmen/vim-ripgrep is required. | :let g:vsp_grep_by_rg=1 |
| Command | Description |
|---|---|
| :Sqlplus | Execute all the sql in current buffer. |
| Option | Description | Sample |
|---|---|---|
| g:vsp_oracle_db_id | The user ID for Oracle DB when using :Sqlplus. |
:let g:vsp_oracle_db_id=xxx |
| g:vsp_oracle_db_pwd | Like g:vsp_oracle_db_id, but is the password for the user ID. | |
| g:vsp_oracle_db_tnsname | Like g:vsp_oracle_db_id, but is the tnsname you want to connect. |
| Command | Description |
|---|---|
| :Sum | Sum all the numbers in current buffer and echo it, also yank the result to register s. |
| Hotkey | Description |
|---|---|
| ct | Toggle Copilot.vim to be enabled/disalbed. |
| Hotkey | Description |
|---|---|
| q | Toggle quickfix window to be opened/hidden. |
Check if the plugin is loaded:
:filter vim-startup-plugins scriptnames