aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/init.vim')
-rw-r--r--.config/nvim/init.vim26
1 files changed, 16 insertions, 10 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c38a518..0ccb44f 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -35,7 +35,7 @@ Plug 'w0rp/ale'
Plug 'majutsushi/tagbar'
Plug 'peterhoeg/vim-qml'
Plug 'dermusikman/sonicpi.vim'
-" Plug 'ananagame/vimsence'
+Plug 'ananagame/vimsence'
" Menus
Plug 'scrooloose/nerdtree'
@@ -110,9 +110,9 @@ nmap j gj
nmap k gk
nmap <Leader>w :w<CR>
nmap <Leader>q :q<CR>
-nmap <Leader>a :BD<CR>
-nmap <Leader>l :bn<CR>
-nmap <Leader>h :bp<CR>
+nmap <C-a> :BD<CR>
+nmap <C-l> :bn<CR>
+nmap <C-h> :bp<CR>
nmap <Leader>S :nohlsearch<CR>
" Fix dumb delete combo
@@ -133,14 +133,14 @@ let g:tagbar_compact=1
" Splitting
set splitbelow splitright
-nmap <C-h> <C-w>h
-nmap <C-j> <C-w>j
-nmap <C-k> <C-w>k
-nmap <C-l> <C-w>l
+nmap <Leader>h <C-w>h
+nmap <Leader>j <C-w>j
+nmap <Leader>k <C-w>k
+nmap <Leader>l <C-w>l
" FZF
-nmap ; :Buffers<CR>
-nmap <Leader>t :Files<CR>
+nmap ; :Files<CR>
+nmap <Leader>t :Buffers<CR>
nmap <Leader>c :Colors<CR>
nmap <Leader>s :Rg!<CR>
let $FZF_DEFAULT_COMMAND = 'rg --files --follow -g "!{.git,node_modules}/*" 2>/dev/null'
@@ -234,6 +234,12 @@ let g:airline_theme='minimalist'
let g:airline#extensions#tabline#enabled=1
let g:airline_powerline_fonts=1
+" Sonic Pi
+let g:sonicpi_command = 'sonic-pi-tool'
+let g:sonicpi_send = 'eval-stdin'
+let g:sonicpi_stop = 'stop'
+let g:vim_redraw = 1
+
" Colorscheme
colorscheme codedark " or molokai
highlight GitGutterAdd guifg=#009900 ctermfg=2