3 ms·
I have this in my .vimrc (https://bitbucket.org/tednaleid/vimrc/src https://bitbucket.org/tednaleid/vimrc/src): nnoremap <D-d> <C-w>v<C-w>l nnoremap <D-D> <C-
by tednaleid 15y ago
I have this in my .vimrc (https://bitbucket.org/tednaleid/vimrc/src https://bitbucket.org/tednaleid/vimrc/src):
nnoremap <D-d> <C-w>v<C-w>l
nnoremap <D-D> <C-w>s<C-w>j
This makes cmd-d open up a vertical split, and cmd-shift-d open up a horizontal one. Same keybindings as in iterm2 and I find them easier than the chording that you have to do normally (which makes my hand feel like it's using emacs).