mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
Merge branch 'master' into jenipapo
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
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
diffstat = diff --stat -r
|
diffstat = diff --stat -r
|
||||||
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
|
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
|
||||||
fix = "!f() { ${EDITOR} $(git diff --name-only | uniq ); }; f"
|
fix = "!f() { ${EDITOR} $(git diff --name-only | uniq ); }; f"
|
||||||
|
last = "!l() { ${EDITOR} $(git diff-tree --no-commit-id --name-only -r HEAD ); }; l"
|
||||||
[merge]
|
[merge]
|
||||||
tool = bc3
|
tool = bc3
|
||||||
[mergetool]
|
[mergetool]
|
||||||
|
|||||||
12
vimrc
12
vimrc
@@ -23,6 +23,8 @@ Plug 'ludovicchabant/vim-gutentags'
|
|||||||
|
|
||||||
Plug 'nathanaelkane/vim-indent-guides'
|
Plug 'nathanaelkane/vim-indent-guides'
|
||||||
|
|
||||||
|
Plug 'fholgado/minibufexpl.vim'
|
||||||
|
|
||||||
Plug 'SirVer/ultisnips'
|
Plug 'SirVer/ultisnips'
|
||||||
Plug 'honza/vim-snippets'
|
Plug 'honza/vim-snippets'
|
||||||
|
|
||||||
@@ -62,9 +64,8 @@ set hidden
|
|||||||
set ttyfast
|
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 backup " Make backup files.
|
set nobackup
|
||||||
set backupdir=~/.vim/backup " Backup directory.
|
set noswapfile
|
||||||
set directory=~/.vim/tmp " Directory for swap files.
|
|
||||||
set mouse=a " Mouse support everywhere.
|
set mouse=a " Mouse support everywhere.
|
||||||
set mousehide " Auto-hide cursor while typing.
|
set mousehide " Auto-hide cursor while typing.
|
||||||
set wildmode=list:longest,full " Make completion more like zsh.
|
set wildmode=list:longest,full " Make completion more like zsh.
|
||||||
@@ -119,7 +120,7 @@ set formatoptions+=j " Delete comment character when joining commente
|
|||||||
|
|
||||||
" Folding {{{
|
" Folding {{{
|
||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
set foldlevelstart=3
|
set foldlevelstart=10
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Diff settings {{{
|
" Diff settings {{{
|
||||||
@@ -262,6 +263,9 @@ vnoremap <leader>a y:Ag <c-r>"<cr>
|
|||||||
nnoremap <leader>A :Ag <c-r><c-w><cr>
|
nnoremap <leader>A :Ag <c-r><c-w><cr>
|
||||||
nnoremap <leader>c :Commits<cr>
|
nnoremap <leader>c :Commits<cr>
|
||||||
|
|
||||||
|
"" minibufexpl
|
||||||
|
map <Leader>t :MBEToggle<cr>
|
||||||
|
|
||||||
"" syntastic
|
"" syntastic
|
||||||
let g:syntastic_always_populate_loc_list = 1
|
let g:syntastic_always_populate_loc_list = 1
|
||||||
let g:syntastic_auto_loc_list = 0
|
let g:syntastic_auto_loc_list = 0
|
||||||
|
|||||||
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