.Xmodmap and gitg alias

This commit is contained in:
arnaucube
2018-12-09 13:12:50 +01:00
parent c0ec97957e
commit d16876e701
3 changed files with 23 additions and 6 deletions

9
.Xmodmap Normal file
View File

@@ -0,0 +1,9 @@
!
! Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock = Control_L
add Lock = Caps_Lock
add Control = Control_L

View File

@@ -16,8 +16,12 @@ else
fi
unset color_prompt force_color_prompt
# gitg branch views, line from https://gitlab.com/dhole/dot_files/blob/master/.bash_aliases#L39
alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
# nvim alias
alias n='nvim'
alias t='tmux'
# go
export PATH=$PATH:/usr/local/go/bin

View File

@@ -11,3 +11,7 @@ config files
- execute `source .bashrc`
- Tmux: `.tmux.conf`
- in `~/home` directory
- Keyboard remap `.Xmodmap`
- in `~/home`
- changes will be applied each session start
- to apply changes in the current session use `xmodmap ~/.Xmodmap`