" remap semi-colon to be colon in normal an visual mode nnoremap ; : vnoremap ; : " Swap v and CTRL-V, because Block mode is more useful nnoremap v nnoremap v vnoremap v vnoremap v " jk nice behaviour (screen lines vs. shown lines) nnoremap j v:count ? (v:count > 5 ? "m'" . v:count : '') . 'j' : 'gj' nnoremap k v:count ? (v:count > 5 ? "m'" . v:count : '') . 'k' : 'gk' " behave - yank just like D and C nnoremap Y y$ " auto-yanking with clipper for selected yanking, see leader-y mapping vnoremap y y :call system('nc localhost 8377', @0) " Search mappings: These will make it so that going to the next one in a " search will center on the line it's found in. nnoremap N Nzz nnoremap n nzz " use the arrowkeys for usefull stuff in normal mode -- switching buffers nnoremap :bfirst nnoremap :blast nnoremap :bp nnoremap :bn " fix a bug in neovim/tmux-navigator nnoremap :TmuxNavigateLeft " Bubble/indent lines using unimpaired " using left alt + hjkl on mac usgerman keyboard " those are some weird mappings, but they work! nmap ˚ [e nmap ∆ ]e nmap ˙ << nmap ¬ >> vmap ˚ [egv vmap ∆ ]egv vmap ˙ gv " deactivate stupid ex-mode and man-page stuff nnoremap Q nnoremap K