" Enable syntax highlighting syntax enable " Put tabspace to 4 positions set sts=4 " backspace and cursor keys wrap to previous/next line set backspace=indent,eol,start whichwrap+=<,>,[,] " backspace in Visual mode deletes selection vnoremap d "For VIM 7.x, always show tabs set stal=2 " Enable line numbering set nu " Do not wrap lines set nowrap " Set fileformat to Unix set fileformat=unix " Set horizontal bar set guioptions+=b " Set splitoptions set nosplitbelow set splitright " Set layout set lines=50 set columns=140 " Set statusline options set laststatus=2 set statusline=%} ) ))' let prog = prog . '(read-line file)' let prog = prog . '(read-line file)' let prog = prog . '(read-buffer file buff 1000 {} buff {} 512)' let prog = prog . '(replace {>} buff {>})' let prog = prog . '(replace {<} buff {<})' let prog = prog . '(replace {—} buff {})' let prog = prog . '(replace {→} buff {->})' let prog = prog . '(replace "\t" buff {})' let prog = prog . '(replace {example:} buff "example:\n")' let prog = prog . '(replace {) " For GUI function! GuiNewlispHelp() let txt = inputdialog("Enter the command to lookup:", "") if txt != "" let result = NewlispHelp(txt) let choice = confirm(result) endif endfunction " Setup menus amenu 80.10 &newLisp.&Run\ current\ program :call NewlispRun() amenu 80.20 &newLisp.&Link\ to\ executable :call NewlispLink() amenu 80.30 &newLisp.-Sep1- : amenu 80.40 &newLisp.&Help\ on\ command :call GuiNewlispHelp() amenu 80.50 &newLisp.-Sep2- : amenu 80.60 &newLisp.&Set\ syntax\ to\ newLisp :call NewlispSyntax() " Setup Toolbar amenu ToolBar.-Sep- : tmenu ToolBar.Exe Run current newLISP file amenu ToolBar.Exe :call NewlispRun()