Lie Ryan
  • Member for 6 years, 11 months
  • Last seen more than a month ago
Remote pair programming in NeoVim?
-1 votes

Simplest solution is to just run a Dropbox or Syncthing sync client and configure your editors to auto save/load files changed in the background without any prompt. If you're on different editors, ...

View answer
VIM mouse scrolling on Konsole show ^[OA at the top and ^[OB at the bottom of the page
2 votes

:help system() tells you about this: system({expr} [, {input}]) *system()* *E677* [...] When prepended by |:silent| the terminal will not be set to cooked mode. This is meant ...

View answer
Search and copy the text between two markers in gvim
2 votes

You can use the HTML/XML tag text object: :g/DOG/norm v2at"AY Or if you have a way to reformat the XML afterwards, then this shorter command also works: :g/DOG/norm y2at Both should work in ...

View answer
Is it normal that I can't erase an input to FZF?
Accepted answer
1 votes

No, it isn't the normal behavior for fzf.vim. I was able to backspace normally to delete typed text. Check your mappings by running :map <Backspace>.

View answer
Does Ex mode have any practical use?
2 votes

Does Ex mode have any practical use? Probably not. However, while entering Ex mode isn't really useful, learning Ex commands still is useful, particularly because you use ex editing commands with :g/ ...

View answer
How to restart vim from within vim?
3 votes

To answer your title question is pretty simple, just add this to your shell aliases (note untested, there may be syntax issues, but I think it gets the point across): vim() { while command vim $@;...

View answer
How to disable moving the cursor with the mouse
0 votes

You can set mouse= to disable mouse entirely, use set mouse=a to restore mouse behaviour. You can automatically enable/disable mouse only in terminal vim but not in GUI vim by checking for if has("gui"...

View answer
How do I automatically add a character at end of line?
3 votes

I think what you really want is an automatic syntax checking. Try Syntastic. The plugin shows you syntax errors so you don't have to go back and forth to the compiler to catch syntax issues like ...

View answer