diff options
| author | hc <hc@email.ch> | 2026-03-23 20:13:46 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2026-03-23 20:13:46 +0800 |
| commit | ff92ee33f5ee007d6c9ffd08b5ed64c6088b7318 (patch) | |
| tree | 1ae4317ed13677609328aa64d9ce3e6fef85953a /core/mac/.vimrc | |
| parent | 5a7d648c17316f70e903b9b6718c972de6a9df97 (diff) | |
move mac dotfiles to repo root
Diffstat (limited to 'core/mac/.vimrc')
| -rw-r--r-- | core/mac/.vimrc | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/core/mac/.vimrc b/core/mac/.vimrc deleted file mode 100644 index c45cfc9..0000000 --- a/core/mac/.vimrc +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | |||
| 2 | " Enable line wrapping | ||
| 3 | set wrap | ||
| 4 | |||
| 5 | " Optional: Make wrapped lines easier to read by indenting them | ||
| 6 | set breakindent | ||
| 7 | set breakindentopt=shift:1 | ||
| 8 | |||
| 9 | syntax on | ||
| 10 | set autoindent | ||
| 11 | set number | ||
| 12 | set mouse=a | ||
| 13 | set expandtab | ||
| 14 | set shiftwidth=4 | ||
| 15 | set softtabstop=4 | ||
| 16 | set tabstop=4 | ||
| 17 | |||
| 18 | set autoindent | ||
| 19 | set smartindent | ||
| 20 | filetype plugin indent on | ||
| 21 | |||
| 22 | set laststatus=2 " permanent status bar | ||
| 23 | set statusline=%F " shows full file path | ||
| 24 | |||
| 25 | if (has("termguicolors")) | ||
| 26 | set termguicolors | ||
| 27 | endif | ||
| 28 | |||
| 29 | colorscheme zellner | ||
| 30 | "colorscheme evening | ||
| 31 | |||
| 32 | " Ctrl+A: Move to the beginning of the line in INSERT mode | ||
| 33 | inoremap <C-a> <Home> | ||
| 34 | |||
| 35 | " Ctrl+E: Move to the end of the line in INSERT mode | ||
| 36 | inoremap <C-e> <End> | ||
| 37 | |||
| 38 | " Ctrl+A: Move to the beginning of the line in NORMAL mode | ||
| 39 | nnoremap <C-a> 0 | ||
| 40 | |||
| 41 | " Ctrl+E: Move to the end of the line in NORMAL mode | ||
| 42 | nnoremap <C-e> $ | ||
| 43 | set clipboard=unnamed,unnamedplus | ||
| 44 | setlocal regexpengine=2 | ||
| 45 | set hlsearch | ||
| 46 | set foldcolumn=12 " Creates a small left margin of 2 columns | ||
| 47 | set noswapfile | ||
| 48 | autocmd InsertLeave * silent! update | ||
| 49 | |||
| 50 | |||
| 51 | |||
