summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-03-07 20:02:00 +0000
committerUrbain Vaes <urbain@vaes.uk>2018-03-07 20:02:00 +0000
commitb0b11a1d6b0280c012c750dcaa9bb5d1b7160c12 (patch)
treeeb409cdfeb20f78f67e0d53678889d544b67da05
parent2766ffb0a6bf3af276e88544602100e06d1cf1e9 (diff)
Make Xresources work independently of host name
-rw-r--r--Xresources/.Xresources/nord2
-rw-r--r--Xresources/.Xresources/seoul256.dark2
-rw-r--r--Xresources/.Xresources/solarized.dark2
-rw-r--r--Xresources/.Xresources/solarized.light2
-rw-r--r--Xresources/.Xresources/transparent4
-rw-r--r--vim/.vimrc14
6 files changed, 20 insertions, 6 deletions
diff --git a/Xresources/.Xresources/nord b/Xresources/.Xresources/nord
index d57da03..7f1e6b6 100644
--- a/Xresources/.Xresources/nord
+++ b/Xresources/.Xresources/nord
@@ -1,4 +1,4 @@
-#include "/home/urbain/.Xresources/base"
+#include "base"
URxvt.borderColor: #2E3440
diff --git a/Xresources/.Xresources/seoul256.dark b/Xresources/.Xresources/seoul256.dark
index 30ad561..2cb451b 100644
--- a/Xresources/.Xresources/seoul256.dark
+++ b/Xresources/.Xresources/seoul256.dark
@@ -1,4 +1,4 @@
-#include "/home/urbain/.Xresources/base"
+#include "base"
URxvt.borderColor: #3a3a3a
diff --git a/Xresources/.Xresources/solarized.dark b/Xresources/.Xresources/solarized.dark
index 57a97ed..8940b45 100644
--- a/Xresources/.Xresources/solarized.dark
+++ b/Xresources/.Xresources/solarized.dark
@@ -1,4 +1,4 @@
-#include "/home/urbain/.Xresources/base"
+#include "base"
URxvt.borderColor: #002b36
diff --git a/Xresources/.Xresources/solarized.light b/Xresources/.Xresources/solarized.light
index eb0ee6b..b47144c 100644
--- a/Xresources/.Xresources/solarized.light
+++ b/Xresources/.Xresources/solarized.light
@@ -1,4 +1,4 @@
-#include "/home/urbain/.Xresources/base"
+#include "base"
URxvt.borderColor: #000000
diff --git a/Xresources/.Xresources/transparent b/Xresources/.Xresources/transparent
index 5f72f38..2778707 100644
--- a/Xresources/.Xresources/transparent
+++ b/Xresources/.Xresources/transparent
@@ -1,5 +1,5 @@
-#include "/home/urbain/.Xresources/base"
+#include "nord"
! True transparency
URxvt.transparent: true
-URxvt.shading: 10
+URxvt.shading: 40
diff --git a/vim/.vimrc b/vim/.vimrc
index 30bc942..040b67b 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -11,6 +11,7 @@ let maplocalleader = ","
" }}}
"" Plugins {{{
call plug#begin('~/.vim/plugged')
+Plug 'arcticicestudio/nord-vim'
Plug 'LnL7/vim-nix'
Plug 'PotatoesMaster/i3-vim-syntax'
@@ -61,6 +62,7 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'vim-scripts/ReplaceWithRegister'
Plug 'vim-scripts/gmsh.vim'
+Plug 'vyzyv/vimpyter'
Plug 'wellle/targets.vim'
if has("nvim")
@@ -158,6 +160,13 @@ nnoremap gm :Neomake!<cr>
if &runtimepath =~ 'neomake'
call neomake#configure#automake('w')
endif
+
+let g:neomake_gcc_args=[
+ \ '-Wall',
+ \ '-Wextra',
+ \ '-Wpedantic',
+ \ '-I.', '-I..', '-I../..'
+ \ ]
" }}}
"" Plugin configurations {{{
@@ -334,6 +343,8 @@ nnoremap <silent> ]b :BufSurfForward<cr>
nnoremap <silent> [B :BufSurfBack<cr>:bd! #<cr>
nnoremap <silent> ]B :BufSurfForward<cr>:bd! #<cr>
+" Alternate file
+nnoremap <bs> <c-^>
" }}}
"" Colorscheme {{{
function! SaveColo(...)
@@ -353,6 +364,8 @@ function! MyColo(colorscheme)
call SaveColo("dark","solarized","solarized")
elseif a:colorscheme == "seoul"
call SaveColo("dark","seoul256","deus")
+ elseif a:colorscheme == "nord"
+ call SaveColo("dark","nord","nord")
endif
endfunction
if filereadable($HOME."/.local/colors.vim")
@@ -362,6 +375,7 @@ nnoremap ,c :call MyColo("")<Left><Left>
nnoremap ,cl :call MyColo("solarized-light")<cr>
nnoremap ,cd :call MyColo("solarized-dark")<cr>
nnoremap ,cs :call MyColo("seoul")<cr>
+nnoremap ,cn :call MyColo("nord")<cr>
" }}}
"" Autocommands {{{
augroup vimrc