changeset 2523:21d43eab3fb9

jp (common): assure nosplitright in default commands for edition with vim
author Goffi <goffi@goffi.org>
date Fri, 16 Mar 2018 16:59:16 +0100
parents 95c31756944c
children e96076cdf74c
files frontends/src/jp/common.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/common.py	Wed Mar 14 08:14:32 2018 +0100
+++ b/frontends/src/jp/common.py	Fri Mar 16 16:59:16 2018 +0100
@@ -36,7 +36,7 @@
 import shlex
 
 # defaut arguments used for some known editors (editing with metadata)
-VIM_SPLIT_ARGS = "-c 'vsplit|wincmd w|next|wincmd w'"
+VIM_SPLIT_ARGS = "-c 'set nospr|vsplit|wincmd w|next|wincmd w'"
 EMACS_SPLIT_ARGS = '--eval "(split-window-horizontally)"'
 EDITOR_ARGS_MAGIC = {
     'vim': VIM_SPLIT_ARGS + ' {content_file} {metadata_file}',