update PATH and vim tweaks
This commit is contained in:
parent
3cf45f0695
commit
0f28b0c624
|
@ -26,6 +26,7 @@ nnoremap k gk
|
||||||
|
|
||||||
" FZF Bindings
|
" FZF Bindings
|
||||||
noremap <leader><leader> :GFiles<CR>
|
noremap <leader><leader> :GFiles<CR>
|
||||||
|
noremap <leader>pf :Files<CR>
|
||||||
nnoremap <leader>C :Colors<CR>
|
nnoremap <leader>C :Colors<CR>
|
||||||
nnoremap <leader><CR> :Buffers<CR>
|
nnoremap <leader><CR> :Buffers<CR>
|
||||||
nnoremap <leader>fl :Lines<CR>
|
nnoremap <leader>fl :Lines<CR>
|
||||||
|
@ -77,6 +78,7 @@ augroup END
|
||||||
" autocmd!
|
" autocmd!
|
||||||
" autocmd VimEnter * :Vexplore
|
" autocmd VimEnter * :Vexplore
|
||||||
"augroup END
|
"augroup END
|
||||||
|
nnoremap <leader>pv :Vex<CR>
|
||||||
|
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
@ -89,3 +91,7 @@ let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy']
|
||||||
nmap <leader>gs :G<CR>
|
nmap <leader>gs :G<CR>
|
||||||
nmap <leader>gh :diffget //3<CR>
|
nmap <leader>gh :diffget //3<CR>
|
||||||
nmap <leader>gu :diffget //2<CR>
|
nmap <leader>gu :diffget //2<CR>
|
||||||
|
|
||||||
|
" Copy to system clipboard
|
||||||
|
vnoremap <leader>y "*y
|
||||||
|
nnoremap <leader>y "*y
|
||||||
|
|
14
.zshrc
14
.zshrc
|
@ -8,6 +8,7 @@ EOF
|
||||||
else
|
else
|
||||||
source "$HOME/antigen/antigen.zsh"
|
source "$HOME/antigen/antigen.zsh"
|
||||||
|
|
||||||
|
antigen bundle zsh-users/zsh-autosuggestions
|
||||||
antigen use oh-my-zsh
|
antigen use oh-my-zsh
|
||||||
antigen bundle arialdomartini/oh-my-git
|
antigen bundle arialdomartini/oh-my-git
|
||||||
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style
|
antigen theme arialdomartini/oh-my-git-themes oppa-lana-style
|
||||||
|
@ -40,6 +41,17 @@ cd rvm && ./install
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
|
||||||
export PATH="$PATH:$HOME/.rvm/bin"
|
PATH="$PATH:$HOME/.rvm/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/bin" ] ; then
|
||||||
|
PATH="$HOME/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# set PATH so it includes user's private bin if it exists
|
||||||
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
export PATH
|
||||||
|
|
Loading…
Reference in New Issue