-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
80 lines (69 loc) · 1.84 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
let skp_defaults_vim=1
execute pathogen#infect()
syntax enable
let g:solarized_termcolors=16
"let g:solarized_degrade=0
let g:solarized_italic=0
set background=dark
colorscheme solarized
"set termguicolors
set ruler
set number
set wildmenu
set shiftwidth=2
set showcmd
set showmode
set hlsearch
set ignorecase
set incsearch
set nowrapscan
set ttimeout
set ttimeoutlen=0
set display=truncate
set mouse=a
set scrolloff=0
set sidescroll=1
set nowrap
set backup
set backupext=.bak
set backupdir=/home/mohammadefhamisisi/Work/backup_files/
set writebackup
set statusline=2
set splitbelow
set splitright
" start of mapping
map \p bi(<Esc>ea)<Esc>
map \c bi{<Esc>ea}<Esc>
map \s bi[<Esc>ea]<Esc>
" end of mapping
" start of packages section
packadd! matchit
" end of packages section
" start of autocommands
autocmd FileType text setlocal textwidth=78
" ends of autocommands
" start of plugins section
filetype plugin indent on
" end of plugins section
" start of highlighting section
"highlight Comment guifg=green
"highlight Search guifg=black guibg=white
"highlight Visual guifg=black
"highlight StatusLine guifg=green
"highlight VertSplit guifg=green guibg=black
"highlight folded guifg=black guibg=#F0A500
"highlight FoldColumn guifg=white guibg=#32502E
"highlight MoreMsg guifg=black guibg=white
"highlight WarningMsg guifg=black guibg=white
"highlight ModeMsg guifg=black guibg=white
"highlight ErrorMsg guifg=black guibg=white
"highlight MatchParen guifg=black guibg=white
" end of highlighting section
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Vim plugin manager
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin'
"call plug#begin('~/.vim/plugged')
"call plug#end()