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