Thomas Trepl wrote:
Am Donnerstag, den 15.02.2018, 23:09 +0000 schrieb Ken Moffat:
On Wed, Feb 14, 2018 at 11:51:04PM +0000, Ken Moffat wrote:
On Wed, Feb 14, 2018 at 05:16:54PM -0600, Bruce Dubbs wrote:

I think it is going to the last match in a search.  Try adding
'set
noincsearch' to vimrc.


Yes, that seems to fix it.


Well, I thought it fixed it - but it didn't.  OTOH, I've just had to
correct an error in two of my scripts (moved a package script from
one to the other, forgot to change the directory where it now
lives), and going back into vim dropped me where I had been - in
that case, just what I needed.

I guess I'll try to learn to get used to it ;)

I like that feature. Looks like that everyone has his personal dislikes
in vim.  Its the auto-indention which drives me crazzy. To switch it
off, if have to do 12 keystrokes (ESC : set paste). In nano its only
two (ESC-I)

For me it is one keystroke (F3).

if $TERM==#"xterm"
set <F3>=^[[[C
endif

nnoremap \tai :set invai ai?<CR>
nmap <F3> \tai

Setting <F3> is tricky.  In insert mode, ctrl-v, then F3.
The value also depends on the terminal. I use konsole and that give me the option of default(xfree4), Linux console, and Solaris Console. Or I can create a new set of key bindings that are sent to the window.

I probably do not need to set <F3> any more but it is too late tonight to experiment.

  -- Bruce


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to