about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--vimrc.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc.vim b/vimrc.vim
index f2ad0696..030eaddc 100644
--- a/vimrc.vim
+++ b/vimrc.vim
@@ -93,3 +93,9 @@ function! Orig()
   endif
 endfunction
 command! O call Orig()
+
+if exists("&splitvertical")
+  command! -nargs=0 P hor split opcodes
+else
+  command! -nargs=0 P split opcodes
+endif