~andrewzah/dotfiles

c2552b6eb4e4638c073604f2e33a0be9eddae2e8 — Andrew Zah 6 years ago 166247e
Kitty/Termite->use Fira Code, add xinit/i3lock

nvim-> Set plugins to only load on relevant files
5 files changed, 15 insertions(+), 7 deletions(-)

M .config/.kitty/kitty.conf
M .config/.termite/config
M .nvimrc
A .xinitrc
A scripts/lock
M .config/.kitty/kitty.conf => .config/.kitty/kitty.conf +3 -1
@@ 318,7 318,7 @@ map ctrl+shift+page_up   scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home      scroll_home
map ctrl+shift+end       scroll_end
map ctrl+shift+h         show_scrollback
map ctrl+shift+h         ibus engine hangul
# }}}

# Window management {{{


@@ 388,6 388,8 @@ map ctrl+shift+backspace restore_font_size
# map ctrl+shift+f7     set_font_size 20.5
# }}}

map ctrl+shift+alt ibus engine hangul

# Miscellaneous {{{
map ctrl+shift+f11      toggle_fullscreen
map ctrl+shift+u        input_unicode_character

M .config/.termite/config => .config/.termite/config +1 -1
@@ 3,7 3,7 @@
#audible_bell = false
#clickable_url = true
#dynamic_title = true
font = Inconsolata 11
font Inconsolata 11
#font = Fira Code 10
#fullscreen = true
#geometry = 640x480

M .nvimrc => .nvimrc +5 -5
@@ 7,12 7,12 @@ end
call plug#begin('~/.vim/plugged')

Plug 'AndrewRadev/sideways.vim'
Plug 'ElmCast/elm-vim'
Plug 'ElmCast/elm-vim', { 'for': 'elm' }
Plug 'bhurlow/vim-parinfer', {'for': 'clojure' }
Plug 'c-brenn/phoenix.vim', { 'for': ['ex', 'eex', 'exs'] }
Plug 'c-brenn/phoenix.vim', { 'for': ['elixir'] }
Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'chrisbra/NrrwRgn'
Plug 'elixir-editors/vim-elixir'
Plug 'elixir-editors/vim-elixir', { 'for': ['elixir'] }
Plug 'fisadev/FixedTaskList.vim'
Plug 'gcmt/wildfire.vim'
Plug 'gerw/vim-HiLinkTrace'


@@ 26,8 26,8 @@ Plug 'luochen1990/rainbow'
Plug 'machakann/vim-sandwich'
Plug 'morhetz/gruvbox'
Plug 'nathanaelkane/vim-indent-guides'
Plug 'rhysd/vim-crystal', { 'for': 'cr' }
Plug 'rust-lang/rust.vim', { 'for': 'rs' }
Plug 'rhysd/vim-crystal', { 'for': 'crystal' }
Plug 'rust-lang/rust.vim', { 'for': 'rust' }
Plug 'scrooloose/nerdcommenter'
Plug 'soramugi/auto-ctags.vim'
Plug 'tpope/vim-fireplace', { 'for': 'clojure' }

A .xinitrc => .xinitrc +2 -0
@@ 0,0 1,2 @@
exec i3
xautolock -time 5 -locker lock

A scripts/lock => scripts/lock +4 -0
@@ 0,0 1,4 @@
#!/bin/bash
scrot /tmp/screenshot.png
convert /tmp/screenshot.png -blur 0x5 /tmp/screenshotblur.png
i3lock -i /tmp/screenshotblur.png -fe