From 7453e58e51423350d80fbdbf35ba69c433978c6d Mon Sep 17 00:00:00 2001 From: foo-dogsquared Date: Fri, 16 Aug 2019 01:10:42 +0800 Subject: [PATCH] Update i3, vim, and ranger --- i3/config | 4 ++-- ranger/rc.conf | 4 ++-- vim/.vimrc | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/i3/config b/i3/config index 7864244..eaeaf6b 100644 --- a/i3/config +++ b/i3/config @@ -239,11 +239,11 @@ mode "applications" { bindsym f exec firefox bindsym v exec inkscape bindsym r exec alacritty --class "ranger" --command ranger - bindsym R exec alacritty --command ranger + bindsym Shift+r exec alacritty --command ranger bindsym t exec thunderbird bindsym a exec thunar bindsym x exec alacritty --class "vim" --command vim - bindsym X exec alacritty --command vim + bindsym Shift+x exec alacritty --command vim bindsym z exec zathura # Ways to exit the mode diff --git a/ranger/rc.conf b/ranger/rc.conf index 9b63414..d3002d9 100644 --- a/ranger/rc.conf +++ b/ranger/rc.conf @@ -727,7 +727,7 @@ copytmap q Q w # Here's my custom changes # opening VS Code easily map OC shell code %s -map Oc shell code %f +map Oc shell code %d map OV shell vim %s -map Ov shell vim %f +map Ov shell vim %d map Os shell $SHELL diff --git a/vim/.vimrc b/vim/.vimrc index 9d3725c..33b231d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -47,6 +47,9 @@ inoremap jk " setting number lines in the gutter set number relativenumber +" setting line highlighting based on the position of the cursor +set cursorline + " set tab to enter spaces, instead set expandtab