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.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index c9604fd..b4d657c 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -149,7 +149,8 @@ nmap <Leader>l <C-w>l
nmap <Leader>t :term<CR>
tnoremap <C-q> <C-\><C-n>:BD!<CR>
tnoremap <Leader><ESC> <C-\><C-n>
-nmap <Leader>r :terminal<CR>./run<CR>
+nmap <Leader>r :!./run<CR>
+nmap <Leader>R :terminal<CR>./run<CR>
autocmd TermOpen * startinsert
" FZF