summaryrefslogtreecommitdiff
path: root/_config/000-mappings.vim
blob: a9e127e5cffdcc968b57726989abd5e792d1110e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
nmap <silent> <Leader>t :term ++close zsh -i<CR>
nmap <silent> <Leader>T :vert term ++close zsh -i<CR>
nmap <silent> <C-t> <C-o>
nmap <silent> <C-l> :noh<CR>:redraw<CR>

if has('gui_running') && !has('macunix')
    noremap <C-S-a> :call <SID>SelectAll()<CR>
    function! s:SelectAll()
        normal! ggVG
    endfunction

    noremap <C-S-c> "+y
    inoremap <C-S-v> <C-r>+
endif