Merge branch 'master' of ssh://jonfu.com/home/jon/dots
This commit is contained in:
@@ -13,6 +13,8 @@ alias l.='ls -lh --color=auto' 2>/dev/null
|
|||||||
alias l='ls -lh'
|
alias l='ls -lh'
|
||||||
alias ll='ls -lh'
|
alias ll='ls -lh'
|
||||||
#set -o vi
|
#set -o vi
|
||||||
|
alias p='ping'
|
||||||
|
alias s='sudo'
|
||||||
|
|
||||||
#golang stuff
|
#golang stuff
|
||||||
export GOPATH=$HOME/gopath
|
export GOPATH=$HOME/gopath
|
||||||
@@ -22,6 +24,7 @@ export EDITOR=/usr/bin/vim
|
|||||||
|
|
||||||
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
#vi readline
|
#vi readline
|
||||||
set -o vi
|
set -o vi
|
||||||
#ctrl-x, ctrl-e to launch $EDITOR (vim)
|
#ctrl-x, ctrl-e to launch $EDITOR (vim)
|
||||||
@@ -29,3 +32,5 @@ bind -m vi-insert '"\C-x\C-e": edit-and-execute-command'
|
|||||||
|
|
||||||
#fix clear screen in vi mode
|
#fix clear screen in vi mode
|
||||||
bind -m vi-insert "\C-l":clear-screen
|
bind -m vi-insert "\C-l":clear-screen
|
||||||
|
=======
|
||||||
|
>>>>>>> 8339691402a347f81d8e7896e8acfc8cebca7ddf
|
||||||
|
|||||||
@@ -57,5 +57,5 @@ conky.config = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
conky.text = [[
|
conky.text = [[
|
||||||
L $loadavg | M $mem | $battery_short | N ${upspeedf enp4s0}/${downspeedf enp4s0} | ${time %m/%d} ${time %H:%M}
|
$loadavg | $mem | ${upspeedf enp4s0}/${downspeedf enp4s0} | ${time %m/%d} ${time %H:%M} | $battery_short
|
||||||
]]
|
]]
|
||||||
|
|||||||
@@ -43,3 +43,36 @@ set -g mouse on
|
|||||||
bind-key Tab last-window
|
bind-key Tab last-window
|
||||||
bind-key BTab previous-window
|
bind-key BTab previous-window
|
||||||
|
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
|
||||||
|
# Basic status bar colors
|
||||||
|
set-option -g status-bg default
|
||||||
|
set-option -g status-fg white
|
||||||
|
|
||||||
|
# Left side of status bar
|
||||||
|
set-option -g status-left-length 40
|
||||||
|
set-option -g status-left "#[fg=colour18,bg=colour12] #S #[fg=default,bg=default] "
|
||||||
|
|
||||||
|
# Window status
|
||||||
|
set-option -g window-status-format "#[fg=colour18,bg=brightblack] #I #[fg=white,bg=black] #W "
|
||||||
|
set-option -g window-status-current-format "#[fg=colour18,bg=colour7] #I #[fg=colour18,bg=colour4] #W "
|
||||||
|
set-option -g window-status-separator " "
|
||||||
|
set-option -g status-justify left
|
||||||
|
|
||||||
|
# Right side of status bar
|
||||||
|
set-option -g status-right-length 40
|
||||||
|
set-option -g status-right " #[fg=brightwhite,bg=black] %a, %d %b %H:%M #[fg=colour18,bg=colour4] #(whoami)@#h "
|
||||||
|
|
||||||
|
# Pane border
|
||||||
|
set-option -g pane-border-bg default
|
||||||
|
set-option -g pane-border-fg brightblack
|
||||||
|
set-option -g pane-active-border-bg default
|
||||||
|
set-option -g pane-active-border-fg white
|
||||||
|
|
||||||
|
# Pane number indicator
|
||||||
|
set-option -g display-panes-colour brightblack
|
||||||
|
set-option -g display-panes-active-colour brightwhite
|
||||||
|
|
||||||
|
# Clock mode
|
||||||
|
set-option -g clock-mode-colour white
|
||||||
|
set-option -g clock-mode-style 24
|
||||||
|
|||||||
1
vim/.vim/bundle/goyo.vim
Submodule
1
vim/.vim/bundle/goyo.vim
Submodule
Submodule vim/.vim/bundle/goyo.vim added at 5b8bd03787
1
vim/.vim/bundle/lightline-buffer
Submodule
1
vim/.vim/bundle/lightline-buffer
Submodule
Submodule vim/.vim/bundle/lightline-buffer added at 128ddaad4a
1
vim/.vim/bundle/minibufexpl.vim
Submodule
1
vim/.vim/bundle/minibufexpl.vim
Submodule
Submodule vim/.vim/bundle/minibufexpl.vim added at ad72976ca3
1
vim/.vim/bundle/vim-easyescape
Submodule
1
vim/.vim/bundle/vim-easyescape
Submodule
Submodule vim/.vim/bundle/vim-easyescape added at 710f59bc13
48
vim/.vimrc
48
vim/.vimrc
@@ -6,6 +6,7 @@ set encoding=utf-8
|
|||||||
let mapleader=","
|
let mapleader=","
|
||||||
set nu
|
set nu
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
set showtabline=2
|
||||||
set hidden
|
set hidden
|
||||||
set incsearch
|
set incsearch
|
||||||
|
|
||||||
@@ -50,11 +51,23 @@ nnoremap <C-j> <C-W><C-J>
|
|||||||
nnoremap <C-k> <C-W><C-K>
|
nnoremap <C-k> <C-W><C-K>
|
||||||
nnoremap <C-l> <C-W><C-L>
|
nnoremap <C-l> <C-W><C-L>
|
||||||
nnoremap <C-h> <C-W><C-H>
|
nnoremap <C-h> <C-W><C-H>
|
||||||
|
<<<<<<< HEAD
|
||||||
" use jj to escape insert mode
|
" use jj to escape insert mode
|
||||||
inoremap jj <Esc>
|
inoremap jj <Esc>
|
||||||
inoremap jk <Esc>
|
inoremap jk <Esc>
|
||||||
inoremap kj <Esc>
|
inoremap kj <Esc>
|
||||||
nnoremap <CR> o<Esc>
|
nnoremap <CR> o<Esc>
|
||||||
|
=======
|
||||||
|
" use jk to escape insert mode - using easyescape plugin
|
||||||
|
let g:easyescape_chars = { "j": 1, "k": 1 }
|
||||||
|
let g:easyescape_timeout = 100
|
||||||
|
cnoremap jk <ESC>
|
||||||
|
cnoremap kj <ESC>
|
||||||
|
|
||||||
|
" blank lines
|
||||||
|
nnoremap <Enter> o<ESC>
|
||||||
|
nnoremap <S-Enter> O<ESC>
|
||||||
|
>>>>>>> 8339691402a347f81d8e7896e8acfc8cebca7ddf
|
||||||
|
|
||||||
nnoremap <leader>l :ls<CR>:b<Space>
|
nnoremap <leader>l :ls<CR>:b<Space>
|
||||||
nnoremap <Tab> :bnext<CR>
|
nnoremap <Tab> :bnext<CR>
|
||||||
@@ -77,19 +90,52 @@ Plugin 'VundleVim/Vundle.vim'
|
|||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
Plugin 'kien/ctrlp.vim'
|
Plugin 'kien/ctrlp.vim'
|
||||||
Plugin 'scrooloose/nerdtree'
|
Plugin 'scrooloose/nerdtree'
|
||||||
|
"Plugin 'fholgado/minibufexpl.vim'
|
||||||
Plugin 'tmhedberg/SimpylFold'
|
Plugin 'tmhedberg/SimpylFold'
|
||||||
Plugin 'vim-scripts/indentpython.vim'
|
Plugin 'vim-scripts/indentpython.vim'
|
||||||
Plugin 'scrooloose/syntastic'
|
Plugin 'scrooloose/syntastic'
|
||||||
" PEP8 checking plugin
|
" PEP8 checking plugin
|
||||||
Plugin 'nvie/vim-flake8'
|
Plugin 'nvie/vim-flake8'
|
||||||
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
|
|
||||||
Plugin 'itchyny/lightline.vim'
|
Plugin 'itchyny/lightline.vim'
|
||||||
|
Plugin 'taohex/lightline-buffer'
|
||||||
"Plugin 'klen/python-mode'
|
"Plugin 'klen/python-mode'
|
||||||
Plugin 'itchyny/calendar.vim'
|
Plugin 'itchyny/calendar.vim'
|
||||||
Plugin 'davidhalter/jedi-vim'
|
Plugin 'davidhalter/jedi-vim'
|
||||||
Plugin 'tpope/vim-surround'
|
Plugin 'tpope/vim-surround'
|
||||||
|
<<<<<<< HEAD
|
||||||
Plugin 'ap/vim-buftabline'
|
Plugin 'ap/vim-buftabline'
|
||||||
Plugin 'wellle/targets.vim'
|
Plugin 'wellle/targets.vim'
|
||||||
|
=======
|
||||||
|
Plugin 'junegunn/goyo.vim'
|
||||||
|
Plugin 'zhou13/vim-easyescape'
|
||||||
|
>>>>>>> 8339691402a347f81d8e7896e8acfc8cebca7ddf
|
||||||
|
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
filetype plugin indent on " required
|
filetype plugin indent on " required
|
||||||
|
|
||||||
|
" use lightline-buffer in lightline
|
||||||
|
let g:lightline = {
|
||||||
|
\ 'tabline': {
|
||||||
|
\ 'left': [ [ 'bufferinfo' ],
|
||||||
|
\ [ 'separator' ],
|
||||||
|
\ [ 'bufferbefore', 'buffercurrent', 'bufferafter' ], ],
|
||||||
|
\ 'right': [ [ 'close' ], ],
|
||||||
|
\ },
|
||||||
|
\ 'component_expand': {
|
||||||
|
\ 'buffercurrent': 'lightline#buffer#buffercurrent',
|
||||||
|
\ 'bufferbefore': 'lightline#buffer#bufferbefore',
|
||||||
|
\ 'bufferafter': 'lightline#buffer#bufferafter',
|
||||||
|
\ },
|
||||||
|
\ 'component_type': {
|
||||||
|
\ 'buffercurrent': 'tabsel',
|
||||||
|
\ 'bufferbefore': 'raw',
|
||||||
|
\ 'bufferafter': 'raw',
|
||||||
|
\ },
|
||||||
|
\ 'component_function': {
|
||||||
|
\ 'bufferinfo': 'lightline#buffer#bufferinfo',
|
||||||
|
\ },
|
||||||
|
\ 'component': {
|
||||||
|
\ 'separator': '',
|
||||||
|
\ },
|
||||||
|
\ }
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +1,52 @@
|
|||||||
*background: #151B1A
|
|
||||||
*foreground: #8FA388
|
|
||||||
|
|
||||||
*cursorColor: #9E6438
|
|
||||||
|
|
||||||
*color0: #2E2B38
|
|
||||||
*color1: #984E66
|
|
||||||
*color2: #7A8C54
|
|
||||||
*color3: #9E6438
|
|
||||||
*color4: #395667
|
|
||||||
*color5: #9D916B
|
|
||||||
*color6: #536556
|
|
||||||
*color7: #828181
|
|
||||||
*color8: #474159
|
|
||||||
*color9: #A86D56
|
|
||||||
*color10: #9FB274
|
|
||||||
*color11: #B29F5E
|
|
||||||
*color12: #507A91
|
|
||||||
*color13: #B89855
|
|
||||||
*color14: #7E9982
|
|
||||||
*color15: #BDBDA4
|
|
||||||
URxvt*scrollBar: false
|
URxvt*scrollBar: false
|
||||||
URxvt.font: xft:xos4 Terminus:size=14:antialias=true
|
URxvt.font: xft:Terminus:size=14:antialias=true
|
||||||
URxvt.boldFont: xft:xos4 Terminus:bold:size=14:antialias=true
|
!URxvt.boldFont: xft:Terminus:bold:size=14:antialias=true
|
||||||
URxvt*transparent: true
|
URxvt*transparent: true
|
||||||
URxvt*shading: 10
|
URxvt*shading: 10
|
||||||
|
|
||||||
URxvt*perl-ext-common: default,matcher
|
URxvt*perl-ext-common: default,matcher
|
||||||
URxvt*matcher.button: 1
|
URxvt*matcher.button: 1
|
||||||
! URxvt*url-launcher: /usr/bin/google-chrome
|
! URxvt*url-launcher: /usr/bin/google-chrome
|
||||||
URxvt*url-launcher: /home/jon/apps/firefox/firefox
|
! URxvt*url-launcher: /home/jon/apps/firefox/firefox
|
||||||
|
URxvt*url-launcher: /usr/bin/firefox
|
||||||
|
|
||||||
|
! URxvt.blurRadius: 25
|
||||||
|
URxvt*.termName: rxvt-unicode-256color
|
||||||
|
|
||||||
|
! special
|
||||||
|
*.foreground: #c5c8c6
|
||||||
|
*.background: #1d1f21
|
||||||
|
*.cursorColor: #c5c8c6
|
||||||
|
|
||||||
|
! black
|
||||||
|
*.color0: #282a2e
|
||||||
|
*.color8: #373b41
|
||||||
|
|
||||||
|
! red
|
||||||
|
*.color1: #a54242
|
||||||
|
*.color9: #cc6666
|
||||||
|
|
||||||
|
! green
|
||||||
|
*.color2: #8c9440
|
||||||
|
*.color10: #b5bd68
|
||||||
|
|
||||||
|
! yellow
|
||||||
|
*.color3: #de935f
|
||||||
|
*.color11: #f0c674
|
||||||
|
|
||||||
|
! blue
|
||||||
|
*.color4: #5f819d
|
||||||
|
*.color12: #81a2be
|
||||||
|
|
||||||
|
! magenta
|
||||||
|
*.color5: #85678f
|
||||||
|
*.color13: #b294bb
|
||||||
|
|
||||||
|
! cyan
|
||||||
|
*.color6: #5e8d87
|
||||||
|
*.color14: #8abeb7
|
||||||
|
|
||||||
|
! white
|
||||||
|
*.color7: #707880
|
||||||
|
*.color15: #c5c8c6
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user