Loading ...
Sorry, an error occurred while loading the content.

commandline window

Expand Messages
  • mzyzik@gmail.com
    All, Is there an elegant way of checking if the current window is a command line window other than seeing if the buffer name is command-line ? --Matt
    Message 1 of 2 , Jun 1, 2006
    • 0 Attachment
      All,

      Is there an elegant way of checking if the current window is a "command
      line" window other than seeing if the buffer name is "command-line" ?

      --Matt
    • Yegappan Lakshmanan
      Hi, ... You can use the CmdwinEnter and CmdwinLeave autocmds and set buffer-local variables. - Yegappan
      Message 2 of 2 , Jun 1, 2006
      • 0 Attachment
        Hi,

        On 6/1/06, mzyzik@... <mzyzik@...> wrote:
        > All,
        >
        > Is there an elegant way of checking if the current window is a "command
        > line" window other than seeing if the buffer name is "command-line" ?
        >

        You can use the CmdwinEnter and CmdwinLeave autocmds and set
        buffer-local variables.

        - Yegappan
      Your message has been successfully submitted and would be delivered to recipients shortly.