Try following:
let v:searchforward = 0
Regards,
--
thinca thi...@gmail.com
2015-04-13 18:02 GMT+09:00 av alexandrev...@gmail.com:
Hi,
I know it is possible to set a search by doing let @/ = 'searchString' but
there is not the possibility to do let @? = 'searchString' to search
Try diw
See also :help iw
--
thinca thi...@gmail.com
--
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
Try this.
%s@@\=system('cat /dev/urandom | strings | tr -d \n | head -c 15')@gc
--
thinca thi...@gmail.com
--
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
Please try:
set sessionoptions=buffers,sesdir,folds,tabpages
The character means comment.
Your code is equal to:
set sessionoptions=
--
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
How about this?
function RangeTest(range_given, line1, line2)
if a:range_given
echo printf('range was given: %s - %s', a:line1, a:line2)
else
echo 'range was not given.'
endif
endfunction
command -range=0 RangeTest call RangeTest(count, line1, line2)
--
thinca thi...@gmail.com
Try the following.
silent execute normal! z\CR
2011/08/10 21:09 sinbad sinbad.sin...@gmail.com:
hi,
the following statement is not working inside a vim function.
any clue ?
silent normal! zCR
thanks
--
You received this message from the vim_use maillist.
Do not top-post! Type your
Use :call.
All of lines of vim script are commands.
So, can't call a function directly.
Use :call command to call a function.
--
thinca thi...@gmail.com
--
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
au BufRead *.c :silent! %s/\r//g
--
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
set previewheight=1
--
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
let xxxdir = yyy
:help expr-option
--
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
10 matches
Mail list logo