Live data from Hacker News

Ask HN: Little hacks that make your life easier?

news.ycombinator.com

41–50 of 84 posts

Re: Ask HN: Little hacks that make your life easier?

#41
I am terrible at remembering things, so for parts of my daily routine, I will just remember the number of things I need to grab/do, rather than the things themselves.

For example, there are 9 things I need to put in my gym bag when I pack it before going to the gym/work. Remembering that there are 9 things is much easier for me than remembering that list of 9 things, so I can just count as I'm packing and know when I'm done, and the probability of something foreign getting in is very low (although I have on occasion packed two pairs of socks instead of socks + underwear - never a fun way to start the day).

Or another example - I need 4 things in my pockets before I leave for work - keys, wallet, phone, work badge. The count of 4 is way easier for me to remember than the 4 things themselves.

Re: Ask HN: Little hacks that make your life easier?

#42
post #32
post #17

1. Synergy I use Synergy to use my netbook's keyboard and touchpad for my workstation. I just zoom everything up on the workstation and lay back on the bed and code. Very cool. Bash alias on both systems is "synergize" The next thing that I am going to do is switch the server and client roles automatically so that when I am using the workstation I would be able to control my netbook. 2. Tmux I ssh to the workstation…

Related to #7, I use a shell alias to open vim with three splits: alias wl="vim -o $HOME/worklog/{todo,progress,done}" Tasks flow down the splits. If you'd prefer tasks to go left-to-right, use `-O`.

Nice. I am stealing this. I have the leader mapped to . And I move around splits and tabs using this.

    "New horizontal split
    nmap s :split

    "New vertical split
    nmap v :vsplit

    "New tab
    nmap t :tabe

    "Easy close
    nmap q :q

    " Split navigation
    nmap j j
    nmap k k
    nmap h h
    nmap l l

    "Tabs like Vimium 
    noremap  :tabprevious
    noremap  :tabnext

Re: Ask HN: Little hacks that make your life easier?

#44

When I'm paying with a card I hold my wallet until I get my card back. I wrote myself a script and have my dot files on github to make setting up a new machine quicker. Tons of gmail filters. Ian's knot to tie my shoes (I know, doesn't really save time, I think there's an XKCD that shows the break even point on time investments like that). Aliases like 'helpme' that remind me of some Git commands I always forget. Bru…

I like these tips: - Holding your wallet also helps you be sure to put the card back in your wallet and not someplace else. - I think everyone agrees that the dotfiles one is useful - I personally need a better shoelace know as opposed to a faster one haha, but always fan of when people are willing to do something unconventionally and better

Re: Ask HN: Little hacks that make your life easier?

#45
post #32
post #17

1. Synergy I use Synergy to use my netbook's keyboard and touchpad for my workstation. I just zoom everything up on the workstation and lay back on the bed and code. Very cool. Bash alias on both systems is "synergize" The next thing that I am going to do is switch the server and client roles automatically so that when I am using the workstation I would be able to control my netbook. 2. Tmux I ssh to the workstation…

Related to #7, I use a shell alias to open vim with three splits: alias wl="vim -o $HOME/worklog/{todo,progress,done}" Tasks flow down the splits. If you'd prefer tasks to go left-to-right, use `-O`.

Also related to #7, I use Todo txt(http://todotxt.com), and also create an alias to switch to my project folder

   cd ~/my/project/path && todo -+@ ls +project
that will show my TODO list

Re: Ask HN: Little hacks that make your life easier?

#46
post #38
post #20

My shirt rack has three "zones". Clean clothes go in zone 1. When I take out a shirt, I put a special color hanger in its place. At night I hang up my shirt in the next zone, or chuck it in the hamper as appropriate. My memory for little stuff sucks, so this makes it easy to wear each one three times.

that's kinda gross! what's so hard about wearing clean clothes?

Do you wash your jeans after each time you wear them?

Re: Ask HN: Little hacks that make your life easier?

#47

A Mac app called Alfred has saved me countless hours. It comes with a clipboard manager (extremely useful), and the ability to create custom workflows/hotkeys, which I use to switch back and forth between Skype, Chrome, and Sublime. iTerm2 already has a hotkey feature built in, but if it didn't I'd have made one (takes Following Gary Bernhardt's advice, mapping Caps Lock to a modifier key (he recommends Control I thi…

I also recommend autojump, it make cd directories easier

Re: Ask HN: Little hacks that make your life easier?

#49
post #42
post #32

Earlier quoted context omitted.

Related to #7, I use a shell alias to open vim with three splits: alias wl="vim -o $HOME/worklog/{todo,progress,done}" Tasks flow down the splits. If you'd prefer tasks to go left-to-right, use `-O`.

Nice. I am stealing this. I have the leader mapped to . And I move around splits and tabs using this. "New horizontal split nmap s :split "New vertical split nmap v :vsplit "New tab nmap t :tabe "Easy close nmap q :q " Split navigation nmap j j nmap k k nmap h h nmap l l "Tabs like Vimium noremap :tabprevious noremap :tabnext

You should check out `:help CTRL-W_v` and most of `:help opening-window` in general; the first few of your shortcuts are already in Vim by default. I had similar shortcuts until a serendipitous trip into the help docs.
Post reply on HN