[feature] shortcut for scrollbind
This commit is contained in:
parent
b1626f8ce4
commit
bc20e480d4
|
@ -65,6 +65,9 @@ nmap <leader>' ysiw'
|
||||||
nmap <leader>`` ysiW`
|
nmap <leader>`` ysiW`
|
||||||
nmap <leader>` ysiw`
|
nmap <leader>` ysiw`
|
||||||
|
|
||||||
|
nmap <leader>sb :set scrollbind<CR>
|
||||||
|
nmap <leader>nsb :set noscrollbind<CR>
|
||||||
|
|
||||||
inoremap <C-w> <esc><C-w>
|
inoremap <C-w> <esc><C-w>
|
||||||
nmap <silent> <leader>ss :syntax sync fromstart<CR>
|
nmap <silent> <leader>ss :syntax sync fromstart<CR>
|
||||||
|
|
||||||
|
@ -193,7 +196,8 @@ nnoremap <leader>k :cp<CR>
|
||||||
" ==== Ranger configuration ====
|
" ==== Ranger configuration ====
|
||||||
let g:ranger_map_key = 0
|
let g:ranger_map_key = 0
|
||||||
nnoremap <C-t> :Ranger<CR>
|
nnoremap <C-t> :Ranger<CR>
|
||||||
nnoremap <leader>cg :call OpenRangerIn(system("git rev-parse --show-toplevel || pwd"), 'edit ')<CR>
|
|
||||||
|
autocmd BufEnter,BufRead nnoremap <leader>cg :<C-u>call OpenRangerIn(system("git rev-parse --show-toplevel >/dev/null || pwd"), 'edit ')<CR>
|
||||||
|
|
||||||
|
|
||||||
" ==== fugitive configuration ====
|
" ==== fugitive configuration ====
|
||||||
|
|
Loading…
Reference in New Issue
Block a user