Logo Lanfrica

whiteMohes/Swahili

Domaine:

natural language processing
Créateur:
whi
Hôte:
Swahili dictionary for implementing in your projects matlab-behave.vim ============== Facilitates the use of vim/gvim as external editor to Matlab (GUI or terminal): - attempts to reproduce typical F5, F9, Ctrl-Enter "run" functionalities of matlab editor (Linux only). - adds cell folding and highlighting - jumping to an error location by clicking on a error link in the command window. Functionalities ---------------- Below is a list of functionalities. Default mappings are written within parenthesis (See section "Mapping"), and the vim functions are written within brackets. If they do not work, see section "Customization" below. Reproducing some matlab editor commands: - "Run current cell" (,k) [MatRunCell] - "Run current cell and go back to editor" (,o) [MatRunCellAdvanced] - "Run script" (,m) [MatRun] - "Run selection and go back to editor" (F9) [MatRunSelect] Some additions: - "Run line" (,l) [MatRunLine] - "Run in new external matlab" (F4) [MatRunExtern] Cell and folding support: - Put cell title in bold. - Allow cell folding (za zo) and jumping from cell to cell using vim folding mappings (zj zk) Opening files in vim when an error is thrown: (see "Installation - matlab side" below) NOTE: The run functionalities are Linux only for now. It is based on "wmctrl" (see Installation - System). Basic principle of the "run" functionalities --------------------------------------------------------------------- - (Save file) - Copy some text (selection, cell, line, script, etc.) into the two unix clipboards. A tmp file is sometimes used. - Automatically switch to matlab window (GUI or terminal) using wmctrl (The window name is customized with "g:matlab_behave_window_name", if two windows have this name, this might fail). - The content is paste automatically (If it fails try customizing "g:matlab_behave_paste_cmd", or use "Ctrl-V" or the middle mouse button). - (Depending on the command, after pasting, it will go back to vim (see Installation - matlab side) ) Customization ------------- For mapping customi …

Languages