\ab mapping

This commit is contained in:
ManjaroOne666 2018-06-09 16:04:36 +01:00
parent a9239ee208
commit b3c5a41464
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@ let g:mapleader = ' '
"{{{ "{{{
nnoremap : :setlocal norelativenumber<CR>: nnoremap : :setlocal norelativenumber<CR>:
nnoremap <silent> <space>rc :so $MYVIMRC<CR> nnoremap <silent> <space>rc :so $MYVIMRC<CR>
nnoremap <silent> <space>nn :set invrelativenumber<CR> nnoremap <silent> <space>nn :set invrelativenumber<CR>
nnoremap <silent><expr> <space>nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n" nnoremap <silent><expr> <space>nh (&hls && v:hlsearch ? ':nohls' : ':set hls')."\n"
nnoremap <silent> <space>sw :set invlist<CR> nnoremap <silent> <space>sw :set invlist<CR>
nnoremap <space>aa A<left> nnoremap <space>aa A<left>
nnoremap <space>a2 A<left><left> nnoremap <space>a2 A<left><left>
nnoremap <space>ab A<C-o>B
nnoremap <space>co :!clear; nnoremap <space>co :!clear;
" Focus on current fold, close the rest " Focus on current fold, close the rest
nnoremap <silent> <space>zz zMzvzt nnoremap <silent> <space>zz zMzvzt