I want a prompt to save Vim edits when closing window with "X" button

2016-09-28 Thread go
Hi, I normally close Vim with either ":q" or ":wq" or "ZZ". However yesterday at the end of the day, I closed a bunch of windows and accidentally closed a Vim window and lost some edits :-( I wish that Vim would display a prompt to save changes when I close with the "X" button at the right top

Re: Is it possible to redirect vim input?

2015-07-08 Thread GoTouch Go
. Obviously this can apply to other languages as well. On Monday, July 6, 2015 at 5:51:29 AM UTC-7, Benji Fisher wrote: On Sun, Jul 5, 2015 at 9:43 AM, Steve B b.s...@gmx.com wrote: On 07/03/2015 09:23 PM, GoTouch Go wrote: Hi there, I am looking to make vim work with gdb in an easy way

Is it possible to redirect vim input?

2015-07-04 Thread GoTouch Go
to vim so as to show a file, go to specific line, etc. This way I can press Fn hot keys, send commands to gdb, and move the cursor in vim as well. I can still edit in vim, and save the change, recompile and restart gdb. So what I am looking to is basically sending input to vim through a pipe. Do

Re: netrw opens file in wrong directory

2014-01-21 Thread gideon . go
Hello DrChip, Thank you for fixing this bug! The new version works beautifully on the test case. However, I pushed the test a bit further as follows: 1) Set up the initial state again with the treeview in mode 3. 2) Open fileA in a new window at the left using netrw-v. 3) Now, split the new

netrw opens file in wrong directory

2014-01-19 Thread gideon . go
. Consider the following test case: ../ netrwtest/ | dirA/ | | fileA | fileB and try the following: Go to fileA and hit v. As expected, dirA/fileA opens in a new window at the left. Now, do C-w lj to highlight fileB and hit P. Notice that netrw has now opened a new file, dirA/fileB [RO], instead