From 43f78090ac856aaf3d947f2e3c1471b8de4c518d Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Mon, 12 Apr 2021 19:37:21 +0300 Subject: [PATCH] X11 issue fixed --- .config/X11/xinitrc | 3 +-- .config/vim/plugin/coc.vim | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/X11/xinitrc b/.config/X11/xinitrc index 761d4775..e1044bef 100755 --- a/.config/X11/xinitrc +++ b/.config/X11/xinitrc @@ -66,7 +66,6 @@ xset dpms 600 600 600 $BROWSER & #pass 2> /dev/null > /dev/null && qtpass & -aria2c 2> /dev/null > /dev/null redshift -x 2> /dev/null > /dev/null redshift -r -l "$LATLONG" > /dev/null 2> /dev/null & @@ -82,7 +81,7 @@ do fi dwmblocks > $XDG_RUNTIME_DIR/dwmblocks.out 2> $XDG_RUNTIME_DIR/dwmblocks.err & - dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err + exec dwm > $XDG_RUNTIME_DIR/dwm.log 2> $XDG_RUNTIME_DIR/dwm.err sleep 0.5 done diff --git a/.config/vim/plugin/coc.vim b/.config/vim/plugin/coc.vim index ce32d387..38cb9f3c 100644 --- a/.config/vim/plugin/coc.vim +++ b/.config/vim/plugin/coc.vim @@ -28,6 +28,10 @@ inoremap pumvisible() ? coc#_select_confirm() : "\u\ [g (coc-diagnostic-prev) nmap ]g (coc-diagnostic-next) +" Coc Prettier +vmap f (coc-format-selected) +nmap f (coc-format-selected) + " GoTo code navigation. nmap gd (coc-definition) nmap gy (coc-type-definition)