1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

vim: alias te to tabedit

This commit is contained in:
Joe Groocock 2018-03-31 21:50:50 +01:00
parent c308fe09c5
commit 1f8272d259
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -35,6 +35,9 @@ set scrolloff=6
set nojoinspaces set nojoinspaces
set updatetime=500 " reduce delay from 4s default set updatetime=500 " reduce delay from 4s default
" te seems like the correct shorthand, not tabe
cmap te tabedit
" Autosave settings " Autosave settings
function! SaveIfExist() function! SaveIfExist()
if @% != "" && filereadable(@%) && !&readonly if @% != "" && filereadable(@%) && !&readonly