vim-split-open/doc/splitopen.txt

65 lines
2.4 KiB
Plaintext
Raw Normal View History

2019-10-18 12:47:52 +00:00
*splitopen.txt* opens file-pairs in a new split-window tab
================================================================================
CONTENTS *SplitOpenContents*
1. Usage ..............................|SplitOpenUsage|
2. Configuration ......................|SlitOpenConfiguraton|
2.1 g:splitopen_extensions.........|SplitOpenConfiguration_extensions|
2.2 g:splitopen_set_fzf_keys.......|SplitOpenConfiguration_set_fzf_keys|
3. License ............................|SplitOpenLicense|
4. Changelog ..........................|SplitOpenChangelog|
2019-10-18 12:47:52 +00:00
================================================================================
1. Usage *SplitOpenUsage*
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.
================================================================================
2. Configuration *SplitOpenConfiguration*
You can configure the following settings:
--------------------------------------------------------------------------------
2.1 g:splitopen_extensions *SplitOpenConfiguration_extensions*
Use this dictionary to define your pairs of left-hand- right-hand-side file
types. E.g.
let g:splitopen_extensions = {"h": "cpp"}
always places a .cpp file on the right-hand side when opening an .h file and
vice versa.
--------------------------------------------------------------------------------
2.2 g:splitopen_set_fzf_keys *SplitOpenConfiguration_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.
================================================================================
3. License *SplitOpenLicense*
2019-10-18 12:47:52 +00:00
SplitOpen is GPL-3.0 licensed. See LICENSE file for more info.
================================================================================
4. Changelog *SplitOpenChangelog*
2019-10-18 12:47:52 +00:00
2019-10-18 19:05:08 +00:00
v0.0.3
* Add fzf.vim keybinding
2019-10-18 12:53:12 +00:00
v0.0.2
* Added delay-loading
* Added documentation
2019-10-18 12:47:52 +00:00
v0.0.1
* Initial release