Christian wrote: > On Mi, 02 Aug 2017, Bram Moolenaar wrote: > > > window. But perhaps "Terminal Job mode" doesn't help users? I rather > > use "Terminal mode" as the short name for "Terminal Normal mode", so we > > can do things like "tmap". > > I thought tmap would be for Terminal insert mode? (which would then be > consistent with Terminal mode being short for whenever entering commands > to the shell/REPL or whatever.)
Yeah, you are right. So "Terminal Job mode" would actually need to be mentioned as a separate mode. Not sure if we need special mappings for "Terminal Normal mode", since you are basically editing a normal buffer. It's more like a different file type. Hmm, perhaps we should set the file type to "terminal"? > Shouldn't for Terminal Normal Mode, normal mode mappings apply?. If > needed one can use expression mappings and check the buftype option if > one really needs special mappings for that mode. The 'buftype' is valid for as long as the job is running, but once it has finished and you are in Terminal Normal mode the buffer is more like any buffer with text. So setting 'filetype' makes more sense. The 'buftype' indicates a different type of buffer, one you can't make changes in and runs a job. -- Witches prefer brooms: vacuum-cleaners need extension cords! /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
