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