Skip to main content
17 events
when toggle format what by license comment
Dec 2, 2021 at 19:50 comment added FriskySaga On WSL, you'll need to restart the terminal to see the changes advised by @Soap take into affect.
May 22, 2021 at 10:43 comment added kevinnlsamuel you can launch the full $EDITOR to edit the current line with v this doesn't seem to work with zsh. it is entering visual mode. any idea? i am using powerlevel10k theme, but i don't think that could be the reason right?
S May 19, 2021 at 15:04 history suggested Gerardo Lima CC BY-SA 4.0
explained how to launch $EDITOR to edit command line
May 19, 2021 at 13:24 review Suggested edits
S May 19, 2021 at 15:04
Apr 9, 2020 at 13:47 comment added LRDPRDX How to paste a clipboard in terminal in this case? Neither the <C-v>, <C-S-v> nor vim registers work.
Dec 30, 2019 at 15:22 comment added soap @Will That worked, with a few changes. Namely, I added: set show-mode-in-prompt on set vi-ins-mode-string "+" set vi-cmd-mode-string ":"
Dec 28, 2017 at 4:43 comment added Will For a visual indicator you can put set show-mode-in-prompt on, set vi-ins-mode-string "+" and set-cmd-mode-string ":" in your .inputrc file.
May 2, 2017 at 17:50 comment added user86041 ^ Why put (and not set), does Mac have it's own version of bash?
Mar 23, 2011 at 7:27 comment added Steve Jorgensen I notice that the cursor appearance doesn't change in the different modes bash w/ vi key bindings. Is there any way to make it do that? It would be nice to have a visual indication of what mode I'm in.
Mar 23, 2011 at 7:24 comment added Steve Jorgensen Note that on OS X, you'll need to put the put -o vi in ~/.bash_profile instead of ~/.bashrc .
Dec 15, 2010 at 18:35 comment added Shawn J. Goff Checkout the bind builtin
Dec 15, 2010 at 18:34 comment added Gilles 'SO- stop being evil' @Somebody: Not .vimrc since you're still using the shell's built-in editor, but you can configure key bindings in .inputrc for all readline applications (such as bash), in .bashrc for bash specifically, in .zshrc for zsh.
Dec 15, 2010 at 18:10 comment added Somebody still uses you MS-DOS Pretty neat. Do you know if it's possible to have some kind of .vimrc as well, but for this uses? For example, adding different mappings to <ESC>...
Dec 15, 2010 at 18:08 vote accept Somebody still uses you MS-DOS
Dec 15, 2010 at 17:42 history edited Shawn J. Goff CC BY-SA 2.5
Add information about modes.
Dec 15, 2010 at 17:31 history edited Shawn J. Goff CC BY-SA 2.5
Add information about readline
Dec 15, 2010 at 17:25 history answered Shawn J. Goff CC BY-SA 2.5