Switched to VIM as default editor

This commit is contained in:
jfm 2018-06-06 14:53:13 +02:00
parent 3c87f39bf0
commit de210db09c
3 changed files with 10 additions and 5 deletions

View File

@ -158,12 +158,17 @@ PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
#Disable CapsLock #Disable CapsLock
setxkbmap -option ctrl:nocaps setxkbmap -option ctrl:nocaps
#Disable some CTRL for VIM commands
bind -r '\C-s'
stty -ixon
#Paths #Paths
export M2_HOME=/home/jfm/Tools/apache-maven export M2_HOME=/home/jfm/Tools/apache-maven
export PATH=$PATH:$M2_HOME/bin export PATH=$PATH:$M2_HOME/bin
export GIT_EDITOR=vim
#Aliases #Aliases
alias oc="/home/jfm/Tools/openshift-origin-client/oc" alias oc="/home/jfm/Tools/openshift-origin-client/oc"
alias code="cd /home/jfm/Customers/TDC/Code/Onboarding" alias code="cd /home/jfm/Customers/TDC/Code/Onboarding"
alias prod="ssh -fN sochi" alias prod="ssh -fN sochi"
alias top="htop" alias top="htop"

View File

@ -15,8 +15,8 @@
"percent": 0.6, "percent": 0.6,
"swallows": [ "swallows": [
{ {
"class": "^Subl3$", "class": "^URxvt$",
"instance": "^subl3$" "instance": "^vim$"
} }
], ],
"type": "con" "type": "con"

View File

@ -2,7 +2,7 @@
. ~/.i3/env . ~/.i3/env
i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json" i3-msg "workspace 4:Work; append_layout ~/.i3/layouts/workspace4-work.json"
i3-msg "workspace 4:Work; exec subl3" i3-msg "workspace 4:Work; exec urxvt -name vim -e vim"
i3-msg "workspace 4:Work; exec urxvt -name shell1" i3-msg "workspace 4:Work; exec urxvt -name shell1"
i3-msg "workspace 4:Work; exec urxvt -name shell2" i3-msg "workspace 4:Work; exec urxvt -name shell2"
i3-msg "workspace 4:Work; move workspace to output $PRIMARY" i3-msg "workspace 4:Work; move workspace to output $PRIMARY"