Hi,
Anyone know of a way to set a start mark and then an end mark and then
highlight all text between them ?
So that is stays highlighted, even if I move the cursor away or scroll etc.
Sort of like a visual mode selection that remains after you move away.
thx for all things vim,
-m
--
--
Hi,
Tony, thanks always for your info.
My point is the X11 selection and clipboard are empty and my viminfo does
not contain any register info, yet after starting vim the + and * regsiters
contain info.
This seems a bit odd to me since:
1). I did not save register info and I've confirmed my
Hi,
Thanks.
Even if I unset clipboard and set history to 0, I still get * and + set on
startup.
I just wonder where/how vims saves and restores this info and if it can be
disabled ?
Its not in my viminfo file. Its still there even if i start vim -i NONE
# Expression History (newest to
Hi again,
The data that is loaded into the * and + registers _seems_ to be a recently
deleted line from a previous session.
But I am sure to exit all vim processes.
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are
Hi,
I have my viminfo set to not save any registers:
viminfo='20,:10,<0
I have clipboard set to include unnamedplus:
clipboard=autoselectml,unnamedplus,exclude:cons\|linux
I deliberately clear out my X11 selection and clipboard such that:
xsel -o -b
xsel -o -p
show nothing.
If I start vim
Hi,
Just curious, what is the mechanism by which vim saves to the clipboard ?
For example if I am on a X11 system but in termnal vim and I have clipboard
set to unnamed
and I highlight in visual mode some lines and then y(ank) them - does vim
use OSC 52 ?
Or does it (even tho its the terminal)
Hi,
When using popup_menu / popup_create, is it possible to use the mouse to
select an item ?
My filter has:
```
if a:key == 'q' || a:key == 'x' || a:key == '\' || a:key ==
'\'
call popup_close(a:id, 0)
return 1
elseif a:key == "\"
```
But I never receive the mouse key
Andy, hi
I think it does work if I add the exe normal gv in the popup func.
cool!
thx,
-m
--
--
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
---
You
Andy, hi again
I was thinking of something like -
call popup_menu(g:menulist, #{ title: 'MyMenuTitle:', filter:
'MyFilter', callback: 'MyCallback' })
I would highlight some code and then press a key to trigger the popup menu
and select some option from that menu,
but when the menu pops I
Hi,
Is there a way to be in visual mode with some text highlighted and popup a
menu and keep the highlighted text during and after the popup menu ?
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For
Hi,
ok, I think I can use:
call setbufvar(prev_bufid, "", "nofile")
to set it back.
thx,
-m
--
--
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
---
You
Hi again,
If my buftype=nofile then I cannot seem to create a new window with new or
vnew, ok.
I can change my buftype and then call new.
Is there a special way to create a new regular buffer in a split from a
nofile buffer ?
Or a way to restore the old buftype for the orig buffer right after
Thank you again Andy. I'm going to refactor some of my other routines now that
I learned your better way to do these sort of things.
-m
--
--
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
Andy, hi
Wow, so cool.
All I can say is incredible.
I learn so much from the great people and replies here.
take care,
-m
--
--
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
Hi,
Is there a way to do an inline conditional such as for demonstration:
vnoremap':let [line_start, col_start] =
getpos("v")[1:2] :let [line_end, col_end] = getpos(".")[1:2]
(line_end > line_start) ? "ge" : "b"'
I can do something in a function but that has several exe 'normal ...'
Hi,
I added:
set clipboard^=autoselectml guioptions+=A
and now I can drag/double click and paste to the command-line.
Would be cool if the highlight colour matched visual but no problem :-)
thanks again always for all your great info and help,
-m
--
--
You received this message from the
Hi,
Thank you Tony.
-m
--
--
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
---
You received this message because you are subscribed to the Google Groups
Hi,
To be clear I do not mean the colour of highlighing anything in the
command-line.
I mean highlighing other text above the command-line.
Like for example if you were to enter command-mode with a '/' and then use
the mouse to highlight some text above to then paste in the command-line.
thx,
Hi,
What colour would the highlighting be when in command-mode ?
It is not the same as hi Visual setting.
thx,
-m
--
--
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
Hi,
My visual selection works great in normal, visual and insert modes, but
when I enter command mode via a '/' or ':' then I can no longer select with
the mouse the same way.
It seems as tho I am using x selection (ie like shift+mouse) instead of
visual selection.
I tried changing imaps to
Hi,
I think I can work around it, but I suppose I was asking if these events
are like a key mapping with ttimeoutlen etc.
Like if we received 2 events but not the 3rd in a small amout of time then
it does the 2 mapping and if it receives the 3rd within the timeout then it
does the 3 mapping ?
Hi,
I have a vmap for , and it works great.
Is there a way to differentiate from ?
Or is it just a fact of life that the will always go through the
mapping first ?
thx for everything vim,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply
Hi,
ok, thank you.
I always thought there had to be quotes around each block, as in () ? 'foo'
: 'bar'
So I was trying \' and \\' and \" and \\" and extra quotes for each
additional nested block to no success.
I will remove all quotes and see if I can get it to work.
take care,
-m
--
--
You
Hi,
I suppose I can call a function to do this :-)
-m
--
--
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
---
You received this message because you are
Hi,
Is it posible to nest conditionals in a mapping, something like, just for
demonstration:
vnoremap vv (strlen(@y) == 1) ? ':let ...' : '("vcl" =~
getregtype("*")) ? 'some foo' : 'some bar' ' some more ...
Can we do this ? Do I use ''' (3 single quotes) to embed quotes ? (and
then 5
;
> On Friday, February 7, 2020 at 7:53:02 AM UTC+13, M Kelly wrote:
>
> > I have tried join( mylist, "\n") but it uses ^@ and "\r" uses ^M
>
> works fine for me, vim, gvim, and vim --clean.
>
> :let l = ["one", "two", "three&quo
Hi,
If I have a list [ one, two, three ] is there a way to turn it into a
single string with newlines after each element ?
Such that an echo mylist would show it as mulitple lines, ie:
one
two
three
I have tried join( mylist, "\n") but it uses ^@ and "\r" uses ^M
thx for everything vim,
-m
--
Hi,
Yes, I'll wager this has something to do with my terminal and its terminfo
capabilities.
thx,
-m
On Monday, February 3, 2020 at 8:45:14 AM UTC-5, Tony Mechelynck wrote:
>
> On Mon, Feb 3, 2020 at 2:33 PM M Kelly >
> wrote:
> >
> > Hi,
> >
>
UTC-5, M Kelly wrote:
>
> Hi,
>
> Yes, thanks.
> I was looking for a consistent way to select the whole word the cursor is
> on, no matter how many chars it is.
> This could then become a new mapping or mouse double-click etc.
>
> It seems viw, vaw, lbve are all goo
of cmds that always works.
It is also weird the difference between my vim and with -u NONE about the
viw.
thx,
-m
On Monday, February 3, 2020 at 6:55:32 AM UTC-5, Boyko Bantchev wrote:
>
> On Mon, 3 Feb 2020 at 13:16, M Kelly >
> wrote:
> >
> > Hi,
> >
> > Is t
wrote:
>
> On Mon, Feb 3, 2020 at 12:17 PM M Kelly >
> wrote:
> >
> > Hi,
> >
> > Is there a way to select a one char word ?
> > lbve or viw or ? All my attempts seem to continue on to the beginning
> (or end) of the next word.
> > Is it th
Hi,
Is there a way to select a one char word ?
lbve or viw or ? All my attempts seem to continue on to the beginning (or
end) of the next word.
Is it that a 'word' cannot be a single char ?
thx for everything vim,
-m
--
--
You received this message from the "vim_use" maillist.
Do not
Tony, hi
I ended up using getregtype("*") along with the @*=substitute() to get a
perfect solution for my use.
Thank you again for this info.
take care,
-m
On Wednesday, January 15, 2020 at 11:53:24 PM UTC-5, Tony Mechelynck wrote:
>
> On Thu, Jan 16, 2020 at 3:08 AM M
Tim, hi
ok, awesome.
I think this works now -
"aygv:let @* = substitute(@a, "\\_s\\+$", "", "")
thx so much!
-m
On Wednesday, January 15, 2020 at 8:47:54 PM UTC-5, Tim Chase wrote:
>
> On 2020-01-15 17:29, M Kelly wrote:
> > Hi,
> >
if I could regex trim the last newline of "* or of "a and
put it into "*
thanks always for your help,
-m
On Wednesday, January 15, 2020 at 8:44:44 PM UTC-5, Tony Mechelynck wrote:
>
> On Thu, Jan 16, 2020 at 2:29 AM M Kelly >
> wrote:
> >
> > H
Hi,
In visual-line mode when I yank to the * register and then outside of vim
paste - I am getting a newline at the end of the selection.
This does not happen in visual block or char mode.
Does anyone know of a way to load into * reg the same selection but have
the last newline trimmed off ?
ie
Hi,
Is there a way to have insert-mode and visual-mode auto return to
normal-mode if nothing was typed/moved/etc. in updatetime ?
I think I could use an autocmd for CursorHoldI to return to normal-mode,
but is there a CursorHoldV or does CursorHold also work in visual-mode ?
Is there another
Hi,
I was able to use the 'Konfekt/vim-alias' plugin for this -
:Alias q call\ Quit()
:Alias q! call\ QuitBang()
thx again everyone,
-m
--
--
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,
Hi,
I guess it evaluates as I type ? So no real way around this.
Perhaps a cmap could trigger a cmdline substitution ?
Maybe there is such a plugin already.
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying
Hi,
Does anyone know what would be the vim regex for getcmdline() =~ for both
'q' and 'q!' ?
ie, something like:
cnoreabbrev q (getcmdtype() == ':' && getcmdline() =~ '\s*q\s*$')
? 'call Quit()' : 'q'
cnoreabbrev q! (getcmdtype() == ':' && getcmdline() =~ '\s*q!\s*$')
? 'call QuitBang()' :
Hi,
I checked it for invalid utf-8 and it was clean as far as I can tell.
I'll keep digging.
thx,
-m
--
--
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
Hi,
I get many of these msgs on my system in syslog:
Aug 27 15:02:15 gnome-session[]: (gnome-software:):
As-WARNING **: failed to rescan: Failed to parse
/usr/local/share/applications/vim.desktop file: cannot process file of type
application/x-desktop
Anyone know why ?
I do not get
Hi,
> Yes, things happen asynchronously, bit all in the same thread.
> Thus you can use a normal variable as a flag.
ok, cool.
-m
--
--
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
Hi,
I use job channels and things run async as far as I can tell ?
-m
--
--
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
---
You received this message
Hi,
Is there any suggestion for a mutex lock/unlock in vim ?
I want to protect some logging code in my plugin from being executed
concurrently.
thx always for everything vim,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you
> Thanks Tony.
> Is there a way around the recursion of mapping p to call a function that
> issues a p between setting scrolljump values ? Perhaps with an alias ?
Hi,
Something weird, like this ???
function! MyPaste() abort
nnoremap p p
let =1
execute "normal p"
let =-50
nnoremap
> :map :set scrolljump=1p
> :map :set scrolljump=1P
> :map :set scrolljump=-50
Hi,
Thanks Tony.
Is there a way around the recursion of mapping p to call a function that
issues a p between setting scrolljump values ? Perhaps with an alias ?
thx,
-mark
--
--
You
Hi,
I set scrolljump=-50, it works well for me.
But sometimes when I paste it is annoying when the cursor jumps.
I have experimented with:
au InsertEnter * let =1
au InsertLeave * let =-50
but this doesn't seem to affect pasting.
Does anyone know of or have a suggestion for this ?
Could I remap
Hi,
If I set wrap on for vimdiff (in all windows) and there is a wrapped line in
one window long enough to wrap at least once more than the other window, the
lines in the windows are no longer in alignment. For example, it would seem
the "" line in one window to match the other's new line
Hi,
In search.c if I add the ui_delay() call in three places,
it pretty much does what I am looking for:
give_warning((char_u *)_(top_bot_msg), TRUE);
+ ui_delay(p_mat * 100L, TRUE);
And then I set matchtime=3 for example.
Cool imho if there could be some kind of wrapscan/warning timeout
Hi everyone,
An example of this would be when I have shm-=s and I search for a string, when
it wraps I get the warning msg "search hit BOTTOM, continuing at TOP" and I
have changed my WarngingMsg highlight to make this easier to see, but without
disabling wrapscan, I often find the warning msg
Hi,
I made progress after finding my mistakes.
I will map 'something else' to C-\ in terminal mode and command mode.
Thank you again for your replies which help so much.
take care,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text
Hi,
> window manager won't receive the key from inside Vim. So
I think this is the issue - for me yes, the window mgr wins
and I try to make sure it and vim do not use the same key sequences.
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your
Hi,
If the window mgr grabs C-\ then I don't think it will work ?
I did test but will test again, I propably messed something up.
I think what I'm hoping for is if perhaps we knew something like:
C-\ calls function foo() ...
then I can unmap C-\ and map C-x (or S-F12) to call function foo()
and
Tony, hi
Sorry for not being more precise -
I mean make another key do what C-\ does, but my difficult point is
that another program (like a window mgr etc.) might grab C-\ before vim,
so I don't mean map C-x to C-\ for exmaple.
thx,
-m
--
--
You received this message from the "vim_use"
Hi,
Is it possible to remap C-\ to a different C- key ?
thx for all that is vim,
-m
--
--
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
---
You received
Tony, hi
> When in Terminal-Job mode, _only_ the mappings defined by tmap or
> :tnoremap are active. OTOH, these mappings are active nowhere else.
If I start a bash as a terminal job, and in that bash I start vim (I know
circular and maybe not ok, but its what I did), then I still have
some
Hi,
One thing _I think_ is happening is my tmaps are being honored instead of (or
perhaps before) my nmaps.
Perhaps I can tunmap some maps in this case ?
I'll post what I find.
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the
Hi,
> /a
Tony, thanks, That is also great to know and I will use it.
thank you and everyone for vim,
-m
--
--
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
Hi,
> :let @/=@a
Awesome, thank you Tim.
-m
--
--
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
---
You received this message because you are
Hi,
Is there a way to search a file for the text that is in a register ?
thx always for everything vim,
-m
--
--
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
Hi,
Thank you.
-m
--
--
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
---
You received this message because you are subscribed to the Google Groups
Hi,
> Something like:
> :update|next
> perhaps?
ok, cool. I didn't know about :update.
(I could even maybe handle E163, E165 for the last one)
take care,
and thank you and everyone for vim,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your
Hi,
Thanks. I will look into that func, or something like it.
> Making the one act like the other would confuse me.
I think I'm really only asking for a :x to save and move on with out prompting.
take care
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post!
Hi,
When editting many files I can just do :wn to save and go to next, but
just curious, does anyone know of a mapping/abbrev so that :x acts like
:x for one file (and the last file), but acts like :wn for the files in
between ? Or really just saves curent and loads next w/o a prompt ?
thx
Hi,
Perhaps a bit circular, but I live in vim terminal a lot and when I start vim
to edit a file from a terminal shell some of my mappings do not work as they do
when starting vim outside of terminal (as from a standard zsh).
For example I have this:
nnoremap viW
When in vim from terminal
> Can I get mode() as V or v and save it to restore ? I will try.
Yes, perhaps with visualmode() :-)
thx,
-m
--
--
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
Hi,
> Thank you. To follow-up how do we know to V or v (how visual was originally
> started) ? Is that possible ?
Can I get mode() as V or v and save it to restore ? I will try.
thx again,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply
> Something along this perhaps?
>
> xnoremap mode()=="\"?"V":"\"
Thank you. To follow-up how do we know to V or v (how visual was originally
started) ? Is that possible ?
take care,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below
Hi,
Anyone know of a way to vnoremap to toggle between visual and v-block
modes ? As it is now for me, from visual mode goes to v-block mode
(which is great), but press again and it exits all visual modes, I would
like it to just toggle it back to visual mode and update the selection.
thx
Hi,
Is Termdebug a plug-in ? If so, I will stare at it next week and see if I
can figure something out here.
thx,
-m
On Wed, Oct 31, 2018, 6:30 PM M Kelly > No, currently there is no option for it. But it makes sense.
> >
> > I wonder how best to specify this. I suppose it
> No, currently there is no option for it. But it makes sense.
>
> I wonder how best to specify this. I suppose it depends on what you
> want to debug, thus a global flag is not that useful. Some flag on the
> :Termdebug command is probably more useful.
Yes, that would be great.
thx,
-m
--
Hi,
I am using :Termdebug and was wondering if there was a way to remove the:
2 #a? "debugged program [active]"line 0
window/buffer at start up.
I usually attach to a running process and do not use this window.
Can I somehow hide it automatically ?
thx always for the vim universe,
-m
--
Hi,
Is there a way in vim script to count the number of folds present ?
thanks always for the vim universe,
-mark
--
--
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
Hi,
When I yank a line (yy) I see the msg "1 line yanked" (I have report=0)
and I have clipboard set to:
clipboard=unnamedplus,autoselect,exclude:cons\|linux
But - maybe once out of 20 time or so - the + register does not show the data.
Even if I use "+y instead of yy its the same - works fine
> Is there a way to map keys only when in normal mode from a terminal ?
Hi,
I think something like this works -
nnoremap( == 'terminal') ? 'i' : ''
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
Hi,
Is there a way to map keys only when in normal mode from a terminal ?
thx,
-m
--
--
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
---
You received
Hi,
> In this situation t_BE and t_BD are empty, thus bracketed paste is not
> supported.
Thanks for looking into it.
Adding this -
if =~ "screen"
let _BE = "\e[?2004h"
let _BD = "\e[?2004l"
exec "set t_PS=\e[200~"
exec "set t_PE=\e[201~"
endif
is a good solution for me.
thank you
> I cannot reproduce this when running Vim in a terminal window.
> What do you run, zsh? How do you start it, with ":term zsh" or with
> ":term" while 'shell' is set to "zsh"?
>
> And what terminal is Vim running in and what is 'term' set to?
Hi,
just :terminal
my shell is zsh
> How exactly do you paste?
first -
to get into normal mode
V, select a few lines moving around
yank
back to terminal mode
then -
paste with ctrl-shift-v or with mouse middle button
thx,
-m
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below
> Vim does not enables bracketed paste mode if TERM=screen.
> To enable bracketed paste mode when vim runs in tmux, you may add following
> setting into .vimrc.
>
> if =~ "screen"
> let _BE = "\e[?2004h"
> let _BD = "\e[?2004l"
> exec "set t_PS=\e[200~"
> exec "set t_PE=\e[201~"
Hi,
It seems for me bracketed paste is not enabled in terminal mode.
If I copy a few lines then paste into my zsh outside of vim (in tmux) then
bracketed paste is enabled and the lines are not executed until I hit enter.
But if in terminal mode I paste then each line is executed.
Is this
> So if the operand of :execute starts with a colon, that colon is not harmful,
> but it isn't necessary either.
Thank you so much Tony for explaining that.
-mark
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
Hi,
It seems that sometimes I see cmds in an execute statement without a leading
colon, as in:
execute "conf qa"
And sometimes I see the colon, as in:
execute ":conf qa"
Is there a rule or reason why ? Just wanting to understand it properly.
I would have thought I need a colon always since
> Another way would be to check the fold regions.
Any pointer/info/tip on how to determine the non-fold region is empty ?
thx,
mark
--
--
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
Hi,
Is there a variable for how many diffs are present after starting vimdiff ?
I'd like to exit immediately with status of 0 if there are no differences
between the files I pass into vimdiff.
thx for any suggestions,
-mark
--
--
You received this message from the "vim_use" maillist.
Do not
Hi,
I just read about the TerminalOpen event, when I use:
au TerminalOpen * set signcolumn=no
it works :-)
thx,
mark
--
--
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
Hi,
I set signcolumn=yes in my .vimrc.
When starting a terminal the sign column is not displayed, but then going into
normal mode for this terminal shows it again.
I tried this -
au BufWinEnter * if == 'terminal' | set signcolumn=no | endif
but it does not work.
Any idea how to automatically
Would something like this work as a toggle ?
nnoremap ( == 'terminal') ? 'i' : '\'
-mark
--
--
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
---
> Any command that would start Insert mode, e.g. 'a' or 'i'.
Well ok, thats just too darn obvious!
thx as always,
mark
--
--
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
Hi,
When in a terminal I can do or to get into normal mode.
But is there a way to get back to terminal mode ? No matter what I try and
search for I cannot seem to find it.
thx,
mark
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below
> Are you in windows OS? If it is, it will confilct with windows OS shortkey.
Hi, no, sorry should have added that. I'm on Linux, Ubuntu 16.04 LTS +hwe
--
--
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
Hi,
Any idea why this doesn't work ?
nnoremap :conf qa
If I don't use the but some other non-ctrl char it works fine.
I keep getting a msg:
Type :qa! and press to abandon all changes and exit Vim
On this and also whenever I just type ctrl-c
thx,
mark
--
--
You received this message
Hi,
I think I solved it with this -
function! s:TermQuit()
quit!
endfunction
tnoremap :call TermQuit()
take care,
-mark
--
--
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
Hi,
Any help with an autocmd so that when I quit vim it does not really quit if at
least one terminal is still active ?
Otherwise the current window goes hidden and then when I exit the terminal the
previous window/buffer suddenly reappears.
thx always for vim and all your support,
mark
--
I added a check in my lightline git branch routine to check for diff and set
the correct "diff" status there, so its fixed now.
When I think about it, it makes sense this way. But at first I thought both
files would go through the same .vimrc startup logic.
take care,
-mark
--
--
You received
Hi,
In my .vimrc I have
if
let b:mckgitstatus = "diff"
else
autocmd BufReadPost,BufNewFile,FileReadPost * call MyGitStatus()
autocmd BufUnload * call MyGitLeave()
endif
And in the first file window I do see "diff" status as expected.
But the second file window does not have the "diff"
Hi,
I am creating a timer that starts a job at a regular interval.
When the job is finished I update a variable with some of the job output with a
ch_read().
I would like to update the statusline with this variable, but that means each
vim process and also each tab / window have their own
> > Off course you can. Type CTRL+\ CTRL+N and the terminal buffer will become
> > a regular buffer without ending the job. Then you can yank, mark or do
> > whatever you need.
> >
> >
> > To go back to Terminal mode just type A.
>
> ok, yes, but this is more effort than before. In more
> Off course you can. Type CTRL+\ CTRL+N and the terminal buffer will become a
> regular buffer without ending the job. Then you can yank, mark or do whatever
> you need.
>
>
> To go back to Terminal mode just type A.
ok, yes, but this is more effort than before. In more detail, if I am in a
1 - 100 of 104 matches
Mail list logo