Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleanup

  • Loading branch information...
commit 2d89e1aec5259d0bbed967b30d34f5d856606556 1 parent 84f1653
@tuxcanfly authored
View
18 .gitmodules
@@ -25,9 +25,6 @@
[submodule "bundle/nerdtree"]
path = bundle/nerdtree
url = https://github.com/vim-scripts/The-NERD-tree.git
-[submodule "bundle/tagbar"]
- path = bundle/tagbar
- url = https://github.com/majutsushi/tagbar.git
[submodule "bundle/whitespace"]
path = bundle/whitespace
url = https://github.com/vim-scripts/trailing-whitespace.git
@@ -43,9 +40,6 @@
[submodule "bundle/html5"]
path = bundle/html5
url = https://github.com/othree/html5.vim.git
-[submodule "bundle/screen"]
- path = bundle/screen
- url = https://github.com/ervandew/screen.git
[submodule "bundle/indent-object"]
path = bundle/indent-object
url = https://github.com/michaeljsmith/vim-indent-object.git
@@ -55,9 +49,6 @@
[submodule "bundle/ack"]
path = bundle/ack
url = https://github.com/mileszs/ack.vim.git
-[submodule "bundle/gundo"]
- path = bundle/gundo
- url = https://github.com/sjl/gundo.vim.git
[submodule "bundle/matchtag"]
path = bundle/matchtag
url = https://github.com/gregsexton/MatchTag.git
@@ -67,12 +58,9 @@
[submodule "bundle/virtualenv"]
path = bundle/virtualenv
url = https://github.com/jmcantrell/vim-virtualenv.git
-[submodule "bundle/inline_edit"]
- path = bundle/inline_edit
- url = https://github.com/AndrewRadev/inline_edit.vim.git
[submodule "bundle/powerline"]
path = bundle/powerline
url = https://github.com/Lokaltog/vim-powerline.git
-[submodule "bundle/easymotion"]
- path = bundle/easymotion
- url = https://github.com/Lokaltog/vim-easymotion.git
+[submodule "bundle/neocomplete"]
+ path = bundle/neocomplete
+ url = https://github.com/Shougo/neocomplcache.git
View
59 .vimrc
@@ -33,7 +33,7 @@ set t_Co =256
set wildignore =*.py[co]
set wildmode =list:longest,list:full
set clipboard =unnamedplus
-set gfn =Consolas\ 11
+set gfn =Monaco\ 10
set background =dark
set tags +=~/.tags/django13.tags
set path +=templates
@@ -41,19 +41,20 @@ set includeexpr =substitute(v:fname,'\\.','/','g')
set suffixesadd =.py
set statusline =[%n]%<%f\ %h%m%r%{fugitive#statusline()}%=%-14.(%l,%c%V%)\ %P
set laststatus =2
+set completeopt =
-let NERDTreeIgnore =['\.pyc']
-let g:closetag_default_xml =1
-let g:sparkupNextMapping ='<c-h>'
-let g:pep8_map ='<F6>'
-let g:pyflakes_use_quickfix =0
-let g:ackprg ="ack-grep -H --nocolor --nogroup --column"
-let g:surround_{char2nr("r")} ="_(u\r)"
-let g:virtualenv_directory =".virtualenvs2.7/"
-let g:Powerline_symbols ="fancy"
-let g:UltiSnipsSnippetDirectories =["UltiSnips", "snippets"]
-
+let NERDTreeIgnore =['\.pyc']
+let g:closetag_default_xml =1
+let g:sparkupNextMapping ='<c-h>'
+let g:pep8_map ='<F6>'
+let g:pyflakes_use_quickfix =0
+let g:ackprg ="ack-grep -H --nocolor --nogroup --column"
+let g:surround_{char2nr("r")} ="_(u\r)"
+let g:virtualenv_directory ="/home/tuxcanfly/.virtualenvs2.7/"
+let g:Powerline_symbols ="fancy"
+let g:UltiSnipsSnippetDirectories =["UltiSnips", "snippets"]
+let g:neocomplcache_enable_at_startup =1
colorscheme hemisu
function! s:Gentags()
@@ -76,39 +77,39 @@ map <silent><leader>d :Gdiff<CR>
" insert newline but dont enter insert mode
map <silent><leader><Enter> o<Esc>k
" tabbing
-map <silent>K :tabnext<CR>
-map <silent>J :tabprevious<CR>
-map <silent><A-x> :tabclose<CR>
+map <silent>K :tabnext<CR>
+map <silent>J :tabprevious<CR>
+map <silent><A-x> :tabclose<CR>
" new tab
map <Leader>t :tabnew<CR>
" Project search
-map <leader>g :Ack <cword>
+map <leader>g :Ack <cword>
+map <leader>gp :Ack --py<cword>
+map <leader>gh :Ack --html<cword>
+map <leader>gj :Ack --js<cword>
+map <leader>gc :Ack --css<cword>
" remove trailing whitespace
map <leader>w :FixWhitespace<CR>
-nmap <F5> :Gentags<CR>
+nmap <F5> :Gentags<CR>
nmap <leader>fp :Git push<CR>
nmap <leader>fm :Git pull<CR>
-"toggle TagBar
-nnoremap <silent> <F3> :TagbarToggle<CR>
" clear search highlight
nnoremap <leader><space> :noh<CR>
" shortcuts
nnoremap ; :
" open gf in new tab
nnoremap gf <C-W>gf
-" gundo
-nnoremap <F7> :GundoToggle<CR>
" clear ^M messup
noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
" prevent cursor jumping
-noremap <S-Up> <Up>
-noremap <S-Down> <Down>
+noremap <S-Up> <Up>
+noremap <S-Down> <Down>
" move between splits
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
@@ -118,15 +119,3 @@ noremap <C-l> <C-w>l
" allow the . to execute once for each line of a visual selection
vnoremap . :normal .<CR>
-
-
-" screen
-nmap <F11> :ScreenShell<CR>
-nmap <F12> :ScreenQuit<CR>
-
-
-vmap <F7> :ScreenSend<CR>
-
-
-" sudo make me a sandwich
-cmap w!! %!sudo tee > /dev/null %
1  bundle/easymotion
@@ -1 +0,0 @@
-Subproject commit 667a668e114e9ec0e5d4cbcb0962d835b23614c4
1  bundle/gundo
@@ -1 +0,0 @@
-Subproject commit 12b6f67aeb892519385529b2b5cdda55cc428d9d
1  bundle/inline_edit
@@ -1 +0,0 @@
-Subproject commit 15c884536d884f59274711498d4f28737ddcd748
1  bundle/neocomplete
@@ -0,0 +1 @@
+Subproject commit 0f8c31b0dded4b955930fbf22c61d1f1fd9fb79c
1  bundle/screen
@@ -1 +0,0 @@
-Subproject commit 2835acbf720496fd72be43005a88c5f2c0188026
1  bundle/tagbar
@@ -1 +0,0 @@
-Subproject commit 3c075654d424c6e3c20521bd4567b517a2410593
Please sign in to comment.
Something went wrong with that request. Please try again.