Skip to content

Instantly share code, notes, and snippets.

@fayak
Created September 28, 2020 20:40
Show Gist options
  • Save fayak/fac90fea3eae23aead1eaf4b443d60ad to your computer and use it in GitHub Desktop.
Save fayak/fac90fea3eae23aead1eaf4b443d60ad to your computer and use it in GitHub Desktop.
Dotfiles
if empty(glob("~/.vim/autoload/plug.vim"))
" Ensure all needed directories exist (Thanks @kapadiamush)
execute '!mkdir -p ~/.vim/plugged'
execute '!mkdir -p ~/.vim/autoload'
" Download the actual plugin manager
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif
call plug#begin('~/.vim/plugged')
Plug 'nanotech/jellybeans.vim'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-clang'
Plug 'neomake/neomake'
" Plug 'mrk21/yaml-vim'
call plug#end()
set softtabstop=4
syntax on
set shiftwidth=4
set autoindent
set expandtab
set colorcolumn=80
set number
set smartindent
set smarttab
set mouse=a
colorscheme jellybeans
highlight ColorColumn ctermbg=5
set list
set list listchars=trail:¢,tab:>-
" add yaml stuffs
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml " foldmethod=indent
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
xterm*background: rgb:15/15/19
xterm*foreground: white
XTerm*locale: true
xterm*VT100.Translations: #override \
Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
Ctrl Shift <Key>C: copy-selection(CLIPBOARD)
XTerm*faceName: DejaVu Sans Mono:pixelsize=15
ZSH_THEME="bira"
plugins=(
git
ansible
kubectl
)
export EDITOR='vim'
xset r rate 200 40
alias vim="vim -p"
alias k="kubectl"
exec --no-startup-id feh --bg-scale /home/zarak/wallpaper.jpg
bindsym $mod+l exec i3lock -i /opt/wall.png -n -t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment