-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
125 lines (93 loc) · 2.23 KB
/
Copy path.vimrc
File metadata and controls
125 lines (93 loc) · 2.23 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
" Vundle
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/vundle'
" Personal plugins
Plugin 'ervandew/supertab'
Plugin 'scrooloose/nerdcommenter'
Plugin 'scrooloose/nerdtree'
Plugin 'altercation/vim-colors-solarized'
Plugin 'kien/ctrlp.vim'
Plugin 'Lokaltog/vim-easymotion'
"Plugin 'xolox/vim-session'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'scrooloose/syntastic'
Plugin 'tpope/vim-fugitive'
Plugin 'vim-signature'
Plugin 'Lokaltog/vim-powerline'
Plugin 'benmills/vimux'
Plugin 'c9s/bufexplorer'
"Plugin 'lukaszb/vim-web-indent'
Plugin 'majutsushi/tagbar'
"Plugin 'joonty/vdebug'
call vundle#end()
filetype plugin indent on
nmap <F8> :TagbarToggle<CR>
" YCM
let g:ycm_key_list_select_completion = ['<TAB>', '<Down>']
let g:ycm_confirm_extra_conf = 0
"allow copy to clipboard
set clipboard=unnamed
"allow for hidden buffers
set hidden
"mouse
set mouse=a
set ttymouse=xterm2
syntax on
"show cursor line
set cursorline
"sanity
set backspace=indent,eol,start
set tabstop=4
set softtabstop=4
set shiftwidth=4
set smarttab
set expandtab
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
"window movement
noremap <c-j> <c-w>j
noremap <c-k> <c-w>k
noremap <c-l> <c-w>l
noremap <c-h> <c-w>h
"file detection
filetype indent plugin on
color inkpot
"search options
set hlsearch "highlights search
set incsearch "searches as you type
set ignorecase smartcase "by default ignore case
nnoremap <silent> <Space> :nohlsearch<Bar>:echo<CR>
"numbers
set number
set ruler
"status
set laststatus=2
"NERDCommenter
let g:NERDSpaceDelims = 1
"NERDTree
nnoremap <leader>n :NERDTreeToggle<CR>
let g:NERDSpaceDelims = 1
let TList_WinWidth=35
"supertab
au FileType python set omnifunc=pythoncomplete#Complete
let g:SuperTabDefaultCompletionType = "context"
let g:SuperTabLongestHighlight = 1
let g:SuperTabClosePreviewOnPopupClose = 1
set completeopt=menuone,longest,preview
" highlight trailing whitespace
match Todo /\s\+$/
"conque
let g:ConqueTerm_StartMessages = 0
let g:ctrlp_switch_buffer = 0
set wildmode=longest:full
set wildmenu
"parenthesis
highlight MatchParen cterm=bold ctermbg=red ctermfg=white
"color
set t_Co=256
"sessions
let g:session_autosave = 1
let g:session_autoload = 0