Skip to content

Commit

Permalink
Random updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdeshev committed May 12, 2015
1 parent c72e403 commit b2d0fd4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
1 change: 1 addition & 0 deletions filetypes.vim
Expand Up @@ -19,6 +19,7 @@ au BufNewFile,BufRead *.fsx setf ocaml
au BufNewFile,BufRead *.ps1 setf ps1
au BufRead,BufNewFile *.scala setf scala
au BufRead,BufNewFile *.sbt setf scala
au BufRead,BufNewFile *supervisor*.conf setf dosini

" For all text files set 'textwidth' to 78 characters.
autocmd FileType text setlocal textwidth=78
Expand Down
6 changes: 0 additions & 6 deletions shortcuts.vim
@@ -1,11 +1,5 @@
"next/prev
map <F4> :cnext<CR>
map <S-F4> :cprev<CR>
"buffers
map <C-F4> :bd<CR>
map <F6> :bn<CR>
map <S-F6> :bp<CR>
map <F5> :SyntasticCheck<CR>
nmap <silent> <unique> <Leader>s :Errors<CR>
map <S-F5> :!autopep8 --max-line-length=120 -i %<CR>
Expand Down
13 changes: 8 additions & 5 deletions vimrc
Expand Up @@ -34,7 +34,7 @@ set backspace=indent,eol,start
set wildmenu

set wildignorecase "case-insensitive filename completion
set wildignore+=*.so,*.swp,*.bak,*.pyc,*.pyo,*.min.*js,*.min.*css,*.zip
set wildignore+=tags,*.so,*.swp,*.bak,*.pyc,*.pyo,*.min.*js,*.min.*css,*.zip
let NERDTreeIgnore=['\.swp$', '\.py[co]$']

" Don't blink at me!
Expand Down Expand Up @@ -91,11 +91,8 @@ source ~/.vim/python.vim
set nocompatible

set t_Co=256
"colorscheme evening

let g:solarized_termcolors = 256
set background=dark
colorscheme solarized
colorscheme evening

"autosave buffers
set autowrite
Expand Down Expand Up @@ -148,6 +145,12 @@ let g:tagbar_compact = 1
let g:tagbar_autoshowtag = 1

let g:ctrlp_working_path_mode = ''
" use ag for file searches if there (faster)
if executable('ag')
let g:ctrlp_user_command = 'ag %s -l --nocolor -g ""'
endif

let g:typescript_indent_disable = 1

try
source .vimrc
Expand Down

0 comments on commit b2d0fd4

Please sign in to comment.