commit 8f39846fee646f4aeb37be304d5ec3f218b7a34b
parent aeafd17ee7e969bbfd5b164e22497280b4d3d3fa
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 25 Jun 2018 22:51:33 +0200
Fixed an issue where vim would ignore my expandtab definition
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/vimrc b/vimrc
@@ -1,6 +1,9 @@
" Update file when changed from the outside
set autoread
+" For editing binaries
+set binary
+
" Highlight current line
set cursorline
@@ -90,6 +93,7 @@ command Todo vimgrep /TODO\C/ **/*.* | copen
command Note vimgrep /NOTE\C/ **/*.* | copen
command Fix vimgrep /FIXME\C/ **/*.* | copen
command CDC cd %:p:h
+command Maketab set noet ts=2 | %retab!
" Retain visual mode after > and <
vmap < <gv
@@ -104,9 +108,6 @@ vnoremap K :m '<-2<cr>gv=gv
set encoding=utf-8 nobomb
set fileformats=unix,dos,mac
-" For editing binaries
-set binary
-
" Send more characters at a given time
set ttyfast