add tig and ranger launcher mappings

This commit is contained in:
Ray Elliott 2020-04-07 16:34:16 +01:00
parent b3a89a397d
commit 744ead7003
1 changed files with 3 additions and 1 deletions

View File

@ -299,8 +299,10 @@ set conceallevel=0
"----------------------------------------------------------------------------}}} "----------------------------------------------------------------------------}}}
" #mappings {{{ " #mappings {{{
let g:mapleader = ' ' let g:mapleader = ' '
" image capable file browser
nnoremap <silent><space>rs :!bspc rule -a st-256color -o state=fullscreen; st ranger<CR>
" search and replace {{{ " search and replace {{{
nnoremap <space>rr :%s/\<<C-r>=expand('<cword>')<CR>\>//g<left><left> nnoremap <space>rr :%s/\<<Ckr>=expand('<cword>')<CR>\>//g<left><left>
"}}} "}}}
" #syntax " #syntax
nnoremap <silent> <cr>s :syntax on<cr> nnoremap <silent> <cr>s :syntax on<cr>