-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvimrc
More file actions
64 lines (55 loc) · 1.13 KB
/
vimrc
File metadata and controls
64 lines (55 loc) · 1.13 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
set all&
runtime bundle/vim-pathogen/autoload/pathogen.vim
call pathogen#infect()
set background=dark
colorscheme solarized
filetype plugin indent on
let g:SuperTabDefaultCompletionType = "context"
let g:SuperTabLongestEnhanced = 1
let g:syntastic_check_on_open = 1
let mapleader = ","
source $VIMRUNTIME/mswin.vim
behave mswin
nnoremap <C-h> <C-w>h
nnoremap <C-j> <C-w>j
nnoremap <C-k> <C-w>k
nnoremap <C-l> <C-w>l
nnoremap <Leader>h <C-w><
nnoremap <Leader>j <C-w>-
nnoremap <Leader>k <C-w>+
nnoremap <Leader>l <C-w>>
nnoremap <Leader>s :%s/\s\+$//g<CR>
set autoindent
set backspace=eol,indent,start
set cc=80
set cindent
set completeopt=longest,menu,menuone,preview
set copyindent
set cursorline
set encoding=utf-8
set expandtab
set guioptions-=T
set hlsearch
set ignorecase
set incsearch
set laststatus=2
set list
set listchars=tab:▸\ ,eol:¬
set nomodeline
set number
set ruler
set scrolloff=4
set shiftround
set shiftwidth=4
set showmatch
set smartcase
set smarttab
set softtabstop=4
set tabstop=4
set tags=./tags;/
set textwidth=79
set visualbell
set wildmenu
set wildmode=list:longest
au BufWritePost *.py,*.js silent! !ctags -R &
syntax on