Commit f7207b5e482f85ad0c0f62c01ffecaa523ff8706

Stop playing with vi mode in command lines
Could never get used to it for command-line editing, keeping key
definitions for reference or if I'll give it another try.
Author: xaizek
Author date (UTC): 2025-09-18 18:30
Committer name: xaizek
Committer date (UTC): 2025-09-18 18:30
Parent(s): 45688e1c9cfde0a90f8c0b2ca03b76e340f7db68
Signing key: 99DC5E4DB05F6BE2
Tree: 5f2a2a130aa577fde8746c6beb9df022c2abce8b
File Lines added Lines deleted
inputrc 10 7
File inputrc changed (mode: 100644) (index 192f18b..9f0de59)
1 1 # do completion on one <tab> press, not two # do completion on one <tab> press, not two
2 2 set show-all-if-ambiguous On set show-all-if-ambiguous On
3 3
4 # display input mode indicator in front of command line
5 set show-mode-in-prompt On
6
7 4 # disable any kind of bell (annoying on failed completion) # disable any kind of bell (annoying on failed completion)
8 5 set bell-style none set bell-style none
9 6
 
... ... set keymap vi-command
91 88 "\C-p": previous-history "\C-p": previous-history
92 89 "\C-x\C-r": re-read-init-file "\C-x\C-r": re-read-init-file
93 90
94 # gdb looses ability to enable TUI in vi mode, so use in bash only
95 $if Bash
96 set editing-mode vi
97 $endif
91 # gdb loses ability to enable TUI in vi mode, so use in bash only
92 # $if Bash
93 # set editing-mode vi
94 # # display input mode indicator in front of command line
95 # set show-mode-in-prompt On
96 # $endif
97
98 # could never get used to vi mode for command-line editing, keeping key
99 # definitions above for reference or if I'll give it another try
100 set editing-mode emacs
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotfiles

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotfiles

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master