-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
73 lines (57 loc) · 1.35 KB
/
vimrc
File metadata and controls
73 lines (57 loc) · 1.35 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
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'deft-code/a.vim'
Plugin 'godlygeek/csapprox'
Plugin 'majutsushi/tagbar'
Plugin 'scrooloose/nerdcommenter'
Plugin 'scrooloose/nerdtree'
Plugin 'https://github.com/tomasr/molokai'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-sensible'
Plugin 'vim-scripts/transpose-words'
call vundle#end()
syntax on
filetype plugin indent on
colorscheme molokai
set background=dark
set guioptions=m
let c_no_curly_error=1
let g:CSApprox_konsole=1
let NERDTreeChDirMode=2
let NERDTreeShowBookmarks=1
"let Tlist_Show_One_File=1
"let Tlist_Use_Right_Window = 1
"let Tlist_WinWidth = 40
set directory=$HOME/.vim/swapfiles//
set relativenumber
set t_Co=256
set nowrap
set tabstop=2
set shiftwidth=2
set softtabstop=2
set backspace=start,indent,eol
set autowrite
set vb t_vb=
set expandtab
set encoding=utf-8
set wildmode=longest,list,full
set wildmenu
map <F4> :cnext<CR>
map <S-F4> :cprevious<CR>
map <F5> :make<Up><CR>
map <F6> :set wrap!<CR>
map <S-F6> :set list!<CR>
map <F7> :bnext<CR>
map <S-F7> :bprevious<CR>
imap <F7> <C-o>:bnext<CR>
imap <S-F7> <C-o>:bprevious<CR>
map <Leader>b :b#<CR>
map <Leader>a :A<CR>
map <Leader>q :NERDTreeClose<CR>
map <Leader>f :NERDTreeFind<CR>
noremap <tab>
autocmd BufEnter /usr/include/c++/* setf cpp