projects
/
dotfiles
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3284ab1
)
Bing keys for complete, menu-complete and some git commands.
author
patrick nsukami
<ndkpatt@gmail.com>
Fri, 17 Jul 2015 01:14:31 +0000
(
01:14
+0000)
committer
patrick nsukami
<ndkpatt@gmail.com>
Fri, 17 Jul 2015 01:14:31 +0000
(
01:14
+0000)
.bash_bind
patch
|
blob
|
history
diff --git
a/.bash_bind
b/.bash_bind
index
961d3bb
..
1254b74
100644
(file)
--- a/
.bash_bind
+++ b/
.bash_bind
@@
-12,6
+12,12
@@
# read command is your friend
# make sure to replace ^[ by \e
# read command is your friend
# make sure to replace ^[ by \e
+# -x is for executing linux commands or aliases or functions
+# without disturbing current cli
+
+# reload bash: source bashrc and enter
+# no need to execute, because of \n
+bind '"\e[15~":"source ~/.bashrc\n"'
bind -x '"\C-xt":tmux'
bind -x '"\C-xu":uptime'
bind -x '"\C-xt":tmux'
bind -x '"\C-xu":uptime'
@@
-20,16
+26,17
@@
bind -x '"\C-xc":cal'
bind -x '"\C-xi":my_ip'
bind -x '"\C-xg":glances'
bind -x '"\C-xp":emax /home/nsukami/Documents/post.org'
bind -x '"\C-xi":my_ip'
bind -x '"\C-xg":glances'
bind -x '"\C-xp":emax /home/nsukami/Documents/post.org'
-bind -x '"\C-xq":exit'
-bind -x '"\C-xr":". ~/.bashrc"'
#
#
-bind "TAB:
menu-
complete"
-#bind -"\C-TAB:complete"
+bind "TAB:complete"
+bind '"\e[Z":menu-complete'
# alt-shift w
# alt-shift w
-bind -x '"\eW":"who"'
-bind -x '"\eg":"git status"'
+bind -x '"\ea":"git au"'
+bind -x '"\es":"git stu"'
+bind -x '"\ec":"git co"'
+bind -x '"\ed":"git dc"'
+bind -x '"\eq":exit'
# dabbrev expand
# dabbrev expand
-
# bind -x
'"\e/":dabbrev-expand'
+
bind
'"\e/":dabbrev-expand'