> Sorry for my indistinction on this issue.
> Simply what I do is mapping key F5 to 'set nowrap', so I added
> in my .vimrc 'map <F5>:set nowrap<CR>', but when I press F5
really? with no space after the first '>'???
personally, i want to switch between wrapped and unwrapped
text often enough i prefer to define a toggle -- for me it
made sense to use shift-F9 -- the same would work for
unshifted F5:
nmap <silent> <S-F9> :set wrap!<CR>
imap <silent> <S-F9> <C-O>:set wrap!<CR>
i like the <silent> version of this because i don't need the
added distraction of being told that i did what i already know
i just did because i can see it
anyway, hth
sc
--
You received this message from the "vim_use" 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
No comments:
Post a Comment