.Xmodmap and gitg alias
arnaucube arnaucube@gmail.com
Sun, 09 Dec 2018 13:12:50 +0100
A
.Xmodmap
@@ -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
M
.bashrc
→
.bashrc
@@ -16,8 +16,12 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '
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
M
README.md
→
README.md
@@ -3,11 +3,15 @@ config files
- NeoVim: `init.vim` - - in `.config/nvim/init.vim` - - install https://github.com/junegunn/vim-plug - - inside neovim, execute: `:PlugInstall` + - in `.config/nvim/init.vim` + - install https://github.com/junegunn/vim-plug + - inside neovim, execute: `:PlugInstall` - `.bashrc` - - in `~/home` directory - - execute `source .bashrc` + - in `~/home` directory + - execute `source .bashrc` - Tmux: `.tmux.conf` - - in `~/home` directory + - 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`