2011/6/11 Ben Schmidt :
> What do you see after opening the file for
>
> :verbose set fenc?
>
> ? Perhaps that will give you a clue how fenc is being set.
>
When I entered this command I saw that the cause of my problem was
AutoFenc plugin so I removed it and it worked!
Thank you so much!
Best r
I installed vim plugin *vimwiki*
sometimes I copied multiple lines of code from website into vimwiki.
In vimwiki, code is between ` `
so I hope that I can have a simple way to add ` ` for each code line.
like this:
print hello -> ` print hello `
that's it.
can you support a simple macro or func
How about this?
vmap "zc`Z`
On Mon, Jun 13, 2011 at 4:18 PM, stardiviner wrote:
> I installed vim plugin *vimwiki*
> sometimes I copied multiple lines of code from website into vimwiki.
> In vimwiki, code is between ` `
> so I hope that I can have a simple way to add ` ` for each code line.
>
Excerpts from stardiviner's message of Mon Jun 13 10:18:06 +0200 2011:
> I installed vim plugin *vimwiki*
> sometimes I copied multiple lines of code from website into vimwiki.
> In vimwiki, code is between ` `
> so I hope that I can have a simple way to add ` ` for each code line.
> like this:
On 06/13/2011 03:18 AM, stardiviner wrote:
I can have a simple way to add ` ` for each code line.
like this:
print hello -> ` print hello `
You can do that easily with a mapping:
:nnoremap :s/.*/`&`
:vnoremap :s/.*/`&`
which will allow you to do both a single line in normal-mode, and
a
Hi,
I am using Vim 7.3.35 on Ubuntu.
I am italian, so a lot of the text I write contains accented letters
such as à, è, é, ì, ò, ù.
I can write these on vim, and they are displayed correctly from the
shell with the "less" command and even if I open the file with gedit.
The problem is that if I use
Carlo Trimarchi [11-06-13 13:52]:
> Hi,
> I am using Vim 7.3.35 on Ubuntu.
>
> I am italian, so a lot of the text I write contains accented letters
> such as à, è, é, ì, ò, ù.
> I can write these on vim, and they are displayed correctly from the
> shell with the "less" command and even if I open
lith wrote:
Hi,
Is there a way to execute the :s or :/ command from a script without
adding any patterns to the search history. I.e. is there a command
like :keephistory (similar to :keepjumps) or any other solution that
let's me execute a command without changing the search history?
For :s,
On 13 June 2011 13:57, wrote:
> I guess that the browser does not understand the encoding of
> those letters.
> In vim with a file containing those letter type
>
> :set encoding?
>
> and type .
The output is:
encoding=utf-8
--
You received this message from the "vim_use" maillist.
Do not t
Carlo Trimarchi [11-06-13 16:29]:
> On 13 June 2011 13:57, wrote:
> > I guess that the browser does not understand the encoding of
> > those letters.
> > In vim with a file containing those letter type
> >
> > :set encoding?
> >
> > and type .
>
> The output is:
>
> encoding=utf-8
>
> --
On 2011-06-13, 13:49, Carlo Trimarchi wrote:
The problem is that if I use these letters in a html file, then the
browser displays things like this:
? ? ??+??++? ??^p??? ??? ? ??+??
What can I do?
You could try to specify the encoding you're using by
2011/6/13 David Bürgin
>
> You could try to specify the encoding you're using by adding this line to
> your HTML file:
>
>
thanks, this did the work
--
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 informati
Am Montag, 13. Juni 2011 14:52:20 UTC+2 schrieb Charles Campbell:
>
> For :s, use substitute().
>
>
Please correct my if I'm wrong, but the use of substitute() would also
require the use of getline(), :delete, insert() etc. Marks would get lost.
Cursor positioning would have to be done by hand.
Got it. Thanks a lot!
On Jun 11, 4:17 am, Christian Brabandt wrote:
> Hi heirloom!
>
> On Fr, 10 Jun 2011, heirloom wrote:
>
> > Still doesn't work even when I tried ":B u". No auto-completion
> > happens when pressing . Thanks.
>
> You are right. It depends on your 'wim' setting. But using
> :se
Reply to message «Aw: Re: How to execute :s command without adding the search
pattern to the search history?»,
sent 21:08:31 13 June 2011, Monday
by lith:
> Please correct my if I'm wrong, but the use of substitute() would also
> require the use of getline(), :delete, insert() etc. Marks would g
On Jun 12, 7:21 am, "fka...@googlemail.com"
wrote:
> Hi,
>
> I try to make cscope work with quickfix.
>
> vim's cscope implementation does not to allow browsing through all
> results.
>
> The existing plugin 'cscope_quickfix' does, however not satisfyingly
> in all areas (e.g. seems not to work
On Jun 13, 2:19 am, Karol Samborski wrote:
> 2011/6/11 Ben Schmidt :
>
> > What do you see after opening the file for
>
> > :verbose set fenc?
>
> > ? Perhaps that will give you a clue how fenc is being set.
>
> When I entered this command I saw that the cause of my problem was
> AutoFenc plugin
2011/6/13 Ben Fritz :
>
> I use (and really like) this plugin. Perhaps you just have it
> misconfigured? I think by default it uses an external tool to try to
> determine the encoding before it tries anything else. I disabled this
> option so that it only tries to find the encoding for files which
Hi
I would like to know how to write a command for selecting a range of
Chinese text in vim.
As I know I can have a command like [a-zA-Z] for the English text.
But how to write a command for all the Chinese Text.
Example :
我是 Nick Stokes 45678 罪行调查科人员
介意我问你些问题吗?
I would to select all the
I assume there is a shortcut way to do something like this:
for letter in [:alnum:]
endfor
E121: Undefined variable: :alnum:
E15: Invalid expression: [:alnum:]
Vim 7.3.1-142
Any suggestions?
Thanks,
Dave
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your re
Reply to message «for statement with character classes»,
sent 05:52:36 14 June 2011, Tuesday
by David Fishburn:
No, there are no such shortcuts. Nearly equivalent:
for letter in map(range(char2nr('0'), char2nr('9'))+
\range(char2nr('a'), char2nr('z'))+
On 13/06/11 10:52 PM, Charles Campbell wrote:
lith wrote:
Hi,
Is there a way to execute the :s or :/ command from a script without adding any
patterns to the search history. I.e. is there a command like :keephistory
(similar to :keepjumps) or any other solution that let's me execute a command
w
On 12/06/11 9:20 AM, Bee wrote:
On Jun 11, 9:21 am, Bee wrote:
On Jun 11, 1:55 am, Ben Schmidt wrote:
" Jump to start of nth or next block of 16 lines
nnoremap ]]
\ v:count
\ ? ":".(v:count*16+1)."Gzz"
\ : 17-line(".")%16."jzz"
Why is the : there? Doesn't that do nothing?
23 matches
Mail list logo