aboutsummaryrefslogtreecommitdiff
path: root/vim/config
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config')
-rw-r--r--vim/config/terminal.vim4
-rw-r--r--vim/config/whitespace.vim4
2 files changed, 3 insertions, 5 deletions
diff --git a/vim/config/terminal.vim b/vim/config/terminal.vim
index 202705a7..04ec5653 100644
--- a/vim/config/terminal.vim
+++ b/vim/config/terminal.vim
@@ -7,7 +7,9 @@ set pastetoggle=<F10>
" Don't bother about checking whether Escape is being used as a means to enter
" a Meta-key combination, just register Escape immediately
-set noesckeys
+if exists('+esckeys')
+ set noesckeys
+endif
" Don't bother drawing the screen while executing macros or other automated or
" scripted processes, just draw the screen as it is when the operation
diff --git a/vim/config/whitespace.vim b/vim/config/whitespace.vim
index 0d985f15..99974cb1 100644
--- a/vim/config/whitespace.vim
+++ b/vim/config/whitespace.vim
@@ -10,10 +10,6 @@ set shiftwidth=4
" Insert four spaces when Tab is pressed
set softtabstop=4
-" Indent intelligently to 'shiftwidth' at the starts of lines with Tab, but
-" use 'tabstop' everywhere else
-set smarttab
-
" When indenting lines with < or >, round the indent to a multiple of
" 'shiftwidth', so even if the line is indented by one space it will indent
" up to 4 and down to 0, for example