Skip to content

Commit

Permalink
ptig - editors defaults and readme sample
Browse files Browse the repository at this point in the history
  • Loading branch information
clach04 committed Dec 21, 2023
1 parent c878ebc commit eed9322
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,13 @@ Config for ptig is the regular config file `pt.json`, with additional (optional)
"#init": ["set ic", "set enc"],
"init": ["set ic"],
"editor": "start scite",
"editors": {
"encscite": "C:\\programs\\encscite\\prog\\encscite.bat",
"pttkview": "pttkview",
"scite": "scite",
"gvim": "gvim",
"vim": "vim"
},
"file_browser": "explorer",
"prompt": "ptig: ? ",
"use_pager": false
Expand Down
4 changes: 4 additions & 0 deletions puren_tonbo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1977,6 +1977,10 @@ def get_config(config_filename=None):
'ignore_folders': ['.git'], # '.hg', '__pycache__' TODO doc, other options ['.git', '.hg', '__pycache__', '.mozilla', '.cache'] (also check notes on ignore locations like Mac Dstore)
'ignore_file_extensions': ['.bak', '~', '_MOD'], # currently ptig only
'ptig': {
"editors": { # if specified in config, defaults for editors WILL be lost
"pttkview": "pttkview",
"gvim": "gvim"
},
'init': ['set ic', ],
'use_pager': False,
'prompt': u'ptig: \U0001f50e ',
Expand Down

0 comments on commit eed9322

Please sign in to comment.