Fixed newsboat to solarized
Changed vim powerline to airline
This commit is contained in:
parent
33fa881a62
commit
4de54679ea
|
@ -11,10 +11,12 @@ I have implemented a custom couple of scripts to handle screen setup for work, h
|
|||
* [URxvt](https://github.com/exg/rxvt-unicode)
|
||||
|
||||
## Applications
|
||||
* [ncmpcpp](https://github.com/arybczak/ncmpcpp)
|
||||
* [NewsBoat](https://github.com/newsboat/newsboat)
|
||||
* [Sublime Text 3](https://www.sublimetext.com/)
|
||||
|
||||
# Powerline
|
||||
On Arch/Manjaro we need to install the Powerline fonts from the git repository for it to work properly. We might also need to use the urxvt patched package of urxvt.
|
||||
|
||||
# Stow Commands
|
||||
I use Gnu Stow to manage my dotfiles. Dotfiles from this repository can be used by issuing:
|
||||
~~~
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#!/bin/bash
|
||||
. ~/.i3/env
|
||||
i3-msg "workspace 8:Media; append_layout ~/.i3/layouts/workspace8-media.json"
|
||||
i3-msg "workspace 8:Media; exec urxvt -fn xft:Terminus:pixelsize=22 -name newsboat -e newsboat"
|
||||
#i3-msg "workspace 8:Media; exec urxvt -fn xft:Terminus:pixelsize=20 -name ncmpcpp -e ncmpcpp"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8:Media; exec urxvt -fn xft:DejaVu\ Sans\ Mono\ for\ Powerline:pixelsize=22 -name newsboat -e newsboat"
|
||||
#i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
|
|
@ -1,4 +1,17 @@
|
|||
auto-reload yes
|
||||
reload-time 60
|
||||
browser "w3m %u"
|
||||
articlelist-format "%4i %f %D %t"
|
||||
articlelist-format "%4i %f %D %t"
|
||||
|
||||
color background default default
|
||||
color listnormal default default
|
||||
color listnormal_unread default default
|
||||
color listfocus black yellow
|
||||
color listfocus_unread black yellow
|
||||
color info default black
|
||||
color article default default
|
||||
|
||||
# highlights
|
||||
highlight article "^(Title):.*$" blue default
|
||||
highlight article "https?://[^ ]+" red default
|
||||
highlight article "\\[image\\ [0-9]+\\]" green default
|
||||
|
|
22
vim/.vimrc
22
vim/.vimrc
|
@ -1,5 +1,7 @@
|
|||
syntax on
|
||||
filetype indent on
|
||||
|
||||
set encoding=utf-8
|
||||
set clipboard=unnamed
|
||||
set smartindent
|
||||
set shiftwidth=2
|
||||
|
@ -8,21 +10,25 @@ set expandtab
|
|||
set number
|
||||
set autoread
|
||||
|
||||
let g:powerline_pycmd="py3"
|
||||
"NERDTree
|
||||
let NERDTreeShowHidden=1
|
||||
let g:NERDTreeDirArrowExpandable = '▸'
|
||||
let g:NERDTreeDirArrowCollapsible = '▾'
|
||||
|
||||
filetype indent on
|
||||
"Airline
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
let g:Powerline_symbols='unicode'
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline_theme='solarized'
|
||||
let g:airline_solarized_bg='dark'
|
||||
|
||||
"Mappings
|
||||
:nmap <c-s> :w<CR>
|
||||
:imap <c-s> <Esc>:w<CR>a
|
||||
nnoremap <F7> :tabp<CR>
|
||||
nnoremap <F8> :tabn<CR>
|
||||
nnoremap <F9> :bp<CR>
|
||||
nnoremap <F10> :bn<CR>
|
||||
nnoremap <F7> :bp<CR>
|
||||
nnoremap <F8> :bn<CR>
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
|
||||
"AutoCommands
|
||||
au BufWinEnter * set number
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||
au FileType xml setlocal equalprg=xmllint\ --format\ --recover\ -\ 2>/dev/null
|
||||
|
|
Loading…
Reference in New Issue