4 ms·
I really love my vim bindings, I try to use them everywhere possible. So far that is: Web browser: Vimium plugin (Chrome) Music player: Cmus Terminal multip
by ShepherdKing 8y ago
I really love my vim bindings, I try to use them everywhere possible. So far that is:
Web browser: Vimium plugin (Chrome)
Music player: Cmus
Terminal multiplexer: Tmux & Screen
Terminal pager: GNU Less
I'm still trying to figure out how best to use vim bindings in my z-shell (zsh) and ipython interactive sessions.
- kungtotte 8y agoFor zsh, just enable vi input mode? (bindkey -v in .zshrc) It starts in insert mode, hit esc to get to normal mode where your typical vi binds work. So instead of ^a to go to the beginning of the line it's <Esc>0
- ShepherdKing 8y agoI think the issue that I had was that my regular bindings in insert mode (CTRL-a) were disabled while in vi input mode, which caused problems for other shell programs. Plus, with Tmux and GNU Screen already re-configured with vi bindings, managing key binding collisions became complicated with vi input mode enabled. The bigger issue that I tend to have is managing copy-paste buffers between Screen, Tmux, and Vim.
- sd2k 8y agoYou may like [ptipython](https://github.com/prompt-toolkit/ptpython/blob/master/README.rst#I https://github.com/prompt-toolkit/ptpython/blob/master/READM... python-support) for vim bindings in an ipython(-ish) environment.