aboutsummaryrefslogtreecommitdiff
path: root/files/rcs
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2018-11-29 17:11:42 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2018-11-29 17:11:42 +0100
commit8e4f61e861f52a3d7e9acd2472f7ae9caa52ee35 (patch)
tree0608005d78eecd5bdd242df6d1e4f00c8ac7bde6 /files/rcs
parented0b4b912056e3a0f1cbf1d030e1fb0b85d6cb58 (diff)
downloadconfigs-8e4f61e861f52a3d7e9acd2472f7ae9caa52ee35.tar.gz
configs-8e4f61e861f52a3d7e9acd2472f7ae9caa52ee35.zip
jue nov 29 17:11:47 CET 2018
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>