summaryrefslogtreecommitdiff
path: root/containers/docker_build/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'containers/docker_build/vimrc')
-rw-r--r--containers/docker_build/vimrc77
1 files changed, 77 insertions, 0 deletions
diff --git a/containers/docker_build/vimrc b/containers/docker_build/vimrc
new file mode 100644
index 0000000..36583bc
--- /dev/null
+++ b/containers/docker_build/vimrc
@@ -0,0 +1,77 @@
1" Basic vim configuration for development environment
2
3" Enable syntax highlighting
4syntax on
5
6" Enable line numbers
7set number
8
9" Enable relative line numbers for easier navigation
10set relativenumber
11
12" Set tab width to 4 spaces
13set tabstop=4
14set shiftwidth=4
15set expandtab
16
17" Enable auto-indentation
18set autoindent
19set smartindent
20
21" Enable incremental search
22set incsearch
23
24" Highlight search results
25set hlsearch
26
27" Case-insensitive search unless uppercase is used
28set ignorecase
29set smartcase
30
31" Show matching brackets
32set showmatch
33
34" Enable mouse support
35set mouse=a
36
37" Set backspace behavior
38set backspace=indent,eol,start
39
40" Show current line and column
41set ruler
42
43" Enable file type detection
44filetype on
45filetype plugin on
46filetype indent on
47
48" Set color scheme (if available)
49colorscheme default
50
51" Enable visual bell instead of beep
52set visualbell
53
54" Set encoding
55set encoding=utf-8
56
57" Show command in status line
58set showcmd
59
60" Enable wildmenu for command completion
61set wildmenu
62
63" Set status line
64set laststatus=2
65set statusline=%F%m%r%h%w\ [%l,%c]\ [%L\ lines]
66
67" Rust specific settings
68autocmd FileType rust setlocal tabstop=4 shiftwidth=4 expandtab
69
70" Python specific settings
71autocmd FileType python setlocal tabstop=4 shiftwidth=4 expandtab
72
73" JavaScript/TypeScript settings
74autocmd FileType javascript,typescript setlocal tabstop=2 shiftwidth=2 expandtab
75
76" YAML settings
77autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 expandtab \ No newline at end of file