Merge branch 'master' of ssh://jonfu.com/home/jon/dots

This commit is contained in:
jomido
2018-07-22 14:04:57 -05:00
26 changed files with 450 additions and 65 deletions

7
vim/.vim/.netrwhist Normal file
View File

@@ -0,0 +1,7 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =5
let g:netrw_dirhist_1='/home/jon'
let g:netrw_dirhist_2='/home/jon/.gnome'
let g:netrw_dirhist_3='/home/jon'
let g:netrw_dirhist_4='/home/jon/dwm-6.1/.git'
let g:netrw_dirhist_5='/etc/X11/xorg.conf.d'

Submodule vim/.vim/bundle/calendar.vim updated: 6d6be26b2a...f27fcf52c8

View File

@@ -0,0 +1,41 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet type="text/css" href="../../../../style.css">
<title>Directory Index: dots/vim/.vim/bundle</title>
</head>
<body>
<table class="toptable dirtop"><tr><td>
<p class="toptitle"><a href="../../../../dirindex.html">(root)</a>
/
<a href="../../../dirindex.html">dots</a>
/
<a href="../../dirindex.html">vim</a>
/
<a href="../dirindex.html">.vim</a>
/
<a href="dirindex.html">bundle</a></p>
<p class="topsubtitle">Directory Index</p>
</td></tr></table>
<div class="mininav">
<a href="../../../../dirindex.html">Root</a> |
<a href="../../../../allindex.html">Global</a> |
<a href="../../../../sortindex.html">Sorted</a>
</div>
<h3>Sub-directories:</h3>
<ul>
<li><a href="jedi-vim/dirindex.html">jedi-vim</a></li>
<li><a href="nerdtree/dirindex.html">nerdtree</a></li>
<li><a href="syntastic/dirindex.html">syntastic</a></li>
</ul><p>
</body>
</html>

Submodule vim/.vim/bundle/goyo.vim added at 5b8bd03787

1
vim/.vim/bundle/index.html Symbolic link
View File

@@ -0,0 +1 @@
dirindex.html

Submodule vim/.vim/bundle/jedi-vim updated: 0c6a2b7737...9a4a4f4074

Submodule vim/.vim/bundle/lightline-buffer added at 128ddaad4a

Submodule vim/.vim/bundle/lightline.vim added at 0532dff598

Submodule vim/.vim/bundle/minibufexpl.vim added at ad72976ca3

Submodule vim/.vim/bundle/targets.vim added at c3042dc18a

Submodule vim/.vim/bundle/vim-buftabline added at 14d208b1fa

Submodule vim/.vim/bundle/vim-easyescape added at 7054da8cae

Submodule vim/.vim/bundle/vim-surround added at aa1f120ad3

37
vim/.vim/dirindex.html Normal file
View File

@@ -0,0 +1,37 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet type="text/css" href="../../../style.css">
<title>Directory Index: dots/vim/.vim</title>
</head>
<body>
<table class="toptable dirtop"><tr><td>
<p class="toptitle"><a href="../../../dirindex.html">(root)</a>
/
<a href="../../dirindex.html">dots</a>
/
<a href="../dirindex.html">vim</a>
/
<a href="dirindex.html">.vim</a></p>
<p class="topsubtitle">Directory Index</p>
</td></tr></table>
<div class="mininav">
<a href="../../../dirindex.html">Root</a> |
<a href="../../../allindex.html">Global</a> |
<a href="../../../sortindex.html">Sorted</a>
</div>
<h3>Sub-directories:</h3>
<ul>
<li><a href="bundle/dirindex.html">bundle</a></li>
</ul><p>
</body>
</html>

1
vim/.vim/index.html Symbolic link
View File

@@ -0,0 +1 @@
dirindex.html

View File

@@ -6,10 +6,14 @@ set encoding=utf-8
let mapleader=","
set nu
set laststatus=2
set showtabline=2
set hidden
set incsearch
" Indent settings - this is for PEP8 compatibility
" hide showmode because its in statusline
set noshowmode
" Indent settings - PEP8 compatibility
set expandtab
set autoindent
set tabstop=4
@@ -22,10 +26,16 @@ set fileformat=unix
hi cursorline cterm=none term=none ctermbg=236
set cursorline
"enable relative line numbers
"set number relativenumber
"set highlight cursorcolumn cterm=NONE ctermbg=darkred ctermfg=white guibg=darkred guifg=white
nnoremap <Leader>c :set cursorline! cursorcolumn!<CR>
"highlight matching brace when closing brace, flash for 2 tenths
set showmatch
set matchtime=2
let pythong_highlight_all = 1
syntax on
@@ -41,9 +51,22 @@ nnoremap <C-j> <C-W><C-J>
nnoremap <C-k> <C-W><C-K>
nnoremap <C-l> <C-W><C-L>
nnoremap <C-h> <C-W><C-H>
" use jj to escape insert mode
inoremap jj <Esc>
inoremap jk <Esc>
inoremap kj <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>
nnoremap <leader>l :ls<CR>:b<Space>
nnoremap <Tab> :bnext<CR>
@@ -52,19 +75,17 @@ nnoremap <S-Tab> :bprev<CR>
nnoremap <leader>p :CtrlPBuffer<CR>
nnoremap <space> za
" NERDTree
" NERDTree, open/close toggle
map <C-n> :NERDTreeToggle<CR>
"airline - show buffers in the tabline if theres only one tab (always)
let g:airline#extensions#tabline#enabled = 1
"lightline colorscheme
let g:lightline = {'colorscheme': 'jellybeans',}
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" " let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
"
Plugin 'tpope/vim-fugitive'
Plugin 'kien/ctrlp.vim'
Plugin 'scrooloose/nerdtree'
@@ -73,34 +94,43 @@ Plugin 'vim-scripts/indentpython.vim'
Plugin 'scrooloose/syntastic'
" PEP8 checking plugin
Plugin 'nvie/vim-flake8'
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'itchyny/lightline.vim'
Plugin 'taohex/lightline-buffer'
"Plugin 'klen/python-mode'
Plugin 'itchyny/calendar.vim'
Plugin 'davidhalter/jedi-vim'
Plugin 'tpope/vim-surround'
Plugin 'ap/vim-buftabline'
Plugin 'wellle/targets.vim'
Plugin 'junegunn/goyo.vim'
Plugin 'zhou13/vim-easyescape'
call vundle#end() " required
filetype plugin indent on " required
" "
" " Brief help
" " :PluginList - lists configured plugins
" " :PluginInstall - installs plugins; append `!` to update or just
" :PluginUpdate
" " :PluginSearch foo - searches for foo; append `!` to refresh local cache
" " :PluginClean - confirms removal of unused plugins; append `!` to
" auto-approve removal
" "
" " see :h vundle for more details or wiki for FAQ
" " Put your non-Plugin stuff after this line
" 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': '',
\ },
\ }
"python with virtualenv support
"py << EOF
"import os
"import sys
"if 'VIRTUAL_ENV' in os.environ:
" project_base_dir = os.environ['VIRTUAL_ENV']
" activate_this = os.path.join(project_base_dir, 'bin/activate_this.py')
" execfile(activate_this, dict(__file__=activate_this))
"EOF

35
vim/dirindex.html Normal file
View File

@@ -0,0 +1,35 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel=stylesheet type="text/css" href="../../style.css">
<title>Directory Index: dots/vim</title>
</head>
<body>
<table class="toptable dirtop"><tr><td>
<p class="toptitle"><a href="../../dirindex.html">(root)</a>
/
<a href="../dirindex.html">dots</a>
/
<a href="dirindex.html">vim</a></p>
<p class="topsubtitle">Directory Index</p>
</td></tr></table>
<div class="mininav">
<a href="../../dirindex.html">Root</a> |
<a href="../../allindex.html">Global</a> |
<a href="../../sortindex.html">Sorted</a>
</div>
<h3>Sub-directories:</h3>
<ul>
<li><a href=".vim/dirindex.html">.vim</a></li>
</ul><p>
</body>
</html>

1
vim/index.html Symbolic link
View File

@@ -0,0 +1 @@
dirindex.html