Skip to content

Commit

Permalink
using vundle in vim, disable mouse, add dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
ptantiku committed Nov 6, 2013
1 parent b983a51 commit 8795f72
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions vim/.vimrc
Expand Up @@ -15,6 +15,17 @@ Bundle 'tpope/vim-endwise'
Bundle 'tpope/vim-fugitive'
Bundle 'tpope/vim-rails'
Bundle 'vim-ruby/vim-ruby'
Bundle 'tpope/vim-surround'

filetype plugin indent on " required by vundle
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..

" Set color terminal
set t_Co=256
Expand All @@ -27,10 +38,11 @@ endif
" allow backspacing over everything in insert mode
set backspace=indent,eol,start

set history=50 " keep 50 lines of command line history
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching
set incsearch " do incremental searching
set number " set row number on

" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
" let &guioptions = substitute(&guioptions, "t", "", "g")
Expand All @@ -43,9 +55,9 @@ map Q gq
inoremap <C-U> <C-G>u<C-U>
" In many terminal emulators the mouse works just fine, thus enable it.
if has('mouse')
set mouse=a
endif
" if has('mouse')
" set mouse=a
" endif

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
Expand Down Expand Up @@ -171,3 +183,6 @@ let g:airline_theme='dark'
map <C-n> :NERDTreeToggle<CR>
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif

" Dictionary
set dictionary=/usr/share/dict/america-english

0 comments on commit 8795f72

Please sign in to comment.