Re: How to vim recognize ssh config file?

2018-12-20 Thread 'Grant Taylor' via vim_use
On 12/20/18 7:56 PM, Tony Mechelynck wrote: P.S. And regardless of whether you set 'filetype' or 'syntax', use :setlocal, not plain :set, in order to avoid setting the default for new files you write from scratch (the global default should be empty). Duly noted. Thank you for the explanation

Re: How to vim recognize ssh config file?

2018-12-20 Thread 'Grant Taylor' via vim_use
On 12/20/18 7:53 PM, Tony Mechelynck wrote: On Fri, Dec 21, 2018 at 3:39 AM 'Grant Taylor' via vim_use wrote: Normally you set 'filetype', not 'syntax'. Facepalm. You are correct. That's what I meant. I quickly edited ~/.ssh/config, ran :set, and looked for "ssh". I wondered about

Re: How to vim recognize ssh config file?

2018-12-20 Thread Tony Mechelynck
On Fri, Dec 21, 2018 at 3:53 AM Tony Mechelynck wrote: > > On Fri, Dec 21, 2018 at 3:39 AM 'Grant Taylor' via vim_use > wrote: > > > > On 12/20/18 5:27 PM, Peng Yu wrote: > > > Hi > > > > Hi, > > > > > vim recognize ~/.ssh/config. But I'd like to recognize it in a none > > > standard location

Re: How to vim recognize ssh config file?

2018-12-20 Thread Tony Mechelynck
On Fri, Dec 21, 2018 at 3:39 AM 'Grant Taylor' via vim_use wrote: > > On 12/20/18 5:27 PM, Peng Yu wrote: > > Hi > > Hi, > > > vim recognize ~/.ssh/config. But I'd like to recognize it in a none > > standard location via some file extension. Is there a standard file > > extension that will make

Re: How to vim recognize ssh config file?

2018-12-20 Thread 'Grant Taylor' via vim_use
On 12/20/18 5:27 PM, Peng Yu wrote: Hi Hi, vim recognize ~/.ssh/config. But I'd like to recognize it in a none standard location via some file extension. Is there a standard file extension that will make vim recognize it in a none standard location? Thanks. I don't know the nuances of

Re: How to vim recognize ssh config file?

2018-12-20 Thread Gary Johnson
On 2018-12-20, Peng Yu wrote: > Hi > > vim recognize ~/.ssh/config. But I'd like to recognize it in a none > standard location via some file extension. Is there a standard file > extension that will make vim recognize it in a none standard location? > Thanks. Vim recognizes only the patterns

How to vim recognize ssh config file?

2018-12-20 Thread Peng Yu
Hi vim recognize ~/.ssh/config. But I'd like to recognize it in a none standard location via some file extension. Is there a standard file extension that will make vim recognize it in a none standard location? Thanks. -- Regards, Peng -- -- You received this message from the "vim_use"

Re: ALT key mapping in windows 10

2018-12-20 Thread Tony Mechelynck
On Fri, Dec 21, 2018 at 12:36 AM John Little wrote: > > On Friday, December 21, 2018 at 2:50:06 AM UTC+13, Deepak kumar wrote: > > > how to map ALT+ LEFT | RIGHT | UP | DOWN keys in vimrc file? > > Generally, to find what vim can map, enter insert mode, type ctrl-v then what > you want to map.

Re: ALT key mapping in windows 10

2018-12-20 Thread John Little
On Friday, December 21, 2018 at 2:50:06 AM UTC+13, Deepak kumar wrote: > how to map ALT+ LEFT | RIGHT | UP | DOWN keys in vimrc file? Generally, to find what vim can map, enter insert mode, type ctrl-v then what you want to map. If you see something, then that's what you can map. If not, vim

RE: [EXTERNAL] Re: Windows, Vim and command line copies

2018-12-20 Thread Kennedy, Marcus A.
> > copy and paste directly out of the vim command line > > I don't think you can copy the text displayed by a command in GUI Vim. > This tip has information on :redir > https://vim.wikia.com/wiki/Capture_ex_command_output > > A trick for options allows the value to be pasted into the current

ALT key mapping in windows 10

2018-12-20 Thread Deepak kumar
Hi Vim Users, I am a vim user on Unix like machines but for my current project, I have to use it on windows 10 machine. how to map ALT+ LEFT | RIGHT | UP | DOWN keys in vimrc file? currently, I using like this: nmap :wincmd k Can anyone please suggest vim configuration on windows(including

Re: operator's "count" doesn't work

2018-12-20 Thread Tony Mechelynck
On Thu, Dec 20, 2018 at 7:35 AM Vladimir Stenbock wrote: > > > I want to delete N substrings inside double quotes > > word1 word2 "substring1" word3 "substring2" word4 word5 "substring3" > > but :norm 3da" doesn't work Under |aquote| it is said (/in fine/) "A count is currently not used." so

Re: Windows, Vim and command line copies

2018-12-20 Thread JohnBeckett
On Thursday, December 20, 2018 at 2:06:22 PM UTC+11, Kennedy, Marcus A. wrote: > copy and paste directly out of the vim command line I don't think you can copy the text displayed by a command in GUI Vim. This tip has information on :redir https://vim.wikia.com/wiki/Capture_ex_command_output A

Re: new behavior of substitute command

2018-12-20 Thread Alessandro Antonello
Em qua, 12 de dez de 2018 às 19:09, AS <097...@gmail.com> escreveu: > On Monday, December 10, 2018 at 9:21:31 AM UTC+2, Christian Brabandt wrote: > > > I'm using MacVim 8.1, patches 1-560 and I notice a change in the > > > behavior of substitution command. Now it starts to search for text as > >