-
Notifications
You must be signed in to change notification settings - Fork 1
/
vimrc
62 lines (46 loc) · 1.28 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
" AJAlabs Custom Vim Settings
" Use Vim settings, rather then Vi settings
" This must be first, because it changes other options as a side effect
set nocompatible
" Set utf8 as standard encoding and en_US as the standard language
set encoding=utf8
set nobackup
set nowritebackup
set showcmd " display incomplete commands
set incsearch " do incremental searching
" keep 100 lines of command line history
set history=100
" Turn Syntax Highlighting on
syntax on
" Switch wrap off for everything
set nowrap
" Remove end of file newlines
set noeol
set binary
" Set the Default Color Scheme/Theme
colorscheme ajalabs
" Use spaces instead of tabs
set expandtab
set smarttab
" Tab == 2 spaces
set shiftwidth=2
set tabstop=2
set softtabstop=2
" Always show current position
set ruler
" Enable mouse use in all modes
set mouse=v
" Ignore case when searching unless mixed case expressions
set ignorecase
set smartcase
" Maps autocomplete to tab
imap <Tab> <C-N>
" Tab completion options
" (only complete to the longest unambiguous match, and show a menu)
set completeopt=longest,menu
set wildmode=list:longest,list:full
set complete=.,t
" Manage 'runtimepath' with pathogen.vim. Installs plugins and runtime files
" https://github.com/tpope/vim-pathogen
execute pathogen#infect()
filetype plugin indent on