summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-09-07 11:57:54 +0200
committerUrbain Vaes <urbain@vaes.uk>2018-09-07 11:57:54 +0200
commitb01e6816cccea22fa996d5d6766ef959d3d0c496 (patch)
tree46733b8029a9d774920cbc14f301b01a12c9b97f
parent328351cd17242e439201d3c846baf37278a1565c (diff)
[zsh] Add binding for vi-edit-cmd
-rw-r--r--git/.gitconfig12
-rw-r--r--guix/.guix-env2
-rw-r--r--zsh/.zshenv1
-rw-r--r--zsh/.zshrc4
4 files changed, 11 insertions, 8 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
index 4bfe639..1dd05ae 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -1,17 +1,17 @@
+[core]
+ fileMode = false
[user]
name = Urbain Vaes
email = urbain@vaes.uk
+ signingKey = 716064C0
[init]
templatedir = ~/.git_template
[alias]
ctags = !.git/hooks/ctags
+ saveandsync = !git add . && git commit -m "Update" && git push origin master
[push]
default = simple
-[status]
- submodulesummary = 1
-[alias]
- saveandsync = !git add . && git commit -m "Update" && git push origin master
-[core]
- fileMode = false
[http]
sslverify = false
+[commit]
+ gpgSign = True
diff --git a/guix/.guix-env b/guix/.guix-env
index f5c75f5..7726a65 100644
--- a/guix/.guix-env
+++ b/guix/.guix-env
@@ -5,7 +5,7 @@ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
export LC_ALL=en_US.utf8
# Paths
-export PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH"
+export PATH="$PATH${PATH:+:}$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin"
# export CPATH="/home/urbain/.guix-profile/include${CPATH:+:}$CPATH"
# export LIBRARY_PATH="/home/urbain/.guix-profile/lib${LIBRARY_PATH:+:}$LIBRARY_PATH"
diff --git a/zsh/.zshenv b/zsh/.zshenv
index b7e0f3e..5db58ac 100644
--- a/zsh/.zshenv
+++ b/zsh/.zshenv
@@ -9,6 +9,5 @@ export PYTHONSTARTUP="$HOME/.pythonrc"
# Source guix profile
guix_profile=$HOME/.guix-env
-
[[ -f $guix_profile ]] && . $guix_profile
diff --git a/zsh/.zshrc b/zsh/.zshrc
index bfb1dec..9b06a94 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -17,6 +17,10 @@ bindkey '^k' kill-line
bindkey '^u' kill-whole-line
bindkey '^v' visual-mode
bindkey '^w' backward-kill-word
+
+autoload -z edit-command-line
+zle -N edit-command-line
+bindkey -M vicmd '^W' edit-command-line
# }}}
## Options and modules {{{