Less keystrokes (just trying).
[dotfiles] / .bash_bind
1 #!/bin/sh
2
3 # you can also edit the ~/.inputrc file
4 # and add something like
5 #
6 # "\C-t": "top\n"
7 # or
8 # "\C-gu": "uptime\n"
9 # Not all bash line editing is controlled from ~/.inputrc; this is the reason of this file
10 #
11 # let's be creative :) we'll try to bind more useful command in the future
12
13 bind -x '"\C-xt":tmux'
14 bind -x '"\C-xu":uptime'
15 bind -x '"\C-xd":date'
16 bind -x '"\C-xc":cal'
17 bind -x '"\C-xi":my_ip'
18 bind -x '"\C-xg":glances'
19 bind -x '"\C-xp":emax /home/nsukami/Documents/post.org'
20 bind -x '"\C-xq":exit'
21 bind -x '"\C-xr":djo_runserver'
22 bind -x '"\C-xh":djo_shellp'