As the title said I want to edit immediately after using f command.
seems cant remap the f direct, because f need a parameter.
--
--
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
On Tuesday, January 28, 2020 at 1:16:41 AM UTC+8, Gary Johnson wrote:
>
> On 2020-01-27, Zhe Lee wrote:
> > I know %:p %:t thes things. But What I need now is not current folder I
> get a
> > full file path from a regex match.
> >
> > And now I need to g
I know %:p %:t thes things. But What I need now is not current folder I get
a full file path from a regex match.
And now I need to get the folder from this full path.
I already Google a lot but can't find useful things all related about "%:t
:p" things so how to make it.
This is the code I
The filetype is html, and syntax is on.
the html.vim is in the \Vim\vim80\syntax\. But the html still not highlight
why is that?
--
--
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
I write the code below to call a external program, but a cmd window will show
out when the command execuated.
So I want to know show to hide the cmd window when execuate them?
au InsertEnter * :silent execute '!VimModeRecord.exe'
au InsertLeave * :silent execute '!VimModeRecord.exe'
--
--
On Wednesday, September 6, 2017 at 5:16:18 PM UTC+8, Zhe Lee wrote:
> The gvim seems replace the home directory with the wave line.
>
> how to disable that, I just want the fullpath without any variable in it.
Add this line to vimrc will be fine.
set titlestring=%{expand('%:p')} ti
The gvim seems replace the home directory with the wave line.
how to disable that, I just want the fullpath without any variable in it.
--
--
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
I use
au BufNewFile *.py 0r headerfile/python.header
in my vimrc file . I want to auto add snippet when the python file is create.
But it doesn't work, when I use the "gvim newpy.py" command in command prompt.
How to fix this?
--
--
You received this message from the "vim_use" maillist.
Do
I know the variable $HOME, $VIM, and $VIMRC
I want to get all the buildin list how to get that ?
--
--
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
---
On Wednesday, July 19, 2017 at 9:15:02 AM UTC+8, Zhe Lee wrote:
> I use the code to open my snippet. But if it already been opened, I just want
> to active the tab instead of open a new tab.
> How to do that?
>
> tabnew $VIM\vimfiles\bundle\vim-snipmate\snippets\python.snippets
t
I use the code to open my snippet. But if it already been opened, I just want
to active the tab instead of open a new tab.
How to do that?
tabnew $VIM\vimfiles\bundle\vim-snipmate\snippets\python.snippets
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your
nnoremap k :%s/\v^\s+//g:sort u:xa
This is my map. When there is no match to the "^\s+", an error will come out,
and the map will pause, the sort u, and the xa will not be executed. So how to
continue the map when there is an error come out?
--
--
You received this message from the
On Friday, January 27, 2017 at 9:17:06 PM UTC+8, Christian Brabandt wrote:
> Hi Zhe!
>
> On Fr, 27 Jan 2017, Zhe Lee wrote:
>
> > Why the substitute in the selection only substitute the first letter in the
> > selection?
> >
> > The \%V option works f
Why the substitute in the selection only substitute the first letter in the
selection?
The \%V option works fine when I just use the command line to exec it.
But it seems not work very well when I use it in the vimscript.
vnoremap dfc :call DragonflyCmdProcess(1)
function!
On Thursday, January 26, 2017 at 10:06:09 AM UTC+8, Gary Johnson wrote:
> On 2017-01-25, Zhe Lee wrote:
> > On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote:
> > > On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee wrote:
> > > > here is the thing:
>
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote:
> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote:
> > here is the thing:
> > {|}, | is my curve when I press enter now the curly braces will not on the
> >
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote:
> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote:
> > here is the thing:
> > {|}, | is my curve when I press enter now the curly braces will not on the
> >
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote:
> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote:
> > here is the thing:
> > {|}, | is my curve when I press enter now the curly braces will not on the
> >
On Thursday, January 26, 2017 at 4:23:09 AM UTC+8, Tony Mechelynck wrote:
> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote:
> > here is the thing:
> > {|}, | is my curve when I press enter now the curly braces will not on the
> >
gt; > <antoine.mechely...@gmail.com> wrote:
> >> On Wed, Jan 25, 2017 at 7:11 PM, Zhe Lee <imlegend...@gmail.com> wrote:
> >>> here is the thing:
> >>> {|}, | is my curve when I press enter now the curly braces will not on
> >>> the same l
On Monday, January 16, 2017 at 3:19:30 AM UTC+8, ZyX wrote:
> 2017-01-15 17:32 GMT+03:00 Zhe Lee <imlegend...@gmail.com>:
> > The mappings SnipMate uses can be customized with the |:map| commands. For
> > example, to change the key that triggers snippets and moves to
The mappings SnipMate uses can be customized with the |:map| commands. For
example, to change the key that triggers snippets and moves to the next
tab stop, >
:imap snipMateNextOrTrigger
:smap snipMateNextOrTrigger
I check the doc, and find the lines above,
but when I press
On Sunday, January 8, 2017 at 9:50:51 AM UTC+8, ZyX wrote:
> 2017-01-08 4:45 GMT+03:00 Zhe Lee <imlegend...@gmail.com>:
> >
> >
> > for example the text is like this
> > ```
> > a-b
> > b-c
> > a-b
> >
> > ```
> >
> >
&
On Sunday, January 8, 2017 at 9:52:52 AM UTC+8, Tim Chase wrote:
> On 2017-01-07 17:45, Zhe Lee wrote:
> > if the cursor is on the first line first column (on `a` now). And
> > then I press `*` I want to find the `a-b` but the vim just search
> > `a` instead of `a-b`, so how
for example the text is like this
```
a-b
b-c
a-b
```
if the cursor is on the first line first column (on `a` now). And then I press
`*` I want to find the `a-b` but the vim just search `a` instead of `a-b`, so
how to make * to include the dash `-`?
--
--
You received this message from
On Saturday, December 24, 2016 at 7:36:55 AM UTC+8, Tony Mechelynck wrote:
> On Fri, Dec 23, 2016 at 2:22 AM, Zhe Lee <imlegend...@gmail.com> wrote:
> > I use the two command below to map my `j` and `k`, the purpose of these
> > command is that when the cur
I use the two command below to map my `j` and `k`, the purpose of these command
is that when the current line is too long, it will be wrapped in vim window,
and you don't want to jump it when you press j or k. So ~
nnoremap j v:count == 0 ? 'gj' : 'j'
nnoremap k v:count == 0 ? 'gk' : 'k'
It
On Tuesday, December 20, 2016 at 12:23:59 AM UTC+8, Gary Johnson wrote:
> On 2016-12-19, Zhe Lee wrote:
> > On Friday, December 16, 2016 at 10:42:07 PM UTC+8, Gary Johnson wrote:
> > > On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> > > > 2016-12-16 5:41 GMT+
On Friday, December 16, 2016 at 12:28:20 PM UTC+8, ZyX wrote:
> 2016-12-16 5:41 GMT+03:00 Zhe Lee <imlegend...@gmail.com>:
> > I want to fold or hide the comment in the vimrc file.
> > I Google it and find mainly the 2 solution below but none of them worked.
> >
> &
On Friday, December 16, 2016 at 12:28:20 PM UTC+8, ZyX wrote:
> 2016-12-16 5:41 GMT+03:00 Zhe Lee <imlegend...@gmail.com>:
> > I want to fold or hide the comment in the vimrc file.
> > I Google it and find mainly the 2 solution below but none of them worked.
> >
> &
On Friday, December 16, 2016 at 10:42:07 PM UTC+8, Gary Johnson wrote:
> On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> > 2016-12-16 5:41 GMT+03:00 Zhe Lee
> > > I want to fold or hide the comment in the vimrc file.
> > > I Google it and find mainly the 2 solu
I want to fold or hide the comment in the vimrc file.
I Google it and find mainly the 2 solution below but none of them worked.
syn match comment "\v(^\s*\".*\n)+" fold
set foldmethod=expr foldexpr=getline(v:lnum)=~'^\s*"'
My Vimrc file is like this, when I enter the 2 commands above
On Tuesday, December 13, 2016 at 10:02:16 PM UTC+8, Zhe Lee wrote:
> According to this link I already add the language setting code into my vimrc
> file.
> http://superuser.com/a/921446/609799
>
> "Set The Language Of The Vim"
> set langmenu=en_US
> let $LANG
On Wednesday, December 14, 2016 at 12:54:58 PM UTC+8, Tony Mechelynck wrote:
> It is not always possible or desirable to disable +multi_lang.
>
> Which languages are recognized (and acceptable as argument to the
> :language command and its subcommands) depends on your OS and on hos
> it is
34 matches
Mail list logo