Update vim config

master
Hektor Misplon 2020-05-08 14:11:55 +00:00
parent 58e770a6d6
commit 99fbf9413d
1 changed files with 8 additions and 1 deletions

9
.vimrc
View File

@ -35,6 +35,7 @@ endfunc
nnoremap <space> <nop> nnoremap <space> <nop>
let mapleader = " " let mapleader = " "
let maplocalleader = ";"
" split " split
nmap ss :sp<Return><c-w>w nmap ss :sp<Return><c-w>w
@ -82,6 +83,12 @@ nnoremap <leader>A :Ag <cr>
" toggle numbers " toggle numbers
nnoremap <leader>n :call ToggleRnu()<cr> nnoremap <leader>n :call ToggleRnu()<cr>
" edit vim config
nnoremap <leader>ec :vsplit $MYVIMRC<cr>
" source current file
nnoremap <leader>so :so %<cr>
" coc " coc
inoremap <silent><expr> <TAB> inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" : \ pumvisible() ? "\<C-n>" :
@ -172,7 +179,7 @@ au BufEnter,BufWinEnter,BufNewFile,BufRead *.sc,*.scd set filetype=supercollider
au Filetype supercollider packadd scvim au Filetype supercollider packadd scvim
" tidalvim " tidalvim
let g:tidal_flash_duration = 50 let g:tidal_default_config = {"socket_name": "default", "target_pane": "tidal:1.1"}
" plugin keybindings ___________________ " plugin keybindings ___________________