aboutsummaryrefslogtreecommitdiff
path: root/.vim/options.vim
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2023-08-08 14:02:22 +0200
committerOxbian <got.dacs@slmail.me>2023-08-08 14:02:22 +0200
commit317950a3b6af900031db32b9e9e74723dce59e19 (patch)
treed57d87f753c36705bd030e752f0b6bc05c0a2b9e /.vim/options.vim
parent73bd0c0c7c4644502082e8f7f9fd6943f989cf99 (diff)
downloadvimrc-317950a3b6af900031db32b9e9e74723dce59e19.tar.gz
vimrc-317950a3b6af900031db32b9e9e74723dce59e19.zip
Updating folder configuration to use .config
Diffstat (limited to '.vim/options.vim')
-rw-r--r--.vim/options.vim84
1 files changed, 0 insertions, 84 deletions
diff --git a/.vim/options.vim b/.vim/options.vim
deleted file mode 100644
index 4548b68..0000000
--- a/.vim/options.vim
+++ /dev/null
@@ -1,84 +0,0 @@
-" Search options
-set incsearch " Search for partial typed match
-set ignorecase " Search not case sensitive
-set smartcase " Search for pattern if contains uppercase
-set hlsearch " Highlight all match search pattern
-
-" Graphics options
-syntax on " Show syntax color
-set background=dark " Set vim style as dark
-colorscheme onedark " Set colorscheme as onedark
-set number " Show line number
-set relativenumber " Show relative line number
-set cursorline " Select the current line
-set showmatch " Show matching brackets when overred
-set laststatus=2 " Fix for tabline
-set noshowmode " Disable the -- INSERTION -- default comment
-set so=7 " Set 7 lines to the cursor - when moving vertically
-
-" Mouse options
-set mouse=a " Allow the mouse to do all the editing
-set ruler " Show the cursor position on the tagline
-
-" Indent options
-set tabstop=4 " Size of a tab
-set shiftwidth=4 " Number of space for each indent
-set softtabstop=0 " Useless indent
-set noexpandtab " Vim will automatically use tab
-set smartindent " Do clever indenting
-set copyindent " Copy indent style of the file
-set preserveindent " Preserve indent style
-
-" Automatic options
-set autowrite " Automatically write the file on certain actions
-set autoread " Automatically read extern changes on the file
-
-" System
-if has('unnamedplus') " ALlow OS & vim clipboard sync
- set clipboard=unnamedplus
-endif
-set undofile " Save undo history
-set history =500 " Max line vim remember
-set updatetime=500 " Delay before vim write swap file, lower better for gitgutter
-
-" Autocomplete
-set completeopt=menu,menuone,popup,noselect,noinsert " Show a pop up for command completion
-set wildmenu " Turn on wildmenu
-
-" Avoid garbled characters in Chinese language windows OS
-let $LANG='en' " Setting lang as en
-set langmenu=en " Setting menu lang as en
-" This delete all the defined menu
-source $VIMRUNTIME/delmenu.vim
-source $VIMRUNTIME/menu.vim
-
-" Ignore compiled files
-set wildignore=*.o,*~,*.pyc
-if has("win16") || has("win32")
- set wildignore+=.git\*,.hg\*,.svn\*
-else
- set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store
-endif
-
-" Configure backspace so it acts as it should act
-set backspace=eol,start,indent
-set whichwrap+=<,>,h,l
-
-" Don't redraw while executing macros (good performance config)
-set lazyredraw
-
-" How many tenths of a second to blink when matching brackets
-set mat=2
-
-" Set utf8 as standard encoding and en_US as the standard language
-set encoding=utf8
-
-" Use Unix as the standard file type
-set ffs=unix,dos,mac
-
-" Turn backup off, since most stuff is in SVN, git etc. anyway...
-set nobackup
-set noswapfile
-
-" Timeout
-set timeoutlen=500
ArKa projects. All rights to me, and your next child right arm.