feat(vim): make terminal a bit nicer

This commit is contained in:
2025-09-05 22:38:28 +02:00
parent 14e2bec1c6
commit f4e44d2740
+4
View File
@@ -145,6 +145,8 @@ nmap <Leader>fg :Rg ""<CR>
nmap <expr> <Leader>fe &filetype ==# 'netrw' ? ':Rex<CR>' : ':Ex<CR>'
nmap <C-w>q :bn \| bd#<CR>
nmap <Leader>uu :tabnew \| bprevious \| UndotreeToggle \| UndotreeFocus<CR>
tnoremap <Esc> <C-\><C-n>
tnoremap <C-\> <Esc>
" {{{2 Default Mappings
@@ -644,3 +646,5 @@ function! ToggleGitStatus()
endfunction
autocmd VimEnter * call s:SetupGitGutter()
cnoreabbrev term terminal ++curwin