summaryrefslogtreecommitdiff
path: root/plugin/vdebug.vim
diff options
context:
space:
mode:
authorBlackEagle <ike.devolder@gmail.com>2019-07-13 10:08:45 +0200
committerBlackEagle <ike.devolder@gmail.com>2019-07-13 10:08:45 +0200
commit0e1d5c361c4fc8cbf4b3cde3d926e896008da569 (patch)
tree294ea43cb0b4f1499e2be476e91e58eeeacb0826 /plugin/vdebug.vim
parenta4fdbb27bdbdee8a56b80505ada9a71ed63b281f (diff)
parent174191977e6fb5914a57940334fcbeb9c4ffb145 (diff)
downloadvdebug-0e1d5c361c4fc8cbf4b3cde3d926e896008da569.zip
Merge branch 'debugger-layouts' of https://github.com/Garethp/vdebug into Garethp-debugger-layouts
* 'debugger-layouts' of https://github.com/Garethp/vdebug: Fixing bad config Another way to let people choose between layouts Signed-off-by: BlackEagle <ike.devolder@gmail.com>
Diffstat (limited to 'plugin/vdebug.vim')
-rw-r--r--plugin/vdebug.vim33
1 files changed, 24 insertions, 9 deletions
diff --git a/plugin/vdebug.vim b/plugin/vdebug.vim
index c15ae2b..705fd74 100644
--- a/plugin/vdebug.vim
+++ b/plugin/vdebug.vim
@@ -95,16 +95,31 @@ let g:vdebug_options_defaults = {
\ 'background_listener' : 1,
\ 'auto_start' : 1,
\ 'simplified_status': 1,
-\ 'window_commands' : {
-\ 'DebuggerWatch' : 'below new',
-\ 'DebuggerStack' : 'belowright new',
-\ 'DebuggerStatus' : 'vertical leftabove new'
+\ 'layouts' : {
+\ 'vertical': {
+\ 'window_commands' : {
+\ 'DebuggerWatch' : 'vertical belowright new',
+\ 'DebuggerStack' : 'aboveleft 12new',
+\ 'DebuggerStatus' : 'aboveleft 1new'
+\ },
+\ 'window_size' : {
+\ },
+\ 'window_arrangement' : ['DebuggerWatch', 'DebuggerStack', 'DebuggerStatus']
+\ },
+\ 'horizontal': {
+\ 'window_commands' : {
+\ 'DebuggerWatch' : 'below new',
+\ 'DebuggerStack' : 'belowright new',
+\ 'DebuggerStatus' : 'vertical leftabove new'
+\ },
+\ 'window_size' : {
+\ 'DebuggerWatch' : { 'height' : 15 },
+\ 'DebuggerStatus' : { 'height' : 1 }
+\ },
+\ 'window_arrangement' : ['DebuggerWatch', 'DebuggerStatus', 'DebuggerStack']
+\ }
\ },
-\ 'window_size' : {
-\ 'DebuggerWatch' : { 'height' : 15 },
-\ 'DebuggerStatus' : { 'height' : 1 },
-\ },
-\ 'window_arrangement' : ['DebuggerWatch', 'DebuggerStatus', 'DebuggerStack']
+\ 'default_layout': 'vertical',
\}
" Different symbols for non unicode Vims