Merge branch 'master' into jenipapo

This commit is contained in:
Thomas Ruoff
2016-11-07 23:31:59 +01:00
2 changed files with 13 additions and 9 deletions

20
vimrc
View File

@@ -27,7 +27,6 @@ Plug 'rhysd/conflict-marker.vim'
Plug 'airblade/vim-gitgutter'
Plug 'inside/vim-search-pulse'
Plug 'mileszs/ack.vim'
Plug 'itchyny/lightline.vim'
@@ -40,6 +39,9 @@ Plug 'mxw/vim-jsx'
Plug 'suan/vim-instant-markdown', { 'for': 'markdown' }
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
call plug#end()
"" enable local .vimrc
@@ -171,13 +173,10 @@ set diffopt+=iwhite " Ignore whitespace changes
" KEY MAPPINGS
"
set notimeout
set ttimeout
"" MAP LEADER
noremap , \
let mapleader = ","
"let mapleader = "\<Space>"
set timeoutlen=200
"" fast saving
nmap <leader>w :update<cr>
@@ -270,10 +269,13 @@ iab xnow <c-r>=strftime("%Y-%m-%d %H:%M")<cr>
" Plugin Configuration
"
"" ACK
if executable('ag')
let g:ackprg = 'ag --vimgrep'
endif
"" fzf
nmap <leader>f :GFiles<cr>
nmap <leader>F :Files<cr>
nmap <leader>a :Ag<space>
vmap <leader>a y:Ag <c-r>" <cr>
nmap <leader>A :Ag <c-r><c-w><cr>
nmap <leader>c :Commits<cr>
"" syntastic
let g:syntastic_always_populate_loc_list = 1

2
zshrc
View File

@@ -80,3 +80,5 @@ bindkey ' ' magic-space
BASE16_SHELL=$HOME/.base16-shell/
[ -n "$PS1" ] && dark
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh