aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorNirmal Kumar R <tildezero@gmail.com>2026-05-31 13:28:39 +0530
committerNirmal Kumar R <tildezero@gmail.com>2026-05-31 13:28:39 +0530
commit30109c1c4c20285f15664b10d46aba7901bd7fb6 (patch)
tree6cbd279c1ba70cf403c9d0e8ba37bd97cab01833 /vimrc
parent7409ed32dc6d973a3f601e390fb79f02979c8e39 (diff)
Update the dotfiles
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc44
1 files changed, 0 insertions, 44 deletions
diff --git a/vimrc b/vimrc
deleted file mode 100644
index 6d2f630..0000000
--- a/vimrc
+++ /dev/null
@@ -1,44 +0,0 @@
-syntax on
-set laststatus=2
-set t_Co=256
-set encoding=utf-8
-set number
-set ruler
-set mouse=a
-set noswapfile
-
-" enable filetype detection:
-filetype on
-filetype plugin on
-filetype indent on " file type based indentation
-
-" for C-like programming where comments have explicit end
-" characters, if starting a new line in the middle of a comment automatically
-" insert the comment leader characters:
-autocmd FileType c,cpp set formatoptions+=ro
-autocmd FileType c set omnifunc=ccomplete#Complete
-
-" fixed indentation should be OK for XML and CSS. People have fast internet
-" anyway. Indentation set to 2.
-autocmd FileType html,xhtml,css,xml,xslt set shiftwidth=2 softtabstop=2
-
-" two space indentation for some files
-autocmd FileType vim,lua,nginx set shiftwidth=2 softtabstop=2
-
-" for CSS, also have things in braces indented:
-autocmd FileType css set omnifunc=csscomplete#CompleteCSS
-
-" add completion for xHTML
-autocmd FileType xhtml,html set omnifunc=htmlcomplete#CompleteTags
-
-" add completion for XML
-autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
-
-" in makefiles, don't expand tabs to spaces, since actual tab characters are
-" needed, and have indentation at 8 chars to be sure that all indents are tabs
-" (despite the mappings later):
-autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=0
-
-" ensure normal tabs in assembly files
-" and set to NASM syntax highlighting
-autocmd FileType asm set noexpandtab shiftwidth=8 softtabstop=0 syntax=nasm