-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.vimrc
More file actions
75 lines (67 loc) · 1.56 KB
/
.vimrc
File metadata and controls
75 lines (67 loc) · 1.56 KB
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
" .vimrc File
"Maintained by: Sanket
"---------------------Setting Vundle and Plugins-----------------------"
set nocompatible
filetype off "Never understood why :P
"now setting the runtime path to include Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"let vundle manage vundle :P
Plugin 'VundleVim/Vundle.vim'
"All Plugins
Plugin 'scrooloose/nerdcommenter'
"Colorschemes
Plugin 'flazz/vim-colorschemes'
"Matching Brackets
Plugin 'auto-pairs-gentle'
"for status line
Plugin 'vim-airline/vim-airline'
"for igignment
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
"Autoclose HTML
Plugin 'alvan/vim-closetag'
call vundle#end()
filetype plugin indent on
"----------THIS IS WHERE I MAP KEYS---------"
map ; :
imap <c-o> <esc>o
nmap <c-o> o
inoremap jk <esc>
"--------LEADER PART--------"
let mapleader = ","
inoremap <leader>ww <esc>ZZ
nnoremap <leader>ww <esc>ZZ
nmap // <leader>c<space>
vmap // <leader>cs
imap <leader>a <c-n>
"---------DISPLAY------------"
syntax enable
set t_Co=256
set background=dark
colorscheme harlequin
set scrolloff=3 "Scroll when 3 lines from top or bottom
set cursorline
"--------STATUS LINE--------"
set laststatus=2
set statusline+=\ >>\ Filetype:
set statusline+=%y
set statusline=%f
set statusline+=%=
set statusline+=%l
set statusline+=/
set statusline+=%L
" set relative numbering in lines
set relativenumber
set number
"Enabling the Mouse
set mouse=a
" Show the (partial) command being typed
set showcmd
" Do the indentation
set tabstop=8
set expandtab
set shiftwidth=4
set autoindent
set smartindent
set cindent