-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
72 lines (65 loc) · 1.36 KB
/
.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
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
syntax on
filetype indent plugin on
scriptencoding utf-8
set encoding=utf-8
set nocompatible
set hidden
set wildmenu
set showcmd
set hlsearch
set ignorecase
set smartcase
set backspace=indent,eol,start
set autoindent
set nostartofline
set ruler
set laststatus=2
set visualbell
set mouse=a
set cmdheight=2
set number
set notimeout ttimeout ttimeoutlen=200
set pastetoggle=<F11>
set confirm
set shiftwidth=2
set softtabstop=2
set expandtab
set rtp+=~/.vim/bundle/Vundle.vim
set viminfo='10,\"100,:20,%,n~/.viminfo
set clipboard=unnamed
set listchars=tab:»·,trail:·
set list
set background=dark
hi SpecialKey ctermbg=red ctermfg=red guibg=red guifg=red
call vundle#rc()
colorscheme obsidian
map Y y$
map <Space> :tabn<CR>
map <Tab> :tabn<CR>
map <CR> :nohlsearch<CR>
map N :tabnew<CR>
map . :tabc<CR>
map <C-t> :NERDTreeToggle ~/Documents/nemesis/<CR>
map <C-p> :w<CR>:!perl %<CR>
map <C-r> :w<CR>:!ruby %<CR>
nnoremap <C-L> :nohl<CR><C-L>
function! ResCur()
if line("'\"") <= line("$")
normal! g`"
return 1
endif
endfunction
augroup resCur
autocmd!
autocmd BufWinEnter * call ResCur()
augroup END
Bundle 'gmarik/vundle'
Bundle 'rizzatti/funcoo.vim'
Bundle 'rizzatti/dash.vim'
Bundle 'vim-perl/vim-perl'
Bundle 'flazz/vim-colorschemes'
Bundle 'scrooloose/nerdtree'
Plugin 'bling/vim-airline'
set termencoding=utf-8
set statusline=2
set term=xterm-256color