ranger
This commit is contained in:
parent
1e4443d182
commit
f5f29c9192
2
Makefile
2
Makefile
@ -51,11 +51,13 @@ git:
|
|||||||
ln -s $(PWD)/sub/git/gitignore ~/.gitignore
|
ln -s $(PWD)/sub/git/gitignore ~/.gitignore
|
||||||
|
|
||||||
ranger:
|
ranger:
|
||||||
|
echo "sudo pacman -S highlight"
|
||||||
test -d ~/.config/ranger || \
|
test -d ~/.config/ranger || \
|
||||||
mkdir -p ~/.config/ranger
|
mkdir -p ~/.config/ranger
|
||||||
ln -s $(PWD)/sub/ranger/rc.conf ~/.config/ranger
|
ln -s $(PWD)/sub/ranger/rc.conf ~/.config/ranger
|
||||||
mkdir -p ~/.config/ranger/plugins
|
mkdir -p ~/.config/ranger/plugins
|
||||||
git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
|
git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
|
||||||
|
ranger --copy-config=all
|
||||||
|
|
||||||
gpg:
|
gpg:
|
||||||
test -d ~/.gnupg || \
|
test -d ~/.gnupg || \
|
||||||
|
|||||||
@ -2,3 +2,8 @@ set preview_images true
|
|||||||
set preview_images_method ueberzug
|
set preview_images_method ueberzug
|
||||||
|
|
||||||
default_linemode devicons
|
default_linemode devicons
|
||||||
|
|
||||||
|
set viewmode miller
|
||||||
|
|
||||||
|
map <F3> exit
|
||||||
|
|
||||||
|
|||||||
@ -124,6 +124,8 @@ autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,
|
|||||||
|
|
||||||
nnoremap <silent> <special> <F3> :Ranger <CR>
|
nnoremap <silent> <special> <F3> :Ranger <CR>
|
||||||
|
|
||||||
|
let g:ranger_replace_netrw = 1 " open ranger when vim open a directory
|
||||||
|
|
||||||
" ctags required
|
" ctags required
|
||||||
nnoremap <silent> <special> <F8> :TagbarToggle <CR>
|
nnoremap <silent> <special> <F8> :TagbarToggle <CR>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user