5,118 reputation
114490
bio website
location
age
visits member for 5 years, 5 months
seen Dec 23 at 12:56

I started learning web design to support my efforts as a singer/songwriter. I'm still doing that, but these days my actual job involves building intranet resources as well. My skillset is PHP, HTML, CSS, and Javascript (I'm a big fan of jQuery).


Dec
9
awarded  Popular Question
Nov
29
comment How can I discard my undo history in vim?
This is odd - running those commands individually works fine, and echoing the values throughout the function shows that they are set and unset appropriately. But running the function doesn't reset my undo history - afterwards, I can still undo multiple times. Maybe the set ul= command only affects a local variable until the script exits, and since we change it back before the script exits, it never affect the environment? Did you test this function and have it work - meaning, is there something odd about my setup?
Nov
29
comment How can I discard my undo history in vim?
Your function definition line needs () at the end.
Nov
29
accepted Toggle between two different vim configurations?
Nov
29
comment How can I discard my undo history in vim?
is that meant to be the contents of the function? It's not working for me, but maybe I misunderstood. Also - maybe move this to its own answer?
Nov
24
comment How can I discard my undo history in vim?
@akira - thanks, I updated it.
Nov
24
revised How can I discard my undo history in vim?
clarified question
Nov
24
comment How can I discard my undo history in vim?
This works! Now I'm trying to make a single command do that - preferably :edit!. As a start, I've made a function called ClearUndos() with the commands you listed, but calling it doesn't seem to do anything, whereas doing the commands individually does...
Nov
24
comment How can I discard my undo history in vim?
@akira - no, I want to be able to use u to undo individual changes, but not past the point where I last committed. Exactly as if, every time I committed, I closed the file and re-opened it. Which is what :edit! used to do - it was like closing the file and reopening it. This doesn't HAVE to be tied to a commit point, that's just the time when I'd most frequently want it.
Nov
24
asked How can I discard my undo history in vim?
Nov
23
accepted Macvim color scheme conflicting with .vimrc
Nov
18
revised OSX - Open two multiple windows of same program in different spaces on startup?
Made question more general - applies to various programs
Nov
16
comment Macvim color scheme conflicting with .vimrc
@Jack M. - that indeed was the problem. If you care to make your comment into an answer, I will accept it. :) Thank you!
Nov
15
asked OSX - Open two multiple windows of same program in different spaces on startup?
Nov
15
asked Macvim color scheme conflicting with .vimrc
Nov
12
asked Vim: “brace matching” for languages without braces? (Ruby, Python, etc)
Nov
9
asked Toggle between two different vim configurations?
Nov
2
awarded  Pundit
Oct
1
comment How to install vim with clipboard support on Fedora?
@garyjohn - awesome! That works perfectly.
Oct
1
accepted How to install vim with clipboard support on Fedora?