Added documentation for g:splitopen_extensions

pull/17/head
mandlm 2019-10-20 15:45:53 +02:00
parent cd2d198447
commit b6b1377f93
2 changed files with 24 additions and 2 deletions

View File

@ -16,6 +16,15 @@ source file in the right window.
You can configure the following settings: You can configure the following settings:
### g:splitopen_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.
### g:splitopen_set_fzf_keys ### g:splitopen_set_fzf_keys

View File

@ -5,7 +5,8 @@ CONTENTS *SplitOpenContents*
1. Usage ..............................|SplitOpenUsage| 1. Usage ..............................|SplitOpenUsage|
2. Configuration ......................|SlitOpenConfiguraton| 2. Configuration ......................|SlitOpenConfiguraton|
2.1 g:splitopen_set_fzf_keys.......|SplitOpenConfiguration_set_fzf_keys| 2.1 g:splitopen_extensions.........|SplitOpenConfiguration_extensions|
2.2 g:splitopen_set_fzf_keys.......|SplitOpenConfiguration_set_fzf_keys|
3. License ............................|SplitOpenLicense| 3. License ............................|SplitOpenLicense|
4. Changelog ..........................|SplitOpenChangelog| 4. Changelog ..........................|SplitOpenChangelog|
@ -27,7 +28,19 @@ You can configure the following settings:
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
2.1 g:splitopen_set_fzf_keys *SplitOpenConfiguration_set_fzf_keys* 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 Set this option to 1