Do you spend a lot of time doing task management as a Developer?

I spend a lot of time tracking what I need to do, we’ll call that “task management.” Be it work or play I always spend what I feel is an inappropriate amount of time tracking my tasks, issue trackers, emails, and planning. All my ducks seem to need to be in a row before I actually pull up my text editor and churn out some code.

I was wondering if this is simply just a normal part of being a developer, or if I have OCD.

Let’s just look at the process it took me to patch

  1. When I had the idea, I of course had to add it to my Wunderlist ‘’ and write out my idea
  2. I had to make sure I knew what to do and created a few subtasks: Test it, Patch It, Report it
  3. I pondered whether or not I should also track these as issues on my fork
  4. I decided not to, but if this had been a development project I would have just so that issue is also out there on that repo (maybe a little OCD)
  5. I went through each sub-task and ended up creating a slew of patches
  6. Someone reported that themes would also need to be patched
  7. I spend a couple minutes pondering whether or not I should add that as a sub-task or not
  8. I concluded that the task ‘Plugins should not load when the plugins page is loaded’ had to do with plugins
  9. So, I created ‘Patch so themes are not loaded using _wp_dont_load_functions’ to address that

Now, multiply that times the hundreds of tasks I probably will do this week and you can see the dilemma. #5 is where the work really was done.

Do you spend a lot of time around task-management? Did you? Any tips? Any pills I can take?

Copy & Paste not working in iTerm2 using Vim and system keyboard? [Fix]

See ‘Edit: Use both!’ below.

I recently started using Vim (or MacVim) in my terminal instead of letting MacVim open in a new window. The reason was that when I’d exit via :q I would not exit to the terminal, where I could then git status then edit another file. I just wanted to stick to the terminal window.

So, first off I started using MacVim instead of Vim. I know this sounds confusing, but if you run Vim via vim file.php, you are missing out on some cool MacVim stuff. To run MacVim in the terminal (doesn’t open a new window) use mvim -v which runs it in the terminal. So, when you exit using :q you return to the prompt. Dandy.

Now, once I did this I was immensely annoyed. Using Command-c in iTerm2 was not working, it would not copy to the system keyboard. I also have set clipboard=unnamed set in my .vimrc so a yy should copy a line directly to my system clipboard, but no.

After an hour of digging, I found the culprit. You see, I also use set mouse=a in my .vimrc, this allows me to put the cursor where I want in the terminal.

Placing my cursor anywhere in Vim

Now this behavior is only available because the option Enable xterm mouse reporting in your profile is enabled. I found that disabling this option disables the set mouse=a option (you can’t move the cursor around using the mouse), but it does allow you to use Command-c and Command-p reliably (in my case goes to system clipboard).

The iTerm Option that disabled copy and paste in Vim

I should be more ninja-like and stop using my mouse cursor to do the talking in my terminal anyways, so disabling it didn’t bother me that much and let me use MacVim more comfortably with my clipboard. I hope this helps someone, it was super-annoying and wasn’t easy to figure out.

Edit: Use both!

Note, minutes after posting this I was also able to retain my set mouse=a behavior and get Copy/Paste behavior to act as expected. This was done by enabling Use modern parser (experimental) in iTerm2, which allowed me to also enable Enable xterm mouse reporting and my yy‘s copied to my system clipboard.