Bash One-Liners Explained, Part V: Navigating around
1–10 of 35 posts
Re: Bash One-Liners Explained, Part V: Navigating around
#2Re: Bash One-Liners Explained, Part V: Navigating around
#3Re: Bash One-Liners Explained, Part V: Navigating around
#4http://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#...
edit:
oh, this is the first time I've seen this: there is a vi mode for bash http://cnswww.cns.cwru.edu/php/chet/readline/rluserman.html#...
Re: Bash One-Liners Explained, Part V: Navigating around
#5$ set -o vi This command changes the key bindings to vi's. If vi's your favorite editor, you'll love this. I'll cover the vi mode in more details in the next part of the article.
I'd love to find a cheat sheet for vi bash usage (and also an indicator for which editing mode I'm in).
Re: Bash One-Liners Explained, Part V: Navigating around
#6This is a great guide. Especially awesome for me was: 26. Change input mode to vi $ set -o vi This command changes the key bindings to vi's. If vi's your favorite editor, you'll love this. I'll cover the vi mode in more details in the next part of the article. I'd love to find a cheat sheet for vi bash usage (and also an indicator for which editing mode I'm in).
Re: Bash One-Liners Explained, Part V: Navigating around
#7This is a great guide. Especially awesome for me was: 26. Change input mode to vi $ set -o vi This command changes the key bindings to vi's. If vi's your favorite editor, you'll love this. I'll cover the vi mode in more details in the next part of the article. I'd love to find a cheat sheet for vi bash usage (and also an indicator for which editing mode I'm in).
Re: Bash One-Liners Explained, Part V: Navigating around
#8This is a great guide. Especially awesome for me was: 26. Change input mode to vi $ set -o vi This command changes the key bindings to vi's. If vi's your favorite editor, you'll love this. I'll cover the vi mode in more details in the next part of the article. I'd love to find a cheat sheet for vi bash usage (and also an indicator for which editing mode I'm in).
Luckily, zsh actually allows you to change your prompt when the mode changes. I have mine set up to change the color of part of it whenever I'm in command mode. Definitely worth setting up.
Re: Bash One-Liners Explained, Part V: Navigating around
#9Re: Bash One-Liners Explained, Part V: Navigating around
#10This is a great guide. Especially awesome for me was: 26. Change input mode to vi $ set -o vi This command changes the key bindings to vi's. If vi's your favorite editor, you'll love this. I'll cover the vi mode in more details in the next part of the article. I'd love to find a cheat sheet for vi bash usage (and also an indicator for which editing mode I'm in).
This has made me even happier than learning I could get vim key bindings in vim's own command-line mode[1]. Thanks again!
[1](C-f from command-line mode, or q: from normal)