jp (common): add neovim (nvim) default arguments
This commit is contained in:
parent
9753dd5354
commit
3433657ccf
1 changed files with 2 additions and 1 deletions
|
|
@ -36,11 +36,12 @@ from sat.tools import config
|
|||
from configparser import NoSectionError, NoOptionError
|
||||
from collections import namedtuple
|
||||
|
||||
# defaut arguments used for some known editors (editing with metadata)
|
||||
# default arguments used for some known editors (editing with metadata)
|
||||
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}",
|
||||
"nvim": VIM_SPLIT_ARGS + " {content_file} {metadata_file}",
|
||||
"gvim": VIM_SPLIT_ARGS + " --nofork {content_file} {metadata_file}",
|
||||
"emacs": EMACS_SPLIT_ARGS + " {content_file} {metadata_file}",
|
||||
"xemacs": EMACS_SPLIT_ARGS + " {content_file} {metadata_file}",
|
||||
|
|
|
|||
Loading…
Reference in a new issue