On Wednesday, May 3, 2017 at 8:12:40 PM UTC+2, Tony Mechelynck wrote: > On Wednesday, May 3, 2017 at 7:54:10 AM UTC+2, Yongwei Wu wrote: > > On 3 May 2017 at 13:11, Alla <vitale.a...@gmail.com> wrote: > > > I see your point, and thank you for explaining this. As a beginner in > > > programming > > > I still can't decipher a good advice from a bad one. That one sounded > > > reasonable for those who are just starting using Vim, and this could help > > > them > > > to develop a physical habit of avoiding "easy" conventional tools, which > > > are > > > redundant and not useful in Vim. > > > > Let me be more specific in this case. The arrow keys are designed to > > help you navigate. No matter what Vim enthusiasts say, I do not > > consider using arrow keys is a problem. You have to use arrow keys in > > other application, so using them is not a bad habit. It is especially > > the case in Insert Mode, as there are no alternatives. > > > > > And no, I didn't start the new instance of Vim. I just did, and, yes, it > > > works. > > > > > > Could you, please, share what types of changes/settings are reasonable > > > to add to vimrc? > > > > There are simply too many settings in Vim. I believe you can find a > > lot of tutorials. It is process of continuous learning. And people > > normally also have a lot of plugins, which may or may not be reflected > > in their .vimrc files. > > > > I have an old Linux .vimrc already on the web. Although it is a bit > > outdated, my current .vimrc on Mac is evolved from that one. Maybe you > > can consult that one first: > > > > http://wyw.dcweb.cn/vim/.vimrc.html > > > > It is commented, and you can do ":help keyword" for features you are > > not familiar with. > > > > A few more additions: > > > > " The plugin package bundled with Vim 8 is useful, when you > > " accidentally opening a file a second time. > > if v:version >= 800 > > packadd! editexisting > > endif > > > > " Vim 7+ has spelling check > > if has('syntax') > > nmap <silent> <F7> :setlocal spell!<CR> > > imap <silent> <F7> <C-O>:setlocal spell!<CR> > > endif > > > > " Make syntax highlighting more accurate by synchronizing more lines > > au BufReadPost * syn sync minlines=1000 > > > > -- > > Yongwei Wu > > URL: http://wyw.dcweb.cn/ > > I agree. In many cases there are several different ways to get a certain > result in Vim, and IMHO this is an advantage, not an inconvenient. Some Vim > users pefer to move with hjkl. Others prefer to use arrow keys. Still others > prefer to click the mouse where they want to go. Others use one or the other > of these different methods depending on circumstances. So what? If it works > for you, use it. > > Let me take a comparison from a different field of experience: Most people > feel more at ease when writing with the right hand, but a significant > minority prefers to use the left hand, and a small minority can start with > the chalk in the left hand on the left side of the blackboard and end the > same line with the chalk in the right hand on the right side of the same > blackboard (or vice-versa if using RTL script like among others Hebrew or > Arabic. When my mother was in grade school (in the 1930s) all lefties were > forced to write with the right hand: so my mother ended up writing with the > right hand (because she was forced) and sewing with the left (because she > wasn't). When playing tennis some 50 years ago, she used to pass the racket > from one hand to the other, which upset her friends playing with her. > > Nowadays most teachers let lefties write with their right hand, they think > they have better things to learn than which hand to put the pen in. By > forcing yourself to use always hjkl and never ←↓↑→ you are figuratively (and > voluntarily) putting yourself into the position of one of these "forced > lefties" of 85 years ago. Good luck! > > Best regards, > Tony.
Oops! Nowadays they let lefties write with their _left_ hand of course. -- -- You received this message from the "vim_mac" 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_mac" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.