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.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 66bda9a..c1d3b77 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'
@@ -116,6 +116,10 @@ nmap <C-j> :bn<CR>
nmap <C-k> :bp<CR>
nmap <Leader>S :nohlsearch<CR>
+" Run - very specific to my project layouts
+" nmap <Leader>r :!./run<CR>
+nmap <Leader>r :terminal<CR>./run<CR>
+
" Fix dumb delete combo
nnoremap d "_d
vnoremap d "_d
@@ -144,6 +148,7 @@ nmap <Leader>l <C-w>l
" Terminal
nmap <Leader>t :term<CR>
tnoremap <ESC> <C-\><C-n>:bd!<CR>
+tnoremap <Leader><ESC> <C-\><C-n>
autocmd TermOpen * startinsert
" FZF