summaryrefslogtreecommitdiffstats
path: root/.vimrc
blob: 39c8780eb5aa053c97f234300f85bb1b08617b0d (plain)
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
"set tabstop=4
"set shiftwidth=4
"set expandtab
set number
set incsearch

set mouse=a
" see https://bugzilla.redhat.com/show_bug.cgi?id=952758
"set ttym=sgr
set ttym=xterm2  " make buffer mouse dragging work also in tmux

"set autoindent
"set vb
highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE

noremap <C-left> :bprev<CR>
noremap <C-right> :bnext<CR> 


execute pathogen#infect()
execute pathogen#infect('~/.vim/vim4projects/{}')
":Helptags

syntax on
filetype plugin indent on

" NERDTree
let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']

" powerline
set laststatus=2  " Always show the statusline
set noshowmode  " Remove -- INSERT -- etc. redundancy
set t_Co=256  " Explicitly tell vim that the terminal supports 256 colors

" tagbar
nmap <F8> :TagbarToggle<CR>
let NERDTreeIgnore = ['\.pyc$', '\.tar\.gz$']

"
" others
"

" http://vim.wikia.com/wiki/Always_start_on_first_line_of_git_commit_message
au FileType gitcommit au! BufEnter COMMIT_EDITMSG call setpos('.', [0, 1, 1, 0])