aboutsummaryrefslogtreecommitdiff
path: root/files/rcs
diff options
context:
space:
mode:
Diffstat (limited to 'files/rcs')
-rw-r--r--files/rcs/.Xresources4
-rw-r--r--files/rcs/.vimrc15
2 files changed, 16 insertions, 3 deletions
diff --git a/files/rcs/.Xresources b/files/rcs/.Xresources
index 3a1c6a8..0602423 100644
--- a/files/rcs/.Xresources
+++ b/files/rcs/.Xresources
@@ -52,11 +52,11 @@
! [<n>] is opacity %
URxvt.background: Black
-URxvt.foreground: White
+URxvt.foreground: #b2ffe5
URxvt.scrollBar: false
URxvt.cursorColor: #3f00ff
!URxvt.title: urxvt
-URxvt.fading: 30
+URxvt.fading: 20
URxvt.transparent: true
URxvt.shading: 20
!URxvt.visualBell: true ! Visual signal when bell character processed
diff --git a/files/rcs/.vimrc b/files/rcs/.vimrc
index 582a6f7..9b00256 100644
--- a/files/rcs/.vimrc
+++ b/files/rcs/.vimrc
@@ -2,9 +2,19 @@
execute pathogen#infect()
filetype plugin indent on
-" From above video, line number config
+" Inspired by https://github.com/LukeSmithxyz/voidrice/blob/master/.vimrc
+set nocompatible
+set encoding=utf-8
set number
set relativenumber
+set splitbelow
+set splitright
+
+" Shortcuts for split navigation
+map <C-h> <C-w>h
+map <C-j> <C-w>j
+map <C-k> <C-w>k
+map <C-l> <C-w>l
" Make tabs appear as 4 spaces (default is 8)
set tabstop=4
@@ -14,6 +24,9 @@ set tabstop=4
syntax enable
syntax on
+" Autoupdate ~/.Xresources
+autocmd BufWritePost ~/.Xresources !xrdb %
+
""" Remaps """
inoremap ,, <Esc>/<++><Enter>cf>
inoremap ,e <Esc>