X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.vimrc;h=c365a9559360c1e4239eb748e89a498e1e02448a;hb=483fa08b6bc0f5fa6d5720cda59e9c1f8de21b41;hp=bf75518fcad5ae091449954f5664fed6b728080b;hpb=4d9f4ad091ede4add7c2b119bed7f2938a01d53c;p=dotfiles.git diff --git a/.vimrc b/.vimrc index bf75518..c365a95 100644 --- a/.vimrc +++ b/.vimrc @@ -209,14 +209,14 @@ else endif if (&term =~ "linux") - set = + execute 'set t_kb=' . nr2char(127) else highlight MoreMsg cterm=bold ctermfg=NONE highlight Question cterm=bold ctermfg=NONE endif if (&term =~ "rxvt") || (&term =~ "screen") || (&term =~ "term") || (&term =~ "vt100") - set = + execute 'set t_kb=' . nr2char(127) " 'autoselect' to always put selected text on the clipboard; " 'unnamed' to use the * register like unnamed register '*' @@ -274,14 +274,14 @@ autocmd BufReadPost * syntax on " Restore last known cursor position function! RestorePosition() - if exists('b:position_resored') + if exists('b:position_restored') return endif if line("'\"") > 0 call cursor(line("'\""), col("'\"")) endif - let b:position_resored = 1 + let b:position_restored = 1 endfunction " When editing a file, always jump to the last cursor position (if saved)