Skip to content

Instantly share code, notes, and snippets.


Mario Grgic mario-grgic

  • Waterloo, Canada
View GitHub Profile
mario-grgic / .inputrc
Created Aug 20, 2021
.inputrc that enables Vim's text object when editing BASH command line (set -o vi).
View .inputrc
set completion-ignore-case On
#TAB: menu-complete
Tab: complete
set editing-mode vi
# enable-bracketed-paste is On by default starting with readline 8.1.
# This reverses colors of pasted text and is a bit jarring.
# When set to On, readline will configure the terminal in a way that will
# enable it to insert each paste into the editing buffer as a single string
# of characters, instead of treating each character as if it had been read from