mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
6
.gitmodules
vendored
6
.gitmodules
vendored
@@ -1,6 +1,6 @@
|
|||||||
[submodule "base16-shell"]
|
[submodule "base16-shell"]
|
||||||
path = base16-shell
|
path = base16-shell
|
||||||
url = git@github.com:chriskempson/base16-shell.git
|
url = git@github.com:chriskempson/base16-shell.git
|
||||||
[submodule "zgen"]
|
[submodule "zplug"]
|
||||||
path = zgen
|
path = zplug
|
||||||
url = git@github.com:tarjoilija/zgen.git
|
url = https://github.com/zplug/zplug
|
||||||
|
|||||||
17
vimrc
17
vimrc
@@ -55,11 +55,13 @@ call plug#end()
|
|||||||
|
|
||||||
" Basics {{{
|
" Basics {{{
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
set nocompatible " choose no compatibility with legacy vi
|
||||||
filetype plugin indent on " Load filetype plugin/indent files.
|
filetype plugin indent on " Load filetype plugin/indent files.
|
||||||
syntax on " Enable syntax highlighting.
|
syntax on " Enable syntax highlighting.
|
||||||
|
set hidden
|
||||||
|
set ttyfast
|
||||||
set synmaxcol=512 " Limit syntax highlighting to 512 characters per line
|
set synmaxcol=512 " Limit syntax highlighting to 512 characters per line
|
||||||
set modeline " Use file-specific settings, if available.
|
set modeline " Use file-specific settings, if available.
|
||||||
"set autochdir " Always switch to current file directory.
|
|
||||||
set backup " Make backup files.
|
set backup " Make backup files.
|
||||||
set backupdir=~/.vim/backup " Backup directory.
|
set backupdir=~/.vim/backup " Backup directory.
|
||||||
set directory=~/.vim/tmp " Directory for swap files.
|
set directory=~/.vim/tmp " Directory for swap files.
|
||||||
@@ -71,7 +73,7 @@ set wildignore+=*.swp,*.bak,*.jpg,*.gif,*.png,*.git,
|
|||||||
set ignorecase " Ignore case, except...
|
set ignorecase " Ignore case, except...
|
||||||
set smartcase " ...when search string contains uppercase.
|
set smartcase " ...when search string contains uppercase.
|
||||||
set incsearch " Highlight as you type search phrase.
|
set incsearch " Highlight as you type search phrase.
|
||||||
" set hlserach
|
set hlsearch
|
||||||
set number " Show line numbers.
|
set number " Show line numbers.
|
||||||
set report=0 " Tell me when anything is changed via :...
|
set report=0 " Tell me when anything is changed via :...
|
||||||
set ruler " Show current positions along bottom.
|
set ruler " Show current positions along bottom.
|
||||||
@@ -85,7 +87,6 @@ set splitright " Split to the right when executing :vsplit.
|
|||||||
let g:netrw_liststyle=3 " Use tree style directory listing.
|
let g:netrw_liststyle=3 " Use tree style directory listing.
|
||||||
set background=dark
|
set background=dark
|
||||||
set path+=**
|
set path+=**
|
||||||
"set title
|
|
||||||
|
|
||||||
" Writes to the unnamed register also writes to the * and + registers. This
|
" Writes to the unnamed register also writes to the * and + registers. This
|
||||||
" makes it easy to interact with the system clipboard
|
" makes it easy to interact with the system clipboard
|
||||||
@@ -96,7 +97,7 @@ endif
|
|||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" local .vimrc {{{
|
" Local .vimrc {{{
|
||||||
set exrc " Enable use of directory-specific .vimrc
|
set exrc " Enable use of directory-specific .vimrc
|
||||||
set secure " Only run autocommands owned by me
|
set secure " Only run autocommands owned by me
|
||||||
" }}}
|
" }}}
|
||||||
@@ -106,10 +107,10 @@ set list " Show real tabs (so they can be removed).
|
|||||||
set listchars=tab:▸\ ,extends:❯,precedes:❮,nbsp:␣,trail:-
|
set listchars=tab:▸\ ,extends:❯,precedes:❮,nbsp:␣,trail:-
|
||||||
set linebreak " Don't soft-wrap in the middle of a word.
|
set linebreak " Don't soft-wrap in the middle of a word.
|
||||||
set showbreak=↳ " Show `…' at the beginning of a soft-broken line.
|
set showbreak=↳ " Show `…' at the beginning of a soft-broken line.
|
||||||
set tabstop=8 " Real tabs are 8 columns long.
|
set tabstop=4 " Real tabs are 4 columns long.
|
||||||
set expandtab " No real tabs (use spaces for tabs).
|
set expandtab " No real tabs (use spaces for tabs).
|
||||||
set softtabstop=2 " Set # of spaces when hitting tab/delete.
|
set softtabstop=4 " Set # of spaces when hitting tab/delete.
|
||||||
set shiftwidth=2 " Set # of softtabs when using cindent, <<, >>, ...
|
set shiftwidth=4 " Set # of softtabs when using cindent, <<, >>, ...
|
||||||
set textwidth=80 " Set max # of characters on each line.
|
set textwidth=80 " Set max # of characters on each line.
|
||||||
set autoindent " Use indentation level of previous line.
|
set autoindent " Use indentation level of previous line.
|
||||||
set nojoinspaces " Don't add extra space after ., !, etc. when joining.
|
set nojoinspaces " Don't add extra space after ., !, etc. when joining.
|
||||||
@@ -121,7 +122,7 @@ set foldmethod=indent
|
|||||||
set foldlevelstart=3
|
set foldlevelstart=3
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" diff settings {{{
|
" Diff settings {{{
|
||||||
set fillchars+=diff:⣿
|
set fillchars+=diff:⣿
|
||||||
set diffopt=vertical " Use in vertical diff mode
|
set diffopt=vertical " Use in vertical diff mode
|
||||||
set diffopt+=filler " blank lines to keep sides aligned
|
set diffopt+=filler " blank lines to keep sides aligned
|
||||||
|
|||||||
1
zgen
1
zgen
Submodule zgen deleted from 09f542515e
1
zplug
Submodule
1
zplug
Submodule
Submodule zplug added at 063d26f800
45
zshrc
45
zshrc
@@ -1,31 +1,25 @@
|
|||||||
# load zgen
|
source ~/.dotfiles/zplug/init.zsh
|
||||||
source "${HOME}/.dotfiles/zgen/zgen.zsh"
|
|
||||||
|
|
||||||
if ! zgen saved; then
|
|
||||||
echo "Creating a zgen save"
|
|
||||||
|
|
||||||
zgen oh-my-zsh lib/spectrum.zsh
|
zplug "lib/spectrum.zsh", from:oh-my-zsh
|
||||||
zgen oh-my-zsh lib/directories.zsh
|
zplug "lib/directories.zsh", from:oh-my-zsh
|
||||||
zgen oh-my-zsh lib/grep.zsh
|
zplug "lib/grep.zsh", from:oh-my-zsh
|
||||||
zgen oh-my-zsh lib/history.zsh
|
zplug "lib/history.zsh", from:oh-my-zsh
|
||||||
zgen oh-my-zsh lib/misc.zsh
|
zplug "lib/misc.zsh", from:oh-my-zsh
|
||||||
zgen oh-my-zsh plugins/common-aliases
|
zplug "plugins/common-aliases", from:oh-my-zsh
|
||||||
zgen oh-my-zsh plugins/frontend-search
|
zplug "plugins/frontend-search", from:oh-my-zsh
|
||||||
|
|
||||||
zgen load zsh-users/zsh-completions src
|
zplug "zsh-users/zsh-completions", use:"src/*.zsh"
|
||||||
zgen load zsh-users/zsh-syntax-highlighting
|
zplug "zsh-users/zsh-syntax-highlighting", defer:2
|
||||||
|
|
||||||
zgen load peterhurford/git-it-on.zsh
|
zplug "peterhurford/git-it-on.zsh"
|
||||||
zgen load gerges/oh-my-zsh-jira-plus
|
zplug "gerges/oh-my-zsh-jira-plus"
|
||||||
|
|
||||||
zgen load mafredri/zsh-async
|
zplug "mafredri/zsh-async"
|
||||||
zgen load sindresorhus/pure
|
zplug "sindresorhus/pure"
|
||||||
|
|
||||||
zgen save
|
|
||||||
fi
|
|
||||||
|
|
||||||
########################
|
########################
|
||||||
# Other settings
|
# Other settings
|
||||||
########################
|
########################
|
||||||
setopt auto_cd
|
setopt auto_cd
|
||||||
setopt multios
|
setopt multios
|
||||||
@@ -78,7 +72,14 @@ bindkey ' ' magic-space
|
|||||||
|
|
||||||
# Base16 Shell
|
# Base16 Shell
|
||||||
BASE16_SHELL=$HOME/.base16-shell/
|
BASE16_SHELL=$HOME/.base16-shell/
|
||||||
[ -n "$PS1" ] && dark
|
[ -n "$PS1" ] && dark
|
||||||
|
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
|
# zplug
|
||||||
|
if ! zplug check; then
|
||||||
|
zplug install
|
||||||
|
fi
|
||||||
|
|
||||||
|
zplug load
|
||||||
|
|||||||
Reference in New Issue
Block a user