commit dca03e52e4959cf1db75729f6d20458997d5110a
parent 5a407b52c140f42982b6960318d9fdd78097d1af
Author: Bharatvaj <bharatvaj@yahoo.com>
Date: Tue, 3 May 2022 20:36:33 +0530
Add ReverseDate function for vim
Use login shell for bash in alacritty
Setup better ration (1:2:1) for lf
Setup keyboard in xinitrc
NOTE
----
Need better method for keyboard configurations as it changes from system
to system.
Diffstat:
5 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc
@@ -7,6 +7,7 @@ __type() {
__type i3 || (echo "i3 not found" && exit 1)
__type setxkbmap && setxkbmap -option caps:escape
+__type setxkbmap && setxkbmap -option altwin:swap_alt_win
__type xbmap && xbmap
__type xrdb && xrdb merge ~/.config/X11/Xresources
__type hsetroot && exec hsetroot -solid "#000000" &
diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
@@ -4,5 +4,6 @@ mouse:
import:
- ~/.config/alacritty/theme.yml
- ~/.config/alacritty/font.yml
+ - ~/.config/alacritty/unix.yml
live_config_reload: true
diff --git a/.config/alacritty/unix.yml b/.config/alacritty/unix.yml
@@ -0,0 +1,3 @@
+shell:
+ program: bash
+ args: ['--login', '-i']
diff --git a/.config/lf/lfrc b/.config/lf/lfrc
@@ -1,3 +1,4 @@
map . set hidden!
map v :toggle; down
map V :invert
+set ratios 1:2:1
diff --git a/.config/vim/keybindings/markdown.vim b/.config/vim/keybindings/markdown.vim
@@ -10,3 +10,7 @@ function QuickUnderline(n)
normal! yypv$r-
endif
endfunction
+
+function ReverseDate()
+ normal! dt/wwpldeBP
+endfunction