Skip to content

Commit

Permalink
Remove set editor from browser side
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Feb 10, 2016
1 parent 92c0848 commit ecdc9a9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion coffee/background/modules/editor.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ class window.Editor
@open: (msg) ->
params = JSON.stringify
method: 'open_editor'
editor: Option.get 'editor'
data: msg.data
col: msg.col
line: msg.line
Expand Down
4 changes: 0 additions & 4 deletions coffee/frontend/modules/insert-mode.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,3 @@ class window.InsertMode

Post { action: 'Editor.open', callbackAction: 'InsertMode.externalEditorCallBack', data: getElementText(elem), editId, line, col }
desc @externalEditor, 'Launch the external editor'
@externalEditor.options =
editor:
description: "Set editor command, default is 'gvim -f'"
example: 'set editor=gvim -f'
1 change: 0 additions & 1 deletion coffee/shared/options.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class window.Option
previouspattern: ['(上|前)一(页|頁|篇|张)', '^\\s*Prev(ious)?\\s*$', '^<$', '(^(<<|‹‹|«)\\|?)|((<<|‹‹|«)\\|?$)']
enable_vrome_key: '<C-Esc>'
disablesites: ''
editor: 'gvim -f'
server_port: 20000
searchengines:
google: googleSearch
Expand Down
3 changes: 0 additions & 3 deletions src/vromerc_example
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ set hintkeys=jlkhfsdagwerui
" by default, hints use numbers. You can have both numbers AND strings (view custom JS below). Or you can use strings only as hints and overwr
set useletters=1

" Change external editor, default is GVim
set editor=gvim -f

" The server port is what external server running on
" The external server is used to support launch the external editor in insert mode.
" Please refer "Support External Editor" https://github.com/jinzhu/vrome/wiki/Support-External-Editor for more
Expand Down

0 comments on commit ecdc9a9

Please sign in to comment.