Fixed ranger bookmarking and opening last dir

This commit is contained in:
2018-12-08 20:44:09 -05:00
parent 3555b19be5
commit 0248ff9b6e
10 changed files with 40 additions and 35 deletions

View File

@@ -71,13 +71,13 @@ Plug 'vim-scripts/L9'
" Gotham color scheme
" Plug 'whatyouhide/vim-gotham'
" collection of Vim color schemes
Plug 'flazz/vim-colorschemes'
" " collection of Vim color schemes
" Plug 'flazz/vim-colorschemes'
" preview Vim color scheme easily within Vim
Plug 'xolox/vim-colorscheme-switcher'
" prerequisite for above plugin
Plug 'xolox/vim-misc'
" " preview Vim color scheme easily within Vim
" Plug 'xolox/vim-colorscheme-switcher'
" " prerequisite for above plugin
" Plug 'xolox/vim-misc'
" automatically save buffers upon returning to normal mode
Plug '907th/vim-auto-save'
@@ -224,10 +224,10 @@ nnoremap <leader>plc :PlugClean<CR>
nnoremap <leader>plu :PlugUpdate<CR>
" don't break lines
nnoremap <leader>py :set tw=0<CR>
" replace in next x lines
nnoremap <leader>r q:i.,.+s///g<ESC>Fsi
" reload file
nnoremap <leader>rf :e<CR>
nnoremap <leader>r :e<CR>
" replace in next x lines
nnoremap <leader>re q:i.,.+s///g<ESC>Fsi
" replace in line
nnoremap <leader>rl q:i.s///g<left><left><left>
" replace in visual selection

View File

@@ -103,6 +103,9 @@ source ~/linux-config/aliases/zsh_aliases
# ZSH_THEME="agnoster"
source $ZSH/custom/antigen.zsh
antigen bundle last-working-dir
antigen bundle pass
antigen bundle hlissner/zsh-autopair
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle softmoth/zsh-vim-mode
@@ -116,7 +119,7 @@ if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
fi
# pywal
export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/linux-config/scripts"
export PATH="${PATH}:${HOME}/.local/bin/:${HOME}/linux-config/scripts:/opt/pycharm-2018.3.1/bin"
(cat ~/.cache/wal/sequences &)
source ~/.cache/wal/colors.sh
@@ -160,6 +163,7 @@ fi
# # }}} autoreload zsh aliases #
source /home/kevin/.shortcuts
source /home/kevin/coding/spotify-lib-vis/src/api-keys.sh
# export pywal colors
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh