-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
47 lines (37 loc) · 855 Bytes
/
vimrc
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
" pathogen to manage plugins
filetype off
call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
filetype plugin indent on
" general
set nocompatible
" wombats
colorscheme wombat
" file types
au BufNewFile,BufRead *.as set filetype=actionscript
" quicker window navigation
map <C-j> <C-W>j
map <C-k> <C-W>k
map <C-h> <C-W>h
map <C-l> <C-W>l
" shift-enter to exit insert mode
" inoremap <S-CR> <Esc>
" inoremap <CR> <Esc>
inoremap kj <Esc>
set cindent
set autoindent
" use hard tabs of width 3
set tabstop=3
set shiftwidth=3
" search settings
set ignorecase
set smartcase
set nohlsearch
set incsearch
" file management
set autoread
"au FocusLost * :wa " autosave
au FocusLost * silent! :wa " autosave
set viminfo='100,f1
" actionscript language
let tlist_actionscript_settings = 'actionscript;c:class;f:method;p:property;v:variable'