A Vim plugin to open file-pairs (e.g. cpp/h) in split-window mode.
This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2019-10-18 20:57:12 +02:00
autoload Split command and function to plugin and autoload parts to enable delay-loading 2019-10-18 13:46:00 +02:00
doc Added config option g:splitopen_set_fzf_keys to enable fzf keybinding. 2019-10-18 20:57:12 +02:00
plugin Added config option g:splitopen_set_fzf_keys to enable fzf keybinding. 2019-10-18 20:57:12 +02:00
LICENSE Initial commit 2019-10-18 12:08:38 +02:00
README.md Added config option g:splitopen_set_fzf_keys to enable fzf keybinding. 2019-10-18 20:57:12 +02:00

SplitOpen

This vim plugin opens file-pairs in a new split-window tab

Usage

Use

:SplitOpen filename 

with a .cpp or .h file as filename to open a new tab containing a vertical split with the corresponding header file in the left window and the corresponding source file in the right window.

Configuration

You can configure the following settings:

g:splitopen_set_fzf_keys

Set this option to 1

let g:splitopen_set_fzf_keys = 1

to have SplitOpen overwrite the default fzf keybindings ctrl-t/x/v for opening files in splits or tabs to add an addional binding ctrl-s to call SplitOpen.

License

SplitOpen is GPL-3.0 licensed. See LICENSE file for more info.

Changelog

v0.0.2

  • Added delay-loading
  • Added documentation

v0.0.1

  • Initial release