95 reputation
5
bio website
location
age
visits member for 1 year, 7 months
seen Jul 18 '13 at 20:04

Jan
9
comment Vim Navigation in insert mode effectively
Another reason to avoid abusing insert mode (i.e., by using it all the time) is that the user would be sidestepping Vim's standard undo/redo functionality. For example, if you make a series of changes in insert mode, then escape to normal and undo with u, you will undo all changes made. Additionally, Ctrl-u in insert mode is not easily redoable (unlike normal mode deletion commands). The user can still rely on :earlier and :later but loses granularity in the undo tree unless using Ctrl-G u See vim.wikia.com/wiki/Using_undo_branches
Jan
7
comment Vim no longer prompts for encryption key when reading encrypted file; why not, and how can I get this restored?
Thanks for all the good information, even if it confirms my fears about the file! Actually, I thought that pkzip was the default encryption method and tried to use openssl for that, but something I read while researching this made me think Vim had <em>changed</em> the default to blowfish in 7.3 rather than just adding it. My mistake.
Jan
7
comment Vim no longer prompts for encryption key when reading encrypted file; why not, and how can I get this restored?
After years of forcing OS X to show extensions I apparently lapsed, so that setting is back on, at least! Good suggestions about test cases.
Jan
7
comment Vim no longer prompts for encryption key when reading encrypted file; why not, and how can I get this restored?
I can't seem to replicate this, either. I created another file, encrypted it, decrypted successfully, renamed it, decrypted successfully, moved to Dropbox, and decrypted successfully again. One thing I did notice is that when I changed the extension to *.crypt in Finder, a hidden *.txt extension was still appended, and OSX still showed the "TXT" file icon. But even after I eliminate that *.txt extension with Terminal I still can decrypt successfully.
Jan
7
comment Vim no longer prompts for encryption key when reading encrypted file; why not, and how can I get this restored?
I'm not sure what in my .vimrc could affect this; the only things that I can imagine altering the file that I have set are autoread,smarttab,autoindent,wrap, and showbreak.
Nov
29
comment In Vim, what are the differences between using :sus and :sh to access the shell without ending the Vim session?
Great answer. Thank you!
Nov
29
comment In Vim, what are the differences between using :sus and :sh to access the shell without ending the Vim session?
Great answer. Thank you!
Nov
29
comment In Vim, what are the differences between using :sus and :sh to access the shell without ending the Vim session?
I left one other difference out that is listed in Vim help: in certain environments, one cannot paste text that was yanked from a stopped/suspended Vim, whereas you apparently don't lose that ability when starting a subshell.