Update urxvt/nvim to work with powerline fonts

primary
George Rawlinson 2016-11-01 17:45:56 +13:00
parent 675ad9b1bc
commit f4bd6cb1b1
2 changed files with 28 additions and 34 deletions

View File

@ -1,5 +1,6 @@
call plug#begin()
" plugins
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'sickill/vim-monokai'
@ -7,48 +8,39 @@ Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-sensible'
Plug 'chrisbra/sudoedit.vim'
Plug 'scrooloose/nerdtree'
"Plug 'ntpeters/vim-better-whitespace'
"Plug 'nathanaelkane/vim-indent-guides'
call plug#end()
" Use UTF-8 encoding
" use UTF-8 encoding
set encoding=utf-8
" View line numbers
" view line numbers
set number
" Display
" display
set tabstop=4
set shiftwidth=4
set expandtab
"set softtabstop=4
" Show tabs & trailing space
"set listchars=tab:»·,trail:·
" show tabs & trailing space
set listchars=tab:▸\ ,trail,eol
set list
" Configure vim-airline
let g:airline_theme='simple'
" vim-airline - monokai + powerline
let g:airline_theme='base16_monokai'
let g:airline_powerline_fonts = 1
set laststatus=2
" Configure vim-monokai with syntax highlighting
" configure vim-monokai with syntax highlighting
colorscheme monokai
syntax enable
let g:load_doxygen_syntax=1
" Configure vim-indent-guides with suitable colours
"let g:indent_guides_auto_colors=0
"hi IndentGuidesOdd ctermbg=235
"hi IndentGuidesEven ctermbg=237
" Also load on startup
"let g:indent_guides_enable_on_vim_startup=1
"Use system clipboard
"use system clipboard
set clipboard+=unnamedplus
" Disable UDLR keys (prefer HJKL)
" disable UDLR keys (prefer HJKL)
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>

View File

@ -1,4 +1,4 @@
! Colours
! monokai colours
URxvt.background: #272822
URxvt.foreground: #f8f8f2
URxvt.color0: #272822
@ -18,22 +18,24 @@ URxvt.color13: #ae81ff
URxvt.color14: #a1efe4
URxvt.color15: #f9f8f5
! Font
URxvt.font: xft:DejaVu Sans Mono:size=10:antialias=true:hinting=true
! powerline font
URxvt.font: xft:DejaVu\ Sans\ Mono\ for\ Powerline:size=10:antialias=true:hinting=true
! Tighter letter spacing
URxvt.letterSpace: -1
! font config
xft.autohint: 0
xft.lcdfilter: lcddefault
xft.hintstyle: hintslight
xft.hinting: 1
xft.antialias: 1
xft.rgba: rgb
! Remove internal border
! remove scroll bar
URxvt.scrollBar: false
! Remove scroll bar
! remove internal border
URxvt.internalBorder: 0
! Perl Extensions: Clickable URLs + Simple Tabs
! URxvt.perl-ext-common: default,matcher,tabbed
! Perl Extensions: Clickable URLs
! perl extensions: clickable urls
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1