Live data from Hacker News

Enhancements to Shell and Vim Productivity

danielmiessler.com

1–10 of 62 posts

Re: Enhancements to Shell and Vim Productivity

#2
"A commenter mentioned using Dropbox for synchronization as well, which seems attractive, but I’m not sure how clean that would be on headless Linux servers." Dropbox does work pretty nicely on headless Linux servers, you just have a daemon running constantly with none of the GUI extensions. I use it for keeping some code in check.

Nice list of things to try, I don't use vim but I've been putting off doing 3 of them (caps remap, iTerm and zsh).

Re: Enhancements to Shell and Vim Productivity

#4
I'm a full-time Vim user who has never taken to `bindkey -v`. The reason is simple: I'm using insert mode 99% of the time, so using vi keybindings just makes me have to hit an extra key.

However, it is useful some of the time. Since viins is pretty useless by default, you can spice it up by setting custom bindings (e.g. copy emacs') and get the best of both worlds. Furthermore, this may be helpful: http://www.bewatermyfriend.org/media/vi-mode.zsh

Re: Enhancements to Shell and Vim Productivity

#8
post #4

I'm a full-time Vim user who has never taken to `bindkey -v`. The reason is simple: I'm using insert mode 99% of the time, so using vi keybindings just makes me have to hit an extra key. However, it is useful some of the time. Since viins is pretty useless by default, you can spice it up by setting custom bindings (e.g. copy emacs') and get the best of both worlds. Furthermore, this may be helpful: http://www.bewater…

`bindkey -v` puts you in insert mode by default (there's a way to make it not do that, but the default is insert first).

So there's not really an extra key, you get both benefits :).

Re: Enhancements to Shell and Vim Productivity

#9
post #7

When you have already remapped Caps-Lock as an additional control, why not just use Ctrl-[ instead of the 'jj' remapping for Escape. It saves a bit of Vim configuration, and also works in Bash vi mode.

Same. I'm weary of inoremaps and Ctrl-[ is just really easy.
Post reply on HN