Skip to content

Commit

Permalink
Merge branch 'master' of github.com:prasincs/vim-config
Browse files Browse the repository at this point in the history
  • Loading branch information
prasincs committed Jun 26, 2012
2 parents 99d2a01 + f6781ff commit 5cad2ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 35 deletions.
3 changes: 2 additions & 1 deletion vim/.netrwhist
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =2
let g:netrw_dirhist_cnt =3
let g:netrw_dirhist_1='/Users/pgautam/github-projects/vim-config'
let g:netrw_dirhist_2='/Applications/MAMP/htdocs/scorekeeping'
let g:netrw_dirhist_3='/home/gautamp/NVIDIA_GPU_Computing_SDK/CUDALibraries/src/randomFog'
38 changes: 4 additions & 34 deletions vimrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
:let mapleader=","
syntax on

:map <M-Esc>[62~ <MouseDown>
:map! <M-Esc>[62~ <MouseDown>
Expand Down Expand Up @@ -81,8 +80,11 @@ call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
"Solarized color scheme
syntax enable
set background=dark
let g:solarized_termcolors=16
colorscheme solarized
hi Normal ctermbg=NONE
set background=dark


" NERDTree
map <F2> :NERDTreeToggle<CR>
Expand All @@ -107,7 +109,6 @@ let g:SuperTabDefaultCompletionType = "context"

set completeopt=menuone,longest,preview

syntax on

:map <M-Esc>[62~ <MouseDown>
:map! <M-Esc>[62~ <MouseDown>
Expand All @@ -117,39 +118,12 @@ syntax on
:map! <M-Esc>[64~ <S-MouseDown>
:map <M-Esc>[65~ <S-MouseUp>
:map! <M-Esc>[65~ <S-MouseUp>
filetype plugin on
"set tags=~/.vim/stdtags,tags,.tags,../tags

autocmd InsertLeave * if pumvisible() == 0|pclose|endif
set ai sw=4
" enable mouse wherever
set mouse=a
" " OPTIONAL: This enables automatic indentation as you type.
filetype indent on
" It's VIM, not VI
set nocompatible

" A tab produces a 2-space indentation
set softtabstop=2
set shiftwidth=2
set expandtab


" Enable filetype detection
filetype on

" Add and delete spaces in increments of `shiftwidth' for tabs
set smarttab

" Highlight syntax in programming languages
syntax on

" In Makefiles, don't expand tabs to spaces, since we need the actual tabs
autocmd FileType make set noexpandtab

" Useful macros for cleaning up code to conform to LLVM coding guidelines

" Delete trailing whitespace and tabs at the end of each line
command! DeleteTrailingWs :%s/\s\+$//

Expand Down Expand Up @@ -187,10 +161,6 @@ map <C-c> "+y
call pathogen#infect()
" call pathogen#runtime_append_all_bundles()
call pathogen#helptags()
"Solarized color scheme
syntax enable
set background=dark
colorscheme solarized

" NERDTree
map <F2> :NERDTreeToggle<CR>
Expand Down

0 comments on commit 5cad2ef

Please sign in to comment.