3 ms·
I do a lot of sysadmin stuff and go crazy when I need to do anything except copy/paste, and insert. I really want to sit down and learn vim for those tasks but
by sl1ck731 8y ago
I do a lot of sysadmin stuff and go crazy when I need to do anything except copy/paste, and insert. I really want to sit down and learn vim for those tasks but usually just end up opening nano and going about my business.
One problem I've found with vim is some weird character buffer thing happens where my text stops displaying or something. I've never investigated it but its probably SSH itself.
- cillian64 8y agoDo you accidentally press Ctrl+s to try and save? That tells the terminal to stop sending text (eg if a long command output was scrolling by). Try Ctrl+q to fix it next time it happens.
- sl1ck731 8y agoIt is entirely possible. I'll have to be more cognizant next time it happens and catch myself if that's the case.
- bonoboTP 8y agoNewer versions of Nano actually do save the file on CTRL+S.
- wolco 8y agoDidn't pico as well?
- fiddlerwoaroof 8y agoI believe this fixes that behavior while vi is open: https://github.com/fiddlerwoaroof/dotfiles/blob/master/zsh/zsh_plugins/dependencies/vi-tty-fix.zsh https://github.com/fiddlerwoaroof/dotfiles/blob/master/zsh/z...