2 ms·
As a longtime vim user it feels like if I actually wanted a TUI veneer over the git CLI I'm already quite familiar with, I'd prefer it be done within vim as an
by pengaru 6y ago
As a longtime vim user it feels like if I actually wanted a TUI veneer over the git CLI I'm already quite familiar with, I'd prefer it be done within vim as an extension/plugin or something.
Having some vim-like keybindings in non-vim tools is nice, but it's always a far cry from being vim. And personally I find it incredibly annoying when I'm in something vim-like enough to establish "I'm in vim" expectations and not meet them once I start trying to use the thing like vim without restraint. I'm then put into this constant second guessing mode of "if this really were vim I'd do so and so, but should I just try it? maybe it'll do something really unexpected, time to RTFM? sigh." which is really unproductive and psychologically awful.
Especially when we're talking about dev tools like git integration, where the mental state is already going to be steeped well into text editor land, all the familiar vimisms are going to be hot in the habitual cache.
Does anyone know of anything tig-like that's implemented as a vim plugin one interacts with through regular vim windows? I wouldn't mind having an interactive list interface for tagging files to include in a `git commit -p` for instance, without leaving the editor.
- wrboyce 6y agoI’m a big fan of tpope’s fugitive: https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-fugitive
- mkhnews 6y agofugitive + gv vim plugins
- brandmeyer 6y agoCheck out vim's `:terminal` and `:vertical terminal` commands. It uses vim's window split management to place an ordinary no-kidding pty-based terminal into the vim UI. Ctrl-W N goes to Normal mode for copy (but not paste), Ctrl-W <motion> moves around like normal.