Re: simple alias doesn't work



bpatton@xxxxxx wrote:
I'm running on a linux box and trying to get this simple alias to
function
alias tvim "xterm -e vim $* &"

I want it to pop a new xterm with the vim editor open.
example input
$ tvim a b c d

A new xterm opens with vim and 4 files in vim's buffers.

alias tvim='xterm -e vim $@'
try that.

.



Relevant Pages

  • Re: Debugging gvim :!cmd with bash
    ... > included an optimization where they would execute the last command ... xterm is the child of bash. ... succesful launch of xterm depends on delayed return to vim. ...
    (comp.unix.shell)
  • Re: Backspaces converted to ^? -- want to get rid of ^? -_-...
    ... su'ed in as root using vim, or the SuSe box at work when I VNC into ... behavior so pressing backspace erases a character, ... The attached XTerm file put in $HOME/XTerm will get xterms to send ctrl-h ... Shift: MoveThumbNotifyThumb() \n\ ...
    (freebsd-questions)
  • Re: display background job completion status conspicuously: xterm-color
    ... Any way to get xterm, for example, to keep watching for a certain string ... and then inject color the moment it sees it? ... Any vim gurus who might have a similar vim fix ... Emacs, of course, will do vi bindings. ...
    (comp.os.linux.misc)
  • Vim switching to strange mode when a [ is entered
    ... I am using vim 7.2 under Cygwin. ... this strange behaviour of keyboad inputs is not ... to the xterm in which vim is running. ... When I enter a key X in a bash shell in another xterm, ...
    (comp.editors)
  • Xterm and recognition of urls, html, php, etc
    ... I am using mutt with vim as the editor. ... How do I go about setting this up for mutt, vim, xterm, etc? ... Virginia Beach, Virginia 23464 ...
    (Debian-User)